summaryrefslogtreecommitdiffstats
path: root/recipes-bcm/kernel-image/bcm2835-kernel-image.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bcm/kernel-image/bcm2835-kernel-image.bb')
-rw-r--r--recipes-bcm/kernel-image/bcm2835-kernel-image.bb17
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 @@
1DESCRIPTION = "Helper recipe to make the munged kernel.img image for the RaspberryPi."
2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
4
5PR = "${MACHINE_KERNEL_PR}.0"
6DEPENDS = "bcm2835-bootfiles bcm2835-mkimage-native"
7
8S = "${WORKDIR}"
9
10addtask deploy before do_package after do_install
11
12do_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
17PACKAGE_ARCH = "${MACHINE_ARCH}"