mirror of https://github.com/hak5/openwrt-owl.git
only build bin packages for the selected build variants (same behaviour as with ipkg builds)
SVN-Revision: 21455owl
parent
48e4708a34
commit
73b78d4a75
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
ifeq ($(DUMP),)
|
ifeq ($(DUMP),)
|
||||||
define BuildTarget/bin
|
define BuildTarget/bin
|
||||||
|
ifeq ($(if $(VARIANT),$(BUILD_VARIANT)),$(VARIANT))
|
||||||
ifdef Package/$(1)/install
|
ifdef Package/$(1)/install
|
||||||
ifneq ($(CONFIG_PACKAGE_$(1))$(SDK)$(DEVELOPER),)
|
ifneq ($(CONFIG_PACKAGE_$(1))$(SDK)$(DEVELOPER),)
|
||||||
compile: install-bin-$(1)
|
compile: install-bin-$(1)
|
||||||
|
@ -16,6 +17,7 @@ ifeq ($(DUMP),)
|
||||||
@echo "WARNING: skipping $(1) -- package not selected"
|
@echo "WARNING: skipping $(1) -- package not selected"
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
install-bin-$(1): $(STAMP_BUILT)
|
install-bin-$(1): $(STAMP_BUILT)
|
||||||
rm -rf $(BIN_DIR)/$(1)
|
rm -rf $(BIN_DIR)/$(1)
|
||||||
|
|
Loading…
Reference in New Issue