build: include variant name in STAMP_INSTALLED
authorFelix Fietkau <nbd@openwrt.org>
Fri, 3 Apr 2015 18:33:25 +0000 (18:33 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 3 Apr 2015 18:33:25 +0000 (18:33 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45253

include/package.mk

index 5ad0e916591b69b8a1165fb88bf924f3ae0748ab..fb7362300406bf52c1daecde764f33614b8041ea 100644 (file)
@@ -101,7 +101,7 @@ endif
 STAMP_CONFIGURED=$(PKG_BUILD_DIR)/.configured$(if $(DUMP),,_$(call confvar,$(PKG_CONFIG_DEPENDS)))
 STAMP_CONFIGURED_WILDCARD=$(patsubst %_$(call confvar,$(PKG_CONFIG_DEPENDS)),%_*,$(STAMP_CONFIGURED))
 STAMP_BUILT:=$(PKG_BUILD_DIR)/.built
-STAMP_INSTALLED:=$(STAGING_DIR)/stamp/.$(PKG_NAME)_installed
+STAMP_INSTALLED:=$(STAGING_DIR)/stamp/.$(PKG_NAME)$(if $(BUILD_VARIANT),.$(BUILD_VARIANT),)_installed
 
 STAGING_FILES_LIST:=$(PKG_NAME)$(if $(BUILD_VARIANT),.$(BUILD_VARIANT),).list
 ifneq ($(if $(CONFIG_SRC_TREE_OVERRIDE),$(wildcard ./git-src)),)