[Buildroot] [PATCH v7 2/8] Makefile: move definition of TARGET_DIR inside .config condition

Peter Korsgaard peter at korsgaard.com
Thu Jan 17 21:35:26 UTC 2019


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at bootlin.com> writes:

 > In a follow-up commit introducing per-package directory support, we
 > will need to define TARGET_DIR in a different way depending on the
 > value of a Config.in option. To make this possible, the definition of
 > TARGET_DIR should be moved inside the BR2_HAVE_DOT_CONFIG condition.

 > We have verified that $(TARGET_DIR) is only used within the
 > BR2_HAVE_DOT_CONFIG condition. Outside of this condition, such as in
 > the "clean" target, $(BASE_TARGET_DIR) is used.

 > Suggested-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list