diff options
author | Lokesh Vutla | 2020-08-11 16:33:08 -0500 |
---|---|---|
committer | Dave Gerlach | 2020-08-14 12:11:07 -0500 |
commit | 10d3f3d1de829e02edacfa3a5d1c660263ef0820 (patch) | |
tree | 549774c581049afed784b4fe7cdbc916d7e3803e /Makefile | |
parent | 0a2aa9e6e0a843c40eea51dc5a0bb53ff83f14ef (diff) | |
download | k3-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-- | Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -38,6 +38,8 @@ | |||
38 | SOC ?= am65x | 38 | SOC ?= am65x |
39 | CONFIG ?= evm | 39 | CONFIG ?= evm |
40 | 40 | ||
41 | include soc/$(SOC)/Makefile | ||
42 | |||
41 | BUILD_SRC ?= . | 43 | BUILD_SRC ?= . |
42 | O ?= out | 44 | O ?= out |
43 | BIN_DIR ?= . | 45 | BIN_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") |
123 | endif | 125 | endif |
124 | 126 | ||
125 | .PHONY: all _objtree_build | 127 | .PHONY: _objtree_build |
126 | |||
127 | all: _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 | ||