diff options
Diffstat (limited to 'meta/packages/uboot/uboot-gta01_svn.bb')
-rw-r--r-- | meta/packages/uboot/uboot-gta01_svn.bb | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/meta/packages/uboot/uboot-gta01_svn.bb b/meta/packages/uboot/uboot-gta01_svn.bb deleted file mode 100644 index 89ebef6b08..0000000000 --- a/meta/packages/uboot/uboot-gta01_svn.bb +++ /dev/null | |||
@@ -1,59 +0,0 @@ | |||
1 | DESCRIPTION = "U-boot bootloader w/ Neo1973 (GTA01) support" | ||
2 | AUTHOR = "Harald Welte <laforge@openmoko.org>" | ||
3 | LICENSE = "GPL" | ||
4 | SECTION = "bootloader" | ||
5 | PRIORITY = "optional" | ||
6 | PV = "1.2.0+svn${SRCDATE}" | ||
7 | PR = "r5" | ||
8 | SRCDATE = "20070711" | ||
9 | |||
10 | PROVIDES = "virtual/bootloader" | ||
11 | S = "${WORKDIR}/git" | ||
12 | |||
13 | SRC_URI = "git://www.denx.de/git/u-boot.git/;protocol=git;tag=8993e54b6f397973794f3d6f47d3b3c0c98dd4f6 \ | ||
14 | svn://svn.openmoko.org/trunk/src/target/u-boot;module=patches;proto=http \ | ||
15 | file://fix-arm920t-eabi.patch;patch=1" | ||
16 | |||
17 | EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" | ||
18 | TARGET_LDFLAGS = "" | ||
19 | UBOOT_MACHINES = "gta01v3 gta01v4 gta01bv2 gta01bv3" | ||
20 | |||
21 | do_quilt() { | ||
22 | mv ${WORKDIR}/patches ${S}/patches | ||
23 | cd ${S} | ||
24 | quilt push -av | ||
25 | rm -Rf patches .pc | ||
26 | } | ||
27 | |||
28 | do_compile () { | ||
29 | chmod +x board/neo1973/split_by_variant.sh | ||
30 | for type in ram nand | ||
31 | do | ||
32 | for mach in ${UBOOT_MACHINES} | ||
33 | do | ||
34 | oe_runmake ${mach}_config | ||
35 | oe_runmake clean | ||
36 | if [ ${type} == "ram" ]; then | ||
37 | echo 'PLATFORM_RELFLAGS += -DBUILD_FOR_RAM' >> board/neo1973/config.tmp | ||
38 | fi | ||
39 | oe_runmake all | ||
40 | mv u-boot.bin u-boot_${mach}_${type}.bin | ||
41 | done | ||
42 | done | ||
43 | } | ||
44 | |||
45 | do_deploy () { | ||
46 | install -d ${DEPLOY_DIR_IMAGE} | ||
47 | for type in nand ram | ||
48 | do | ||
49 | for mach in ${UBOOT_MACHINES} | ||
50 | do | ||
51 | install ${S}/u-boot_${mach}_${type}.bin ${DEPLOY_DIR_IMAGE}/u-boot_${type}-${mach}-${DATETIME}.bin | ||
52 | done | ||
53 | done | ||
54 | install -m 0755 tools/mkimage ${STAGING_BINDIR_NATIVE}/uboot-mkimage | ||
55 | } | ||
56 | |||
57 | do_deploy[dirs] = "${S}" | ||
58 | addtask deploy before do_build after do_compile | ||
59 | addtask quilt before do_patch after do_unpack | ||