From 1f88ee3ca518bf5ee8b11f78d8dbc7b38428f4a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 26 Apr 2015 10:52:21 +0200 Subject: Generate configuration for root Makefile from conf.py --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7504c54..5ecbfe3 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,7 @@ .PHONY: all help parse_kconfig write_config build run test clean clean_linux clean_buildroot mlinux mbuildroot +include .conf.mk + all: parse_kconfig write_config help: @@ -24,7 +26,7 @@ mbuildroot: $(MAKE) -C scripts/buildroot menuconfig mlinux: - $(MAKE) -C linux menuconfig + ARCH=$(SRCARCH) $(MAKE) -C linux menuconfig test: build/initram.gz @ #TODO @@ -48,6 +50,9 @@ clean_buildroot: ####################################### +.conf.mk: conf.py + scripts/confmk.py + parse_kconfig: @$(MAKE) -C scripts/parse_kconfig/ -- cgit v1.2.3