summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLokesh Vutla2020-08-11 16:33:08 -0500
committerDave Gerlach2020-08-14 12:11:07 -0500
commit10d3f3d1de829e02edacfa3a5d1c660263ef0820 (patch)
tree549774c581049afed784b4fe7cdbc916d7e3803e /Makefile
parent0a2aa9e6e0a843c40eea51dc5a0bb53ff83f14ef (diff)
downloadk3-image-gen-10d3f3d1de829e02edacfa3a5d1c660263ef0820.tar.gz
k3-image-gen-10d3f3d1de829e02edacfa3a5d1c660263ef0820.tar.xz
k3-image-gen-10d3f3d1de829e02edacfa3a5d1c660263ef0820.zip
soc: Introduce SoC specific Makefiles
Now that SoCs have different boot image targets, introduce SOC specific Makefiles to represent boot targets. Below are boot targets: - AM65x: sysfw.itb - AM65x SR2: sysfw.itb - J721E: sysfw.itb - J7200: tiboot3.bin, sysfw.itb Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 6e955dd71..e16deb535 100644
--- a/Makefile
+++ b/Makefile
@@ -38,6 +38,8 @@
38SOC ?= am65x 38SOC ?= am65x
39CONFIG ?= evm 39CONFIG ?= evm
40 40
41include soc/$(SOC)/Makefile
42
41BUILD_SRC ?= . 43BUILD_SRC ?= .
42O ?= out 44O ?= out
43BIN_DIR ?= . 45BIN_DIR ?= .
@@ -122,10 +124,7 @@ ifeq ($(shell which python3),)
122$(error "No python3 in $(PATH), consider installing python3") 124$(error "No python3 in $(PATH), consider installing python3")
123endif 125endif
124 126
125.PHONY: all _objtree_build 127.PHONY: _objtree_build
126
127all: _objtree_build $(ITB) sysfw.itb
128
129_objtree_build: 128_objtree_build:
130 @mkdir -p $(objroot) $(soc_objroot) $(binroot) 129 @mkdir -p $(objroot) $(soc_objroot) $(binroot)
131 130