mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
Merge pull request #6780 from heitbaum/atf
atf and crust: support build with binutils 2.39
This commit is contained in:
commit
16f075c66f
@ -16,9 +16,9 @@ PKG_TOOLCHAIN="manual"
|
||||
|
||||
make_target() {
|
||||
if [ "${DEVICE}" = "iMX8" ]; then
|
||||
CROSS_COMPILE="${TARGET_KERNEL_PREFIX}" LDFLAGS="" CFLAGS="--param=min-pagesize=0" make PLAT=${ATF_PLATFORM} bl31
|
||||
CROSS_COMPILE="${TARGET_KERNEL_PREFIX}" LDFLAGS="--no-warn-rwx-segments" CFLAGS="--param=min-pagesize=0" make PLAT=${ATF_PLATFORM} bl31
|
||||
else
|
||||
CROSS_COMPILE="${TARGET_KERNEL_PREFIX}" LDFLAGS="" CFLAGS="" make PLAT=${ATF_PLATFORM} bl31
|
||||
CROSS_COMPILE="${TARGET_KERNEL_PREFIX}" LDFLAGS="--no-warn-rwx-segments" CFLAGS="" make PLAT=${ATF_PLATFORM} bl31
|
||||
fi
|
||||
}
|
||||
|
||||
|
12
packages/tools/crust/patches/fix-binutils-2-39.patch
Normal file
12
packages/tools/crust/patches/fix-binutils-2-39.patch
Normal file
@ -0,0 +1,12 @@
|
||||
--- a/Makefile 2022-08-09 08:48:15.390323604 +0000
|
||||
+++ b/Makefile 2022-08-09 08:49:45.623098723 +0000
|
||||
@@ -84,7 +84,8 @@
|
||||
-Wl,--fatal-warnings \
|
||||
-Wl,--gc-sections \
|
||||
-Wl,--no-dynamic-linker \
|
||||
- -Wl,--no-undefined
|
||||
+ -Wl,--no-undefined \
|
||||
+ -Wl,--no-warn-rwx-segments
|
||||
|
||||
###############################################################################
|
||||
|
Loading…
x
Reference in New Issue
Block a user