Files
meta-raspberrypi/recipes-bcm/kernel-image/bcm2835-kernel-image.bb
T
Gary Thomas 0d19bc02c7 bcm2835-kernel-image: Fix dependency
Add dependency on kernel image as it must be built before this
package can be completed.

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
2012-06-30 13:59:44 -06:00

20 lines
630 B
BlitzBasic

DESCRIPTION = "Helper recipe to make the munged kernel.img image for the RaspberryPi."
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
COMPATIBLE_MACHINE = "raspberrypi"
PR = "${MACHINE_KERNEL_PR}.2"
DEPENDS = "bcm2835-bootfiles bcm2835-mkimage-native virtual/kernel"
S = "${WORKDIR}"
addtask deploy before do_package after do_install
do_deploy() {
install -d ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles
bcm2835-mkimage.py ${DEPLOY_DIR_IMAGE}/zImage-${MACHINE}.bin ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/kernel.img ${STAGING_BINDIR_NATIVE}/
}
PACKAGE_ARCH = "${MACHINE_ARCH}"