summaryrefslogtreecommitdiffstats
path: root/recipes-bcm/kernel-image/bcm2835-mkimage.bb
blob: 5afca12663bf7f7eca41f13c716255a11747c108 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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-* \
"