add rebuild rule
TG-06 #closed
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user