diff options
Diffstat (limited to 'recipes-bcm/kernel-image/bcm2835-kernel-image.bb')
| -rw-r--r-- | recipes-bcm/kernel-image/bcm2835-kernel-image.bb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes-bcm/kernel-image/bcm2835-kernel-image.bb b/recipes-bcm/kernel-image/bcm2835-kernel-image.bb new file mode 100644 index 0000000..06325f8 --- /dev/null +++ b/recipes-bcm/kernel-image/bcm2835-kernel-image.bb | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | DESCRIPTION = "Helper recipe to make the munged kernel.img image for the RaspberryPi." | ||
| 2 | LICENSE = "MIT" | ||
| 3 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" | ||
| 4 | |||
| 5 | PR = "${MACHINE_KERNEL_PR}.0" | ||
| 6 | DEPENDS = "bcm2835-bootfiles bcm2835-mkimage-native" | ||
| 7 | |||
| 8 | S = "${WORKDIR}" | ||
| 9 | |||
| 10 | addtask deploy before do_package after do_install | ||
| 11 | |||
| 12 | do_deploy() { | ||
| 13 | install -d ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles | ||
| 14 | bcm2835-mkimage.py ${DEPLOY_DIR_IMAGE}/zImage-${MACHINE}.bin ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/kernel.img ${STAGING_BINDIR_NATIVE}/ | ||
| 15 | } | ||
| 16 | |||
| 17 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
