From c5da47cfef07b06dff64c3e1bd5ce16d80419fb6 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Fri, 12 Jul 2013 16:24:25 +0200 Subject: u-boot: don't build the examples - they do fail because they don't heed the private libgcc --- recipes-bsp/u-boot/files/u-boot-dont-build-standalone.patch | 13 +++++++++++++ recipes-bsp/u-boot/u-boot_2011.06.bbappend | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 recipes-bsp/u-boot/files/u-boot-dont-build-standalone.patch (limited to 'recipes-bsp') 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}" -- cgit v1.2.3