else
STAMP_PREPARED=$(PKG_BUILD_DIR)/.prepared$(if $(QUILT)$(DUMP),,_$(shell $(call find_md5,${CURDIR} $(PKG_FILE_DEPENDS),))_$(call confvar,CONFIG_AUTOREMOVE $(PKG_PREPARED_DEPENDS)))
endif
+STAMP_SELECTED_PACKAGES=$(PKG_BUILD_DIR)/.selected_packages$(if $(DUMP),,_$(words $(BUILD_PACKAGES))_$(call confvar,$(patsubst %,CONFIG_PACKAGE_%,$(BUILD_PACKAGES))))
+STAMP_SELECTED_PACKAGES_WILDCARD=$(PKG_BUILD_DIR)/.selected_packages_$(words $(BUILD_PACKAGES))_*
STAMP_CONFIGURED=$(PKG_BUILD_DIR)/.configured$(if $(DUMP),,_$(call confvar,$(PKG_CONFIG_DEPENDS)))
STAMP_CONFIGURED_WILDCARD=$(PKG_BUILD_DIR)/.configured_*
STAMP_BUILT:=$(PKG_BUILD_DIR)/.built
BUILD_PACKAGES += $(1)
$(STAMP_PREPARED): $$(if $(QUILT)$(DUMP),,$(call find_library_dependencies,$(DEPENDS)))
+ $(STAMP_CONFIGURED): $$(STAMP_SELECTED_PACKAGES)
+ $$(STAMP_SELECTED_PACKAGES):
+ rm -f $$(STAMP_SELECTED_PACKAGES_WILDCARD)
+ touch $$@
$(foreach FIELD, TITLE CATEGORY SECTION VERSION,
ifeq ($($(FIELD)),)