A lot of our recipes had short one-line DESCRIPTION values and no SUMMARY value set. In this case it's much better to just set SUMMARY since DESCRIPTION is defaulted from SUMMARY anyway and then the SUMMARY is at least useful. I also took the opportunity to fix up a lot of the new SUMMARY values, making them concisely explain the function of the recipe / package where possible. (From OE-Core rev: b8feee3cf21f70ba4ec3b822d2f596d4fc02a292) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
41 lines
849 B
PHP
41 lines
849 B
PHP
SUMMARY = "First level bootloader for OMAP SoCs"
|
|
SECTION = "bootloaders"
|
|
LICENSE = "GPL"
|
|
|
|
inherit deploy
|
|
|
|
DEPENDS = ""
|
|
|
|
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 ift
|
|
}
|
|
|
|
do_deploy () {
|
|
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
|
|
|