summaryrefslogtreecommitdiff
path: root/recipes/ezx/ezx-gen-blob_svn.bb
blob: d861249d6c03ed9cb6002a9eed221aafba34fef4 (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
40
41
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 = "virtual/kernel"
SRCREV = "2517"
PV = "1.0.0+svnr${SRCPV}"
PE = "1"
PR = "r1"

SRC_URI = "\
  svn://svn.openezx.org/trunk/src/blob/;module=gen-blob;proto=http \
  file://remove-bogus-sed.patch;apply=yes \
"
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}"