1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-06-28 15:01:05 +03:00

only build bin packages for the selected build variants (same behaviour as with ipkg builds)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21455 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2010-05-15 15:57:00 +00:00
parent 34ad7f6499
commit 6dd6520cc8

View File

@ -7,6 +7,7 @@
ifeq ($(DUMP),)
define BuildTarget/bin
ifeq ($(if $(VARIANT),$(BUILD_VARIANT)),$(VARIANT))
ifdef Package/$(1)/install
ifneq ($(CONFIG_PACKAGE_$(1))$(SDK)$(DEVELOPER),)
compile: install-bin-$(1)
@ -16,6 +17,7 @@ ifeq ($(DUMP),)
@echo "WARNING: skipping $(1) -- package not selected"
endif
endif
endif
install-bin-$(1): $(STAMP_BUILT)
rm -rf $(BIN_DIR)/$(1)