2020-03-20 17:31:57 +01:00
|
|
|
From 3ef9f773ce1a402607957fa73775d2e0a591a1a5 Mon Sep 17 00:00:00 2001
|
2018-03-10 12:51:39 +01:00
|
|
|
From: Erik Larsson <erik.larsson@combitech.se>
|
|
|
|
Date: Tue, 6 Mar 2018 12:28:39 +0100
|
|
|
|
Subject: [PATCH] Add LDFLAGS to link step
|
|
|
|
|
|
|
|
Signed-off-by: Erik Larsson <karl.erik.larsson@gmail.com>
|
|
|
|
---
|
|
|
|
iMX8M/soc.mak | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/iMX8M/soc.mak b/iMX8M/soc.mak
|
2020-03-20 17:31:57 +01:00
|
|
|
index d714259..aecf84b 100644
|
2018-03-10 12:51:39 +01:00
|
|
|
--- a/iMX8M/soc.mak
|
|
|
|
+++ b/iMX8M/soc.mak
|
2020-03-20 17:31:57 +01:00
|
|
|
@@ -67,7 +67,7 @@ FW_DIR = imx-boot/imx-boot-tools/$(PLAT)
|
2018-03-10 12:51:39 +01:00
|
|
|
$(MKIMG): mkimage_imx8.c
|
2020-03-20 17:31:57 +01:00
|
|
|
@echo "PLAT="$(PLAT) "HDMI="$(HDMI)
|
2018-03-10 12:51:39 +01:00
|
|
|
@echo "Compiling mkimage_imx8"
|
|
|
|
- $(CC) $(CFLAGS) mkimage_imx8.c -o $(MKIMG) -lz
|
|
|
|
+ $(CC) $(CFLAGS) mkimage_imx8.c -o $(MKIMG) $(LDFLAGS) -lz
|
|
|
|
|
2020-03-20 17:31:57 +01:00
|
|
|
u-boot-spl-ddr.bin: u-boot-spl.bin lpddr4_pmu_train_1d_imem.bin lpddr4_pmu_train_1d_dmem.bin lpddr4_pmu_train_2d_imem.bin lpddr4_pmu_train_2d_dmem.bin
|
|
|
|
@objcopy -I binary -O binary --pad-to 0x8000 --gap-fill=0x0 lpddr4_pmu_train_1d_imem.bin lpddr4_pmu_train_1d_imem_pad.bin
|
2018-03-10 12:51:39 +01:00
|
|
|
--
|
2020-03-20 17:31:57 +01:00
|
|
|
2.25.1
|
2018-03-10 12:51:39 +01:00
|
|
|
|