X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=include%2Fpackage-bin.mk;h=c6cb9caf41dfdc220178ffc4b9694aaff270ff3b;hb=5e87565b70e913da263af2034d52d9256ab78423;hp=6ee7aed6217087df154eff60a318fe36c2688512;hpb=dda0649ef37ceb08df09c0dbc15f27cbdc8285d5;p=openwrt.git diff --git a/include/package-bin.mk b/include/package-bin.mk index 6ee7aed621..c6cb9caf41 100644 --- a/include/package-bin.mk +++ b/include/package-bin.mk @@ -1,5 +1,5 @@ # -# Copyright (C) 2007 OpenWrt.org +# Copyright (C) 2007-2014 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -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),) + ifneq ($(CONFIG_PACKAGE_$(1))$(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)