summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2013-07-12 16:24:25 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2013-09-22 11:08:14 +0200
commitc5da47cfef07b06dff64c3e1bd5ce16d80419fb6 (patch)
treeb5fea91cd1fa0286d1c053262143f738e1afcee1
parent4290f1a1c0bed2849b4914af0635c10addde1eba (diff)
u-boot: don't build the examples
- they do fail because they don't heed the private libgcc
-rw-r--r--recipes-bsp/u-boot/files/u-boot-dont-build-standalone.patch13
-rw-r--r--recipes-bsp/u-boot/u-boot_2011.06.bbappend2
2 files changed, 14 insertions, 1 deletions
diff --git a/recipes-bsp/u-boot/files/u-boot-dont-build-standalone.patch b/recipes-bsp/u-boot/files/u-boot-dont-build-standalone.patch
new file mode 100644
index 0000000..684aecb
--- /dev/null
+++ b/recipes-bsp/u-boot/files/u-boot-dont-build-standalone.patch
@@ -0,0 +1,13 @@
+--- git/examples/standalone/Makefile~ 2013-07-12 15:35:59.000000000 +0200
++++ git/examples/standalone/Makefile 2013-07-12 15:36:23.669235562 +0200
+@@ -88,7 +88,9 @@
+ CFLAGS_NTR := $(call cc-option,-fno-toplevel-reorder)
+ CFLAGS += $(CFLAGS_NTR)
+
+-all: $(obj).depend $(OBJS) $(LIB) $(SREC) $(BIN) $(ELF)
++#all: $(obj).depend $(OBJS) $(LIB) $(SREC) $(BIN) $(ELF)
++all:
++ :
+
+ #########################################################################
+ $(LIB): $(obj).depend $(LIBOBJS)
diff --git a/recipes-bsp/u-boot/u-boot_2011.06.bbappend b/recipes-bsp/u-boot/u-boot_2011.06.bbappend
index 340d5b1..f8c3ac2 100644
--- a/recipes-bsp/u-boot/u-boot_2011.06.bbappend
+++ b/recipes-bsp/u-boot/u-boot_2011.06.bbappend
@@ -15,7 +15,7 @@ DEFAULT_PREFERENCE_apalis-t30 = "1"
FILESPATHPKG =. "git:"
S="${WORKDIR}/git"
-SRC_URI_COLIBRI = "git://git.toradex.com/u-boot-toradex.git;protocol=git;branch=colibri"
+SRC_URI_COLIBRI = "git://git.toradex.com/u-boot-toradex.git;protocol=git;branch=colibri file://u-boot-dont-build-standalone.patch"
SRCREV_COLIBRI = "d7fcf63504425a73f74f3d1d2f5ba68533280ff4"
PV_colibri-t20 = "${PR}+gitr${SRCREV}"