mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
u-boot: added option to compile mkimage for host
This commit is contained in:
parent
587ddc6730
commit
18aa7643c0
@ -31,6 +31,12 @@ PKG_SHORTDESC="u-boot: Universal Bootloader project"
|
||||
PKG_LONGDESC="Das U-Boot is a cross-platform bootloader for embedded systems, used as the default boot loader by several board vendors. It is intended to be easy to port and to debug, and runs on many supported architectures, including PPC, ARM, MIPS, x86, m68k, NIOS, and Microblaze."
|
||||
PKG_IS_KERNEL_PKG="yes"
|
||||
|
||||
make_host() {
|
||||
make mrproper
|
||||
make dummy_x86_config
|
||||
make tools-only
|
||||
}
|
||||
|
||||
make_target() {
|
||||
if [ -z "$UBOOT_SYSTEM" ]; then
|
||||
echo "UBOOT_SYSTEM must be set to build an image"
|
||||
@ -42,6 +48,11 @@ make_target() {
|
||||
fi
|
||||
}
|
||||
|
||||
makeinstall_host() {
|
||||
mkdir -p $TOOLCHAIN/bin
|
||||
cp tools/mkimage $TOOLCHAIN/bin
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
mkdir -p $INSTALL/usr/share/bootloader
|
||||
|
||||
|
@ -0,0 +1 @@
|
||||
CONFIG_X86=y
|
Loading…
x
Reference in New Issue
Block a user