summaryrefslogtreecommitdiff
path: root/packages/ezx/ezx-gen-blob_svn.bb
blob: add64e16ed321ebc17904e0a4b6043d739a2fcdb (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
32
33
34
35
36
37
38
39
DESCRIPTION = "Generic Blob [Bootloader] for the Motorola EZX platform"
SECTION = "bootloaders"
AUTHOR = "OpenEZX Team"
HOMEPAGE = "http://people.openezx.org/wyrm/gen-blob"
LICENSE = "GPL"
PROVIDES = "virtual/bootloader"
DEPENDS = "openezx-kernel"
PV = "1.0.0+${SRCREV}"
PR = "r0"

SRC_URI = "\
  svn://svn.openezx.org/trunk/src/blob/;module=gen-blob;proto=http \
  file://remove-bogus-sed.patch;patch=1 \
"
S = "${WORKDIR}/gen-blob"

inherit autotools

EXTRA_OECONF = "\
  --with-board=lubbock \
  --with-cpu=pxa262 \
  --with-linux-prefix=${STAGING_KERNEL_DIR} \
  --enable-usb \
"

do_configure() {
	gnu-configize
	oe_runconf
}

do_deploy() {
	install -d ${DEPLOY_DIR_IMAGE}
	install -m 0644 src/blob/blob-a780  ${DEPLOY_DIR_IMAGE}/gen-blob-for-1stgen.${SRCDATE}
	install -m 0644 src/blob/blob-a1200 ${DEPLOY_DIR_IMAGE}/gen-blob-for-2ndgen.${SRCDATE}
}

addtask deploy before do_build after do_compile

PACKAGE_ARCH = "${MACHINE_ARCH}"