David-John Willis 58aec28df8 bcm2835-kernel-image: Add recipe to deal with prepending the 32KB header to the kerenl image.
* TODO: Clean up these recipes and merge -mkimage and -kernel-image.
2012-04-12 22:21:28 +01:00

32 lines
838 B
BlitzBasic

DESCRIPTION = "Tools to append 32KB binary header to kernel image."
LICENSE = "proprietary-binary"
PR = "${MACHINE_KERNEL_PR}.2"
SECTION = "bootloader"
LIC_FILES_CHKSUM = "file://LICENCE;md5=3d7292881293368c0a9f3bc521c2b87e"
SRC_URI = " \
file://LICENCE \
file://bcm2835-args-uncompressed.txt \
file://bcm2835-boot-uncompressed.txt \
file://bcm2835-mkimage.py \
file://bcm2835-kernel-first32k.bin \
"
S = "${WORKDIR}"
BBCLASSEXTEND = "native nativesdk"
do_install () {
install -d ${D}${bindir}
install -m 0755 bcm2835-mkimage.py ${D}${bindir}
install -m 0644 bcm2835-args-uncompressed.txt ${D}${bindir}
install -m 0644 bcm2835-boot-uncompressed.txt ${D}${bindir}
install -m 0644 bcm2835-kernel-first32k.bin ${D}${bindir}
}
FILES_${PN} = " \
${bindir}/bcm2835-* \
"