[oe-commits] Ulf Samuelsson : Use an include file to determine which patches are needed for u-boot

git version control git at git.openembedded.org
Sat Aug 22 14:56:04 UTC 2009


Module: openembedded.git
Branch: ulf/linux-2.6.30.2
Commit: b4737f9bc54a3d4230df054d5963c44e3d1af33d
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b4737f9bc54a3d4230df054d5963c44e3d1af33d

Author: Ulf Samuelsson <ulf.samuelsson at atmel.com>
Date:   Sat Aug 22 16:30:54 2009 +0200

Use an include file to determine which patches are needed for u-boot

---

 .../u-boot/u-boot-2009.08-rc2/SRC_URI_append.inc   |   16 ++++++++++++++++
 .../{ => old}/u-boot-2009.08-rc1-add-raise.patch   |    0 
 .../{ => old}/u-boot-2009.08-rc1-eabi.patch        |    0 
 ...atch => u-boot-2009.08-rc1-016-add-raise.patch} |    0 
 ...abi.patch => u-boot-2009.08-rc1-017-eabi.patch} |    0 
 recipes/u-boot/u-boot_2009.08-rc2.bb               |   14 +-------------
 6 files changed, 17 insertions(+), 13 deletions(-)

diff --git a/recipes/u-boot/u-boot-2009.08-rc2/SRC_URI_append.inc b/recipes/u-boot/u-boot-2009.08-rc2/SRC_URI_append.inc
new file mode 100644
index 0000000..55b373b
--- /dev/null
+++ b/recipes/u-boot/u-boot-2009.08-rc2/SRC_URI_append.inc
@@ -0,0 +1,16 @@
+SRC_URI_append = "\
+	file://u-boot-2009.08-rc1-001-nosoftfloat.patch;patch=1 \
+	file://u-boot-2009.08-rc1-007-tools.patch;patch=1 \
+	file://u-boot-2009.08-rc1-008-Makefile.patch;patch=1 \
+	file://u-boot-2009.08-rc1-009-factory.patch;patch=1 \
+	file://u-boot-2009.08-rc1-010-coloured_led.patch;patch=1 \
+	file://u-boot-2009.08-rc1-012-ethinit.patch;patch=1 \
+	file://u-boot-2009.08-rc1-013-configs.patch;patch=1 \
+	file://u-boot-2009.08-rc1-014-no-weak-inlines.patch;patch=1 \
+	file://u-boot-2009.08-rc1-015-large-u-boot.patch;patch=1 \
+	file://u-boot-2009.08-rc1-016-add-raise.patch;patch=1 \
+	file://u-boot-2009.08-rc1-017-eabi.patch;patch=1 \
+	file://u-boot-2009.08-rc2-018-sam9m10ek_and_sam9g45ek.patch;patch=1 \
+	file://u-boot-2009.08-rc2-019-configs.patch;patch=1 \
+	file://u-boot-2009.08-rc2-020-comment.patch;patch=1 \
+	"
diff --git a/recipes/u-boot/u-boot-2009.08-rc2/u-boot-2009.08-rc1-add-raise.patch b/recipes/u-boot/u-boot-2009.08-rc2/old/u-boot-2009.08-rc1-add-raise.patch
similarity index 100%
copy from recipes/u-boot/u-boot-2009.08-rc2/u-boot-2009.08-rc1-add-raise.patch
copy to recipes/u-boot/u-boot-2009.08-rc2/old/u-boot-2009.08-rc1-add-raise.patch
diff --git a/recipes/u-boot/u-boot-2009.08-rc2/u-boot-2009.08-rc1-eabi.patch b/recipes/u-boot/u-boot-2009.08-rc2/old/u-boot-2009.08-rc1-eabi.patch
similarity index 100%
copy from recipes/u-boot/u-boot-2009.08-rc2/u-boot-2009.08-rc1-eabi.patch
copy to recipes/u-boot/u-boot-2009.08-rc2/old/u-boot-2009.08-rc1-eabi.patch
diff --git a/recipes/u-boot/u-boot-2009.08-rc2/u-boot-2009.08-rc1-add-raise.patch b/recipes/u-boot/u-boot-2009.08-rc2/u-boot-2009.08-rc1-016-add-raise.patch
similarity index 100%
rename from recipes/u-boot/u-boot-2009.08-rc2/u-boot-2009.08-rc1-add-raise.patch
rename to recipes/u-boot/u-boot-2009.08-rc2/u-boot-2009.08-rc1-016-add-raise.patch
diff --git a/recipes/u-boot/u-boot-2009.08-rc2/u-boot-2009.08-rc1-eabi.patch b/recipes/u-boot/u-boot-2009.08-rc2/u-boot-2009.08-rc1-017-eabi.patch
similarity index 100%
rename from recipes/u-boot/u-boot-2009.08-rc2/u-boot-2009.08-rc1-eabi.patch
rename to recipes/u-boot/u-boot-2009.08-rc2/u-boot-2009.08-rc1-017-eabi.patch
diff --git a/recipes/u-boot/u-boot_2009.08-rc2.bb b/recipes/u-boot/u-boot_2009.08-rc2.bb
index b2f431c..7347240 100644
--- a/recipes/u-boot/u-boot_2009.08-rc2.bb
+++ b/recipes/u-boot/u-boot_2009.08-rc2.bb
@@ -29,19 +29,7 @@ DEFAULT_PREFERENCE_at91capstk = "2"
 
 SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 "
 
-SRC_URI_append = " \
-	file://u-boot-2009.08-rc1-001-nosoftfloat.patch;patch=1 \
-	file://u-boot-2009.08-rc1-007-tools.patch;patch=1 \
-	file://u-boot-2009.08-rc1-008-Makefile.patch;patch=1 \
-	file://u-boot-2009.08-rc1-009-factory.patch;patch=1 \
-	file://u-boot-2009.08-rc1-010-coloured_led.patch;patch=1 \
-	file://u-boot-2009.08-rc1-012-ethinit.patch;patch=1 \
-	file://u-boot-2009.08-rc1-013-configs.patch;patch=1 \
-	file://u-boot-2009.08-rc1-014-no-weak-inlines.patch;patch=1 \
-	file://u-boot-2009.08-rc1-015-large-u-boot.patch;patch=1 \
-	file://u-boot-2009.08-rc1-add-raise.patch;patch=1 \
-	file://u-boot-2009.08-rc1-eabi.patch;patch=1 \
-	"
+require	${FILE_DIRNAME}/u-boot-${PV}/SRC_URI_append.inc
 
 TARGET_LDFLAGS = ""
 





More information about the Openembedded-commits mailing list