diff options
author | Karel Kočí <cynerd@email.cz> | 2015-04-26 13:19:06 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-04-26 13:19:06 +0200 |
commit | 37e294e9f0a826b201fc6f70b396d1933f10bd97 (patch) | |
tree | 7ef0a940044d3ac2e0cdb1d55c17910bdcd639cc /Makefile | |
parent | 3cbf100902950171220fb37a24f1a37b5183ab90 (diff) | |
download | linux-conf-perf-37e294e9f0a826b201fc6f70b396d1933f10bd97.tar.gz linux-conf-perf-37e294e9f0a826b201fc6f70b396d1933f10bd97.tar.bz2 linux-conf-perf-37e294e9f0a826b201fc6f70b396d1933f10bd97.zip |
Add initram config
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 11 insertions, 8 deletions
@@ -1,6 +1,6 @@ -.PHONY: all help parse_kconfig write_config build run test clean clean_linux clean_buildroot mlinux mbuildroot +.PHONY: all help parse_kconfig write_config build run test clean clean_linux clean_buildroot mlinux mbuildroot deflinux -include .conf.mk +-include .conf.mk all: parse_kconfig write_config @@ -33,10 +33,10 @@ mlinux: deflinux: ARCH=$(SRCARCH) $(MAKE) -C linux defconfig -test: build/initram.gz +test: $(INITRAM) @ #TODO -run: kconfig_parser write_config build/initram.gz +run: kconfig_parser write_config $(INITRAM) scripts/main_loop.py evaluate: @@ -64,11 +64,14 @@ parse_kconfig: write_config: @$(MAKE) -C scripts/write_config/ -build: - mkdir $@ +%: + mkdir -p $@ -build/initram.gz: scripts/buildroot/.config build +$(BUILDROOT_INITRAM): scripts/buildroot/.config @$(MAKE) -C scripts/buildroot - mv scripts/buildroot/output/images/rootfs.cpio.gz + +$(INITRAM): $(BUILDROOT_INITRAM) $${@D} + mv $^ $@ scripts/buildroot/.config: mbuildroot + @ |