mirror of
https://git.yoctoproject.org/poky
synced 2026-09-29 07:36:20 +02:00
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
43 lines
896 B
PHP
43 lines
896 B
PHP
DESCRIPTION = "x-load bootloader loader"
|
|
SECTION = "bootloaders"
|
|
PRIORITY = "optional"
|
|
LICENSE = "GPL"
|
|
|
|
inherit deploy
|
|
|
|
DEPENDS = "signgp-native"
|
|
|
|
PARALLEL_MAKE=""
|
|
|
|
EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
|
|
|
|
XLOAD_MACHINE ?= "${MACHINE}_config"
|
|
|
|
XLOAD_IMAGE ?= "x-load-${MACHINE}-${PV}-${PR}.bin.ift"
|
|
XLOAD_SYMLINK ?= "x-load-${MACHINE}.bin.ift"
|
|
MLO_IMAGE ?= "MLO-${MACHINE}-${PV}-${PR}"
|
|
MLO_SYMLINK ?= "MLO-${MACHINE}"
|
|
|
|
do_compile () {
|
|
unset LDFLAGS
|
|
unset CFLAGS
|
|
unset CPPFLAGS
|
|
oe_runmake distclean
|
|
oe_runmake ${XLOAD_MACHINE}
|
|
oe_runmake
|
|
}
|
|
|
|
do_deploy () {
|
|
signGP ${S}/x-load.bin
|
|
install ${S}/x-load.bin.ift ${DEPLOYDIR}/${XLOAD_IMAGE}
|
|
install ${S}/x-load.bin.ift ${DEPLOYDIR}/${MLO_IMAGE}
|
|
|
|
cd ${DEPLOYDIR}
|
|
rm -f ${XLOAD_SYMLINK}
|
|
ln -sf ${XLOAD_IMAGE} ${XLOAD_SYMLINK}
|
|
rm -f ${MLO_SYMLINK}
|
|
ln -sf ${MLO_IMAGE} ${MLO_SYMLINK}
|
|
}
|
|
addtask deploy before do_build after do_compile
|
|
|