mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 07:27:49 +00:00
linux: move initramfs build+installation to pre_make_target
Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
parent
54d1135476
commit
c4a382c2a0
@ -127,6 +127,11 @@ makeinstall_host() {
|
||||
}
|
||||
|
||||
pre_make_target() {
|
||||
( cd $ROOT
|
||||
rm -rf $BUILD/initramfs
|
||||
$SCRIPTS/install initramfs
|
||||
)
|
||||
|
||||
if [ "$TARGET_ARCH" = "x86_64" ]; then
|
||||
# copy some extra firmware to linux tree
|
||||
mkdir -p $PKG_BUILD/external-firmware
|
||||
@ -185,11 +190,6 @@ make_target() {
|
||||
)
|
||||
fi
|
||||
|
||||
( cd $ROOT
|
||||
rm -rf $BUILD/initramfs
|
||||
$SCRIPTS/install initramfs
|
||||
)
|
||||
|
||||
# arm64 target does not support creating uImage.
|
||||
# Build Image first, then wrap it using u-boot's mkimage.
|
||||
if [[ "$TARGET_KERNEL_ARCH" = "arm64" && "$KERNEL_TARGET" = uImage* ]]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user