mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
u-boot: fix build
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
77031582ee
commit
939bdf2274
@ -58,6 +58,15 @@ pre_configure_target() {
|
||||
make_target() {
|
||||
make CROSS_COMPILE="$TARGET_PREFIX" ARCH="$TARGET_ARCH" $UBOOT_CONFIG
|
||||
make CROSS_COMPILE="$TARGET_PREFIX" ARCH="$TARGET_ARCH" HOSTCC="$HOST_CC" HOSTSTRIP="true"
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
mkdir -p $ROOT/$TOOLCHAIN/bin
|
||||
if [ -f build/tools/mkimage ]; then
|
||||
cp build/tools/mkimage $ROOT/$TOOLCHAIN/bin
|
||||
else
|
||||
cp tools/mkimage $ROOT/$TOOLCHAIN/bin
|
||||
fi
|
||||
|
||||
BOOT_CFG="$PROJECT_DIR/$PROJECT/bootloader/boot.cfg"
|
||||
if [ -r "$BOOT_CFG" ]; then
|
||||
@ -70,15 +79,6 @@ make_target() {
|
||||
-d boot.cfg \
|
||||
$UBOOT_CONFIGFILE
|
||||
fi
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
mkdir -p $ROOT/$TOOLCHAIN/bin
|
||||
if [ -f build/tools/mkimage ]; then
|
||||
cp build/tools/mkimage $ROOT/$TOOLCHAIN/bin
|
||||
else
|
||||
cp tools/mkimage $ROOT/$TOOLCHAIN/bin
|
||||
fi
|
||||
|
||||
mkdir -p $INSTALL/usr/share/u-boot
|
||||
cp ./u-boot.bin $INSTALL/usr/share/u-boot
|
||||
|
Loading…
x
Reference in New Issue
Block a user