Signed-off-by: Daniel Golle <daniel@makrotopia.org>
define Build/Configure
endef
+PKG_DO_VARS:=
+
ifneq ($(CONFIG_KERNEL_SECCOMP_FILTER),y)
-PKG_DO_VARS:=Seccomp_NO=1
+PKG_DO_VARS+= Seccomp_NO=1
+endif
+
+ifneq ($(CONFIG_USE_UCLIBC),)
+PKG_DO_VARS+= UCLIBC=1
endif
define Build/Compile
LDFLAGS="$(TARGET_LDFLAGS)" \
SYSTEM="linux" \
TARGET_ARCH="$(CONFIG_ARCH)" \
- UCLIBC=1 \
SSP_SUPPORT="$(CONFIG_SSP_SUPPORT)" \
$(PKG_DO_VARS) \
$(PKG_BUILD_DIR)/do