add rebuild rule

TG-06 #closed
This commit is contained in:
jbnadal
2017-03-29 15:47:35 +02:00
parent 35d06fac40
commit 2f049e0ce4
2 changed files with 6 additions and 1 deletions

View File

@@ -543,11 +543,14 @@ $(BUILD_DIR)/buildroot-config/auto.conf: $(BR2_CONFIG)
prepare: $(BUILD_DIR)/buildroot-config/auto.conf
rebuild: $(foreach pkg,$(PACKAGES),$(pkg)-clean-for-rebuild) world
world: target-post-image
.PHONY: all world toolchain dirs clean distclean source outputmakefile \
legal-info legal-info-prepare legal-info-clean printvars help \
list-defconfigs target-finalize target-post-image source-check
list-defconfigs target-finalize target-post-image source-check \
rebuild
# Populating the staging with the base directories is handled by the skeleton package
$(STAGING_DIR):

View File

@@ -765,6 +765,8 @@ $(1)-rebuild: $(1)-clean-for-rebuild $(1)
$(1)-clean-for-reconfigure: $(1)-clean-for-rebuild
rm -f $$($(2)_TARGET_CONFIGURE)
$(1)-rebuild-depends: $$(foreach p,$$($(2)_FINAL_DEPENDENCIES),$$(p)-clean-for-rebuild) $(1)-rebuild
$(1)-reconfigure: $(1)-clean-for-reconfigure $(1)
# define the PKG variable for all targets, containing the