mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
26 lines
887 B
Makefile
26 lines
887 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="u-boot-tools"
|
|
PKG_VERSION="2022.01"
|
|
PKG_SHA256="81b4543227db228c03f8a1bf5ddbc813b0bb8f6555ce46064ef721a6fc680413"
|
|
PKG_LICENSE="GPL"
|
|
PKG_SITE="https://www.denx.de/wiki/U-Boot"
|
|
PKG_URL="http://ftp.denx.de/pub/u-boot/u-boot-${PKG_VERSION}.tar.bz2"
|
|
PKG_DEPENDS_HOST="ccache:host bison:host flex:host openssl:host pkg-config:host"
|
|
PKG_LONGDESC="Das U-Boot is a cross-platform bootloader for embedded systems."
|
|
|
|
make_host() {
|
|
make qemu-x86_64_defconfig HOSTCC="${HOST_CC}" HOSTCFLAGS="-I${TOOLCHAIN}/include" HOSTLDFLAGS="${HOST_LDFLAGS}"
|
|
make tools-only HOSTCC="${HOST_CC}" HOSTCFLAGS="-I${TOOLCHAIN}/include" HOSTLDFLAGS="${HOST_LDFLAGS}"
|
|
}
|
|
|
|
make_target() {
|
|
: # host-only package
|
|
}
|
|
|
|
makeinstall_host() {
|
|
mkdir -p ${TOOLCHAIN}/bin
|
|
cp tools/mkimage ${TOOLCHAIN}/bin
|
|
}
|