X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fpackage-bin.mk;h=e5224517f8ebbb4b5c24b6a09c719f6abf08a514;hb=5c20a4fec923c33175e737e2f956cb748ed5e1d5;hp=6ee7aed6217087df154eff60a318fe36c2688512;hpb=97b61354626866dd2483c2a283ab9b2bc087ac74;p=librecmc%2Flibrecmc.git diff --git a/include/package-bin.mk b/include/package-bin.mk index 6ee7aed621..e5224517f8 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)