mirror of
git://git.yoctoproject.org/meta-raspberrypi
synced 2026-11-02 19:00:50 +00:00
Add dependency on kernel image as it must be built before this package can be completed. Signed-off-by: Gary Thomas <gary@mlbassoc.com>
20 lines
630 B
BlitzBasic
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}"
|