diff options
author | Karel Kočí <cynerd@email.cz> | 2015-04-27 21:26:45 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-04-27 21:26:45 +0200 |
commit | d1a4966163e2456e787d00ec3f1d290b5491b44f (patch) | |
tree | a890c32f3ad478a8cf15aeac6423d4a96bda77a1 /Makefile | |
parent | bbfdeca6f7933ddc98b45975c1f05a2babe06daf (diff) | |
download | linux-conf-perf-d1a4966163e2456e787d00ec3f1d290b5491b44f.tar.gz linux-conf-perf-d1a4966163e2456e787d00ec3f1d290b5491b44f.tar.bz2 linux-conf-perf-d1a4966163e2456e787d00ec3f1d290b5491b44f.zip |
fix problems with initram
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -55,6 +55,7 @@ clean: @$(MAKE) -C scripts/write_config/ clean $(RM) -r build $(RM) -r scripts/buildroot/system/skeleton/usr/share/benchmark + $(RM) $(INITRAM) distclean: clean distclean_linux distclean_buildroot $(RM) .conf.mk @@ -82,15 +83,18 @@ parse_kconfig: write_config: @$(MAKE) -C scripts/write_config/ -%: +scripts/buildroot/system/skeleton/usr/share/%: + mkdir -p $@ + +build: mkdir -p $@ $(BUILDROOT_INITRAM): scripts/buildroot/.config @$(MAKE) -C scripts/buildroot -$(INITRAM): $(shell dirname $(INITRAM)) -$(INITRAM): $(BUILDROOT_INITRAM) $${@D} - mv $^ $@ +$(INITRAM): build +$(INITRAM): $(BUILDROOT_INITRAM) + mv $< $@ scripts/buildroot/.config: cp $(BUILDROOT_DEF_CONFIG) $@ |