summaryrefslogtreecommitdiffstats
path: root/meta/packages/uboot/uboot-gta01_svn.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/uboot/uboot-gta01_svn.bb')
-rw-r--r--meta/packages/uboot/uboot-gta01_svn.bb59
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 @@
1DESCRIPTION = "U-boot bootloader w/ Neo1973 (GTA01) support"
2AUTHOR = "Harald Welte <laforge@openmoko.org>"
3LICENSE = "GPL"
4SECTION = "bootloader"
5PRIORITY = "optional"
6PV = "1.2.0+svn${SRCDATE}"
7PR = "r5"
8SRCDATE = "20070711"
9
10PROVIDES = "virtual/bootloader"
11S = "${WORKDIR}/git"
12
13SRC_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
17EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
18TARGET_LDFLAGS = ""
19UBOOT_MACHINES = "gta01v3 gta01v4 gta01bv2 gta01bv3"
20
21do_quilt() {
22 mv ${WORKDIR}/patches ${S}/patches
23 cd ${S}
24 quilt push -av
25 rm -Rf patches .pc
26}
27
28do_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
45do_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
57do_deploy[dirs] = "${S}"
58addtask deploy before do_build after do_compile
59addtask quilt before do_patch after do_unpack