endif
ifneq ($(MAKECMDGOALS),prereq)
- $$(info Rebuilding $$(_INFO))
+ ifneq ($$(_INFO),)
+ $$(info Rebuilding $$(_INFO))
+ endif
endif
endif
endif
ifneq ($(CONFIG_PACKAGE_$(1)),)
compile-targets: $$(IPKG_$(1))
+ else
+ compile-targets: $(1)-disabled
+ $(1)-disabled:
+ @echo "WARNING: skipping $(1) -- package not selected"
endif
endif
define Build/Configure/Default
@(cd $(PKG_BUILD_DIR)/$(3); \
- [ -x configure ] && \
+ [ -x configure ] && { \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
--infodir=/usr/info \
$(DISABLE_NLS) \
$(1); \
- true; \
+ } || true; \
)
endef