mirror of
git://git.yoctoproject.org/meta-freescale.git
synced 2025-07-19 12:59:04 +02:00

The meta-fsl-arm is going to be used as the base for this layer. It contains a clean history and allowing a more granullar set of changes. This commit is just a rename of all contents of meta-fsl-arm subdirectory to this layer's root, subsequent changes are based on top of that. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
37 lines
966 B
BlitzBasic
37 lines
966 B
BlitzBasic
DESCRIPTION = "qe microcode binary"
|
|
SECTION = "qe-ucode"
|
|
LICENSE = "Freescale-EULA"
|
|
LIC_FILES_CHKSUM = "file://EULA;md5=60037ccba533a5995e8d1a838d85799c"
|
|
|
|
inherit deploy
|
|
|
|
SRC_URI = "git://git.freescale.com/ppc/sdk/qe-ucode.git;nobranch=1"
|
|
SRCREV= "49efc94b553de5c2a9bd28093592eff0068e161c"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
python () {
|
|
if not d.getVar("QE_UCODE", True):
|
|
PN = d.getVar("PN", True)
|
|
FILE = os.path.basename(d.getVar("FILE", True))
|
|
bb.debug(1, "To build %s, see %s for instructions on \
|
|
setting up your qe-ucode" % (PN, FILE))
|
|
raise bb.parse.SkipPackage("because QE_UCODE is not set")
|
|
}
|
|
|
|
do_install () {
|
|
install -d ${D}/boot
|
|
install -m 644 ${QE_UCODE} ${D}/boot
|
|
}
|
|
|
|
do_deploy () {
|
|
install -d ${DEPLOYDIR}/boot
|
|
install -m 644 ${QE_UCODE} ${DEPLOYDIR}/boot
|
|
}
|
|
addtask deploy before do_build after do_install
|
|
|
|
PACKAGES += "${PN}-image"
|
|
FILES_${PN}-image += "/boot/*"
|
|
ALLOW_EMPTY_${PN} = "1"
|
|
COMPATIBLE_MACHINE = "(ls102xa)"
|