summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/uboot/u-boot-1.1.4/u-boot-make381-fix.patch15
-rw-r--r--packages/uboot/u-boot_1.1.4.bb10
2 files changed, 24 insertions, 1 deletions
diff --git a/packages/uboot/u-boot-1.1.4/u-boot-make381-fix.patch b/packages/uboot/u-boot-1.1.4/u-boot-make381-fix.patch
new file mode 100644
index 0000000000..89555ac027
--- /dev/null
+++ b/packages/uboot/u-boot-1.1.4/u-boot-make381-fix.patch
@@ -0,0 +1,15 @@
+--- /examples/orig-Makefile 2005-12-16 18:39:27.000000000 +0200
++++ /examples/Makefile 2006-12-02 14:58:59.000000000 +0200
+@@ -123,10 +123,10 @@
+ $(LD) -g $(EX_LDFLAGS) -Ttext $(LOAD_ADDR) \
+ -o $@ -e $(<:.o=) $< $(LIB) \
+ -L$(gcclibdir) -lgcc
+-%.srec: %
++%.srec: %.o
+ $(OBJCOPY) -O srec $< $@ 2>/dev/null
+
+-%.bin: %
++%.bin: %.o
+ $(OBJCOPY) -O binary $< $@ 2>/dev/null
+
+ #########################################################################
diff --git a/packages/uboot/u-boot_1.1.4.bb b/packages/uboot/u-boot_1.1.4.bb
index f5751db204..2b29674e7a 100644
--- a/packages/uboot/u-boot_1.1.4.bb
+++ b/packages/uboot/u-boot_1.1.4.bb
@@ -6,7 +6,9 @@ LICENSE = "GPL"
DEFAULT_PREFERENCE = "-1"
-SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${PN}-${PV}.tar.bz2"
+SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${PN}-${PV}.tar.bz2 \
+ file://u-boot-make381-fix.patch;patch=1"
+
SRC_URI_append_gumstix = "\
file://u-boot-autoscript.patch;patch=1 \
file://u-boot-base.patch;patch=1 \
@@ -24,6 +26,10 @@ SRC_URI_append_gumstix = "\
SRC_URI_append_amsdelta = "\
http://the.earth.li/pub/e3/u-boot-amsdelta-20060519.diff;patch=1"
+SRC_URI_append_dht-walnut= "\
+ file://u-boot-dht-walnut-df2.patch;patch=1"
+
+
EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
EXTRA_OEMAKE_gumstix = "CROSS_COMPILE=${TARGET_PREFIX} GUMSTIX_400MHZ=${GUMSTIX_400MHZ}"
TARGET_LDFLAGS = ""
@@ -31,6 +37,8 @@ TARGET_LDFLAGS = ""
UBOOT_MACHINE ?= "${MACHINE}_config"
UBOOT_IMAGE = "u-boot-${MACHINE}-${PV}-${PR}.bin"
+UBOOT_MACHINE_dht-walnut = "walnut_config"
+
def gumstix_mhz(d):
import bb
m = bb.data.getVar('GUMSTIX_400MHZ', d, 1)