X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/dda0649ef37ceb08df09c0dbc15f27cbdc8285d5..483a02ae41cf8a27a24d447bc17286e0b85c6843:/include/package-bin.mk?ds=sidebyside diff --git a/include/package-bin.mk b/include/package-bin.mk index 6ee7aed62..96c1aeffc 100644 --- a/include/package-bin.mk +++ b/include/package-bin.mk @@ -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)