diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 17:43:52 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 17:43:52 +0000 |
commit | 1ba130174a5ead2d139cbabd2e29985fcfa09eb1 (patch) | |
tree | 945250739a462b87c7b0e0f6aa4aabc135b8f9aa /debian/patches | |
parent | Adding upstream version 2.10.0+dfsg. (diff) | |
download | arm-trusted-firmware-debian.tar.xz arm-trusted-firmware-debian.zip |
Adding debian version 2.10.0+dfsg-1.debian/2.10.0+dfsg-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/series | 1 | ||||
-rw-r--r-- | debian/patches/use-ldflags-with-fiptool-and-cert-create | 28 |
2 files changed, 29 insertions, 0 deletions
diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..e935d9a --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +use-ldflags-with-fiptool-and-cert-create diff --git a/debian/patches/use-ldflags-with-fiptool-and-cert-create b/debian/patches/use-ldflags-with-fiptool-and-cert-create new file mode 100644 index 0000000..272bf45 --- /dev/null +++ b/debian/patches/use-ldflags-with-fiptool-and-cert-create @@ -0,0 +1,28 @@ +Use LDFLAGS when building fiptool and cert_create. + +Index: arm-trusted-firmware/tools/cert_create/Makefile +=================================================================== +--- arm-trusted-firmware.orig/tools/cert_create/Makefile ++++ arm-trusted-firmware/tools/cert_create/Makefile +@@ -92,7 +92,7 @@ ${BINARY}: ${OBJECTS} Makefile + @echo 'const char build_msg[] = "Built : "__TIME__", "__DATE__; \ + const char platform_msg[] = "${PLAT_MSG}";' | \ + ${HOSTCC} -c ${HOSTCCFLAGS} -xc - -o src/build_msg.o +- ${Q}${HOSTCC} src/build_msg.o ${OBJECTS} ${LIB_DIR} ${LIB} -o $@ ++ ${Q}${HOSTCC} src/build_msg.o ${OBJECTS} ${LIB_DIR} ${LIB} ${LDFLAGS} -o $@ + + %.o: %.c + @echo " HOSTCC $<" +Index: arm-trusted-firmware/tools/fiptool/Makefile +=================================================================== +--- arm-trusted-firmware.orig/tools/fiptool/Makefile ++++ arm-trusted-firmware/tools/fiptool/Makefile +@@ -81,7 +81,7 @@ all: --openssl ${PROJECT} + + ${PROJECT}: ${OBJECTS} Makefile + @echo " HOSTLD $@" +- ${Q}${HOSTCC} ${OBJECTS} -o $@ $(LDOPTS) ++ ${Q}${HOSTCC} ${OBJECTS} ${LDFLAGS} -o $@ $(LDOPTS) + @${ECHO_BLANK_LINE} + @echo "Built $@ successfully" + @${ECHO_BLANK_LINE} |