diff options
author | Thomas Perrot <thomas.perrot@bootlin.com> | 2022-04-26 17:16:02 +0200 |
---|---|---|
committer | Thomas Perrot <thomas.perrot@bootlin.com> | 2022-04-27 10:41:47 +0200 |
commit | daf1f29014920538b0e7472ac14bd6f454429970 (patch) | |
tree | 8195171a31b3165c8ed36b64a55bea68dbdcc56f /recipes-bsp/imx-mkimage/files/0001-Add-LDFLAGS-to-link-step.patch | |
parent | 1f4577542cd2246b4a1f1bf0e331f82ff2d7da8b (diff) | |
download | meta-freescale-daf1f29014920538b0e7472ac14bd6f454429970.tar.gz |
imx-imkimage: install print_fit_hab.sh
This script gives the address, the offset and the size of binaries have been
stored into U-Boot FIT image that contains TF-A, U-Boot and OP-TEE.
Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Diffstat (limited to 'recipes-bsp/imx-mkimage/files/0001-Add-LDFLAGS-to-link-step.patch')
-rw-r--r-- | recipes-bsp/imx-mkimage/files/0001-Add-LDFLAGS-to-link-step.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes-bsp/imx-mkimage/files/0001-Add-LDFLAGS-to-link-step.patch b/recipes-bsp/imx-mkimage/files/0001-Add-LDFLAGS-to-link-step.patch new file mode 100644 index 00000000..4de0155d --- /dev/null +++ b/recipes-bsp/imx-mkimage/files/0001-Add-LDFLAGS-to-link-step.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From 2a6e2d40a4af78d4a0824e384c3aec55db758fee Mon Sep 17 00:00:00 2001 | ||
2 | From: Erik Larsson <erik.larsson@combitech.se> | ||
3 | Date: Tue, 6 Mar 2018 12:28:39 +0100 | ||
4 | Subject: [PATCH] Add LDFLAGS to link step | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Erik Larsson <karl.erik.larsson@gmail.com> | ||
9 | --- | ||
10 | iMX8M/soc.mak | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/iMX8M/soc.mak b/iMX8M/soc.mak | ||
14 | index 03b05f7aafeb..4d5df0777704 100644 | ||
15 | --- a/iMX8M/soc.mak | ||
16 | +++ b/iMX8M/soc.mak | ||
17 | @@ -84,7 +84,7 @@ FW_DIR = imx-boot/imx-boot-tools/$(PLAT) | ||
18 | $(MKIMG): mkimage_imx8.c | ||
19 | @echo "PLAT="$(PLAT) "HDMI="$(HDMI) | ||
20 | @echo "Compiling mkimage_imx8" | ||
21 | - $(CC) $(CFLAGS) mkimage_imx8.c -o $(MKIMG) -lz | ||
22 | + $(CC) $(CFLAGS) mkimage_imx8.c -o $(MKIMG) $(LDFLAGS) -lz | ||
23 | |||
24 | lpddr4_imem_1d = lpddr4_pmu_train_1d_imem$(LPDDR_FW_VERSION).bin | ||
25 | lpddr4_dmem_1d = lpddr4_pmu_train_1d_dmem$(LPDDR_FW_VERSION).bin | ||
26 | -- | ||
27 | 2.35.1 | ||
28 | |||