X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=include%2Fpackage-bin.mk;h=dcb3a8acba6298491affe9ccd52a83f3750824fb;hp=6ee7aed6217087df154eff60a318fe36c2688512;hb=b82c3dff26130a2b5fed86bbfee8e7913ccc3d40;hpb=dda0649ef37ceb08df09c0dbc15f27cbdc8285d5 diff --git a/include/package-bin.mk b/include/package-bin.mk index 6ee7aed621..dcb3a8acba 100644 --- a/include/package-bin.mk +++ b/include/package-bin.mk @@ -7,15 +7,17 @@ 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) else compile: $(1)-disabled $(1)-disabled: - @echo "WARNING: skipping $(1) -- package not selected" + @echo "WARNING: skipping $(1) -- package not selected" >&2 endif endif + endif install-bin-$(1): $(STAMP_BUILT) rm -rf $(BIN_DIR)/$(1)