mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 14:37:59 +00:00
linux: Build $KERNEL_UBOOT_EXTRA_TARGET before kernel image
When there is a need to build the kernel with appended device tree for compatibility with older bootloaders, $KERNEL_UBOOT_EXTRA_TARGET, which usually is a list of device tree source files, needs to be built before the kernel, making device tree binaries available for appending to the kernel image.
This commit is contained in:
parent
6996f84828
commit
8135438a36
@ -140,14 +140,14 @@ make_target() {
|
||||
$SCRIPTS/install initramfs
|
||||
)
|
||||
|
||||
LDFLAGS="" make $KERNEL_IMAGE $KERNEL_MAKE_EXTRACMD
|
||||
|
||||
if [ "$BOOTLOADER" = "u-boot" -a -n "$KERNEL_UBOOT_EXTRA_TARGET" ]; then
|
||||
for extra_target in "$KERNEL_UBOOT_EXTRA_TARGET"; do
|
||||
LDFLAGS="" make $extra_target
|
||||
done
|
||||
fi
|
||||
|
||||
LDFLAGS="" make $KERNEL_IMAGE $KERNEL_MAKE_EXTRACMD
|
||||
|
||||
if [ "$PERF_SUPPORT" = "yes" -a "$DEVTOOLS" = "yes" ]; then
|
||||
( cd tools/perf
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user