summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d560507)
raw | patch | inline | side by side (parent: d560507)
author | Nishanth Menon <nm@ti.com> | |
Tue, 1 Sep 2015 20:52:03 +0000 (15:52 -0500) | ||
committer | Nishanth Menon <nm@ti.com> | |
Fri, 2 Oct 2015 03:54:46 +0000 (22:54 -0500) |
cd dir;make is the wrong way to build a sub directory.
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Makefile | patch | blob | history |
diff --git a/Makefile b/Makefile
index 6e9022a44aa0172b2240e2fd6a31a5ca07474840..1791afbce113fa04b993118580ae0c184c93d49b 100644 (file)
--- a/Makefile
+++ b/Makefile
cp $(IMAGE).bin $(IMAGE)-k2l.bin
build_image:
- (cd sec; make SOC=$(SOC))
- (cd non-sec; make SOC=$(SOC))
+ make SOC=$(SOC) -C sec
+ make SOC=$(SOC) -C non-sec
cat $(NONSECPADBIN) >> $(IMAGE).bin
cat $(SECPADBIN) >> $(IMAGE).bin
build_clean:
rm -rf $(IMAGE).bin
- cd non-sec; make clean;
- cd sec; make clean;
+ make -C non-sec clean
+ make -C sec clean
clean: build_clean
rm -rf $(IMAGE)-k2hk.bin