From 0688647f2f69d1bee1ecc76338190e6a12209da5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 26 Aug 2015 09:53:25 +0200 Subject: Add dependency to .conf.mk on .target in Makefile If .target file is changed (=target changed), makefile configuration should been regenerated. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d1bba9a..54c4236 100644 --- a/Makefile +++ b/Makefile @@ -99,9 +99,12 @@ distclean_buildroot: ####################################### -.conf.mk: conf.py +.conf.mk: conf.py .target scripts/confmk.py +.target: + $(error Please select target by writing it to .target file) + parse_kconfig: @if [ `$(MAKE) -C scripts/parse_kconfig/ -q; echo $$?` != "0" ]; then \ $(MAKE) -C scripts/parse_kconfig/; fi -- cgit v1.2.3