mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-26 20:10:35 -09:00
packages: remove non-IPv6 dependencies and tweaks
Now that IPv6 is mandatory remove package dependencies and conditionals for it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
55bab4f619
commit
79ce08bbdc
@@ -16,11 +16,6 @@ LSOF_LICENSE_FILES = dialects/linux/dproto.h
|
||||
# Make certain full-blown lsof gets built after the busybox version (1.20+)
|
||||
LSOF_DEPENDENCIES += $(if $(BR2_PACKAGE_BUSYBOX),busybox)
|
||||
|
||||
BR2_LSOF_CFLAGS =
|
||||
ifeq ($(BR2_INET_IPV6),)
|
||||
BR2_LSOF_CFLAGS += -UHASIPv6
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_USE_WCHAR),)
|
||||
define LSOF_CONFIGURE_WCHAR_FIXUPS
|
||||
$(SED) 's,^#define[[:space:]]*HASWIDECHAR.*,#undef HASWIDECHAR,' \
|
||||
@@ -44,7 +39,7 @@ endef
|
||||
|
||||
define LSOF_CONFIGURE_CMDS
|
||||
(cd $(@D) ; \
|
||||
echo n | $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS) $(BR2_LSOF_CFLAGS)" \
|
||||
echo n | $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS)" \
|
||||
LSOF_INCLUDE="$(STAGING_DIR)/usr/include" LSOF_CFLAGS_OVERRIDE=1 \
|
||||
LINUX_CLIB=-DGLIBCV=2 ./Configure linux)
|
||||
$(LSOF_CONFIGURE_WCHAR_FIXUPS)
|
||||
@@ -52,7 +47,7 @@ define LSOF_CONFIGURE_CMDS
|
||||
endef
|
||||
|
||||
define LSOF_BUILD_CMDS
|
||||
$(MAKE) $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS) $(BR2_LSOF_CFLAGS)" -C $(@D)
|
||||
$(MAKE) $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS)" -C $(@D)
|
||||
endef
|
||||
|
||||
define LSOF_INSTALL_TARGET_CMDS
|
||||
|
||||
Reference in New Issue
Block a user