From f851f9edefdc5ac3e282e173b4b0d47df19af4ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 30 Jan 2017 20:07:19 +0100 Subject: Make configs depend on Kconfig files --- Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index ae17fef..b71c4bf 100644 --- a/Makefile +++ b/Makefile @@ -134,18 +134,20 @@ callconfig = $(Q)\ # have configuration in parent project, We have to move it every time we are # generating it. Also upper projects can't use Kconfig for its self configuration. +-include .config.cmd + .PHONY: oldconfig -oldconfig: +oldconfig: $(deps_config) $(call callconfig, oldconfig) .PHONY: config -config: +config: $(deps_config) $(call callconfig, config) .PHONY: menuconfig -menuconfig: +menuconfig: $(deps_config) $(call callconfig, menuconfig) .PHONY: allyesconfig -allyesconfig: +allyesconfig: $(deps_config) $(call callconfig, allyesconfig) -- cgit v1.2.3