aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp/h2200-bootloader/h2200-bootloader.bb
blob: d2cc2653012ff1c0eb61233aa45707c3a52f2cb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
DESCRIPTION = "Bootloader firmware extractor for the h2200 iPAQ"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
ALLOW_EMPTY = "1"
PR = "r4"

COMPATIBLE_MACHINE = "h2200"
#it is a shell script, but lets protect the innocent some more
PACKAGE_ARCH = "h2200"

pkg_postinst() {
#!/bin/sh
mkdir -p /lib/firmware
dd if=/dev/mtdblock0 of=/lib/firmware/h2200_bootloader.bin 2>/dev/null
}