diff options
| author | Nathan Rossi <nathan.rossi@xilinx.com> | 2013-04-30 16:27:22 +1000 |
|---|---|---|
| committer | Nathan Rossi <nathan.rossi@xilinx.com> | 2013-04-30 16:27:22 +1000 |
| commit | 2a978816d4c72190c1ca5853df069a3af866256d (patch) | |
| tree | 9295509b36c9c0d7d8a8d61c1004fa19636d0100 | |
| parent | 7d09b3e7fac01abd5c54fe34bcf0b85b60d1e059 (diff) | |
| download | meta-xilinx-2a978816d4c72190c1ca5853df069a3af866256d.tar.gz | |
gnu-config: Update for newer gnu-config in oe-core
* Backport the proper patch (with stripped Changelog entry)
Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
| -rw-r--r-- | recipes-devtools/gnu-config/files/config-microblazeel.patch | 43 | ||||
| -rw-r--r-- | recipes-devtools/gnu-config/files/microblazeel.patch | 68 | ||||
| -rw-r--r-- | recipes-devtools/gnu-config/gnu-config_20120814.bbappend (renamed from recipes-devtools/gnu-config/gnu-config_20111111.bbappend) | 2 |
3 files changed, 69 insertions, 44 deletions
diff --git a/recipes-devtools/gnu-config/files/config-microblazeel.patch b/recipes-devtools/gnu-config/files/config-microblazeel.patch deleted file mode 100644 index 01c2d2eb..00000000 --- a/recipes-devtools/gnu-config/files/config-microblazeel.patch +++ /dev/null | |||
| @@ -1,43 +0,0 @@ | |||
| 1 | Add "microblazeel" target to config.sub. | ||
| 2 | |||
| 3 | Index: git/config.sub | ||
| 4 | =================================================================== | ||
| 5 | --- git.orig/config.sub 2011-10-17 19:49:28.000000000 +1000 | ||
| 6 | +++ git/config.sub 2012-10-04 16:43:53.250376336 +1000 | ||
| 7 | @@ -154,7 +154,7 @@ | ||
| 8 | -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ | ||
| 9 | -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ | ||
| 10 | -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ | ||
| 11 | - -apple | -axis | -knuth | -cray | -microblaze) | ||
| 12 | + -apple | -axis | -knuth | -cray | -microblaze | -microblazeel) | ||
| 13 | os= | ||
| 14 | basic_machine=$1 | ||
| 15 | ;; | ||
| 16 | @@ -264,7 +264,7 @@ | ||
| 17 | | le32 | le64 \ | ||
| 18 | | lm32 \ | ||
| 19 | | m32c | m32r | m32rle | m68000 | m68k | m88k \ | ||
| 20 | - | maxq | mb | microblaze | mcore | mep | metag \ | ||
| 21 | + | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ | ||
| 22 | | mips | mipsbe | mipseb | mipsel | mipsle \ | ||
| 23 | | mips16 \ | ||
| 24 | | mips64 | mips64el \ | ||
| 25 | @@ -377,7 +377,7 @@ | ||
| 26 | | lm32-* \ | ||
| 27 | | m32c-* | m32r-* | m32rle-* \ | ||
| 28 | | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | ||
| 29 | - | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ | ||
| 30 | + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* | microblazeel-* \ | ||
| 31 | | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | ||
| 32 | | mips16-* \ | ||
| 33 | | mips64-* | mips64el-* \ | ||
| 34 | @@ -780,6 +780,9 @@ | ||
| 35 | microblaze) | ||
| 36 | basic_machine=microblaze-xilinx | ||
| 37 | ;; | ||
| 38 | + microblazeel) | ||
| 39 | + basic_machine=microblazeel-xilinx | ||
| 40 | + ;; | ||
| 41 | mingw32) | ||
| 42 | basic_machine=i386-pc | ||
| 43 | os=-mingw32 | ||
diff --git a/recipes-devtools/gnu-config/files/microblazeel.patch b/recipes-devtools/gnu-config/files/microblazeel.patch new file mode 100644 index 00000000..2b8249d5 --- /dev/null +++ b/recipes-devtools/gnu-config/files/microblazeel.patch | |||
| @@ -0,0 +1,68 @@ | |||
| 1 | From fb456b34ef4aa02b95dc6be69aaa66fa94a844fb Mon Sep 17 00:00:00 2001 | ||
| 2 | From: David Holsgrove <david.holsgrove@xilinx.com> | ||
| 3 | Date: Wed, 10 Oct 2012 04:33:17 +0000 | ||
| 4 | Subject: * config.sub (microblazeel): New. | ||
| 5 | |||
| 6 | * testsuite/config-sub.data: Add a test case. | ||
| 7 | |||
| 8 | Signed-off-by: Ben Elliston <bje@gnu.org> | ||
| 9 | Upstream-Status: Backport [Not part of 2012-08-14] | ||
| 10 | --- | ||
| 11 | diff --git a/config.sub b/config.sub | ||
| 12 | index bdda9e4..826e4c6 100755 | ||
| 13 | --- a/config.sub | ||
| 14 | +++ b/config.sub | ||
| 15 | @@ -156,7 +156,7 @@ case $os in | ||
| 16 | -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ | ||
| 17 | -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ | ||
| 18 | -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ | ||
| 19 | - -apple | -axis | -knuth | -cray | -microblaze) | ||
| 20 | + -apple | -axis | -knuth | -cray | -microblaze*) | ||
| 21 | os= | ||
| 22 | basic_machine=$1 | ||
| 23 | ;; | ||
| 24 | @@ -273,7 +273,7 @@ case $basic_machine in | ||
| 25 | | le32 | le64 \ | ||
| 26 | | lm32 \ | ||
| 27 | | m32c | m32r | m32rle | m68000 | m68k | m88k \ | ||
| 28 | - | maxq | mb | microblaze | mcore | mep | metag \ | ||
| 29 | + | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ | ||
| 30 | | mips | mipsbe | mipseb | mipsel | mipsle \ | ||
| 31 | | mips16 \ | ||
| 32 | | mips64 | mips64el \ | ||
| 33 | @@ -389,7 +389,8 @@ case $basic_machine in | ||
| 34 | | lm32-* \ | ||
| 35 | | m32c-* | m32r-* | m32rle-* \ | ||
| 36 | | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | ||
| 37 | - | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ | ||
| 38 | + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ | ||
| 39 | + | microblaze-* | microblazeel-* \ | ||
| 40 | | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | ||
| 41 | | mips16-* \ | ||
| 42 | | mips64-* | mips64el-* \ | ||
| 43 | @@ -788,7 +789,7 @@ case $basic_machine in | ||
| 44 | basic_machine=ns32k-utek | ||
| 45 | os=-sysv | ||
| 46 | ;; | ||
| 47 | - microblaze) | ||
| 48 | + microblaze*) | ||
| 49 | basic_machine=microblaze-xilinx | ||
| 50 | ;; | ||
| 51 | mingw64) | ||
| 52 | diff --git a/testsuite/config-sub.data b/testsuite/config-sub.data | ||
| 53 | index fafbca1..9bd2cd5 100644 | ||
| 54 | --- a/testsuite/config-sub.data | ||
| 55 | +++ b/testsuite/config-sub.data | ||
| 56 | @@ -99,8 +99,11 @@ mep mep-unknown-elf | ||
| 57 | metag-linux metag-unknown-linux-gnu | ||
| 58 | metag metag-unknown-none | ||
| 59 | microblaze-elf microblaze-unknown-elf | ||
| 60 | +microblazeel-elf microblazeel-unknown-elf | ||
| 61 | microblaze-linux microblaze-unknown-linux-gnu | ||
| 62 | +microblazeel-linux microblazeel-unknown-linux-gnu | ||
| 63 | microblaze microblaze-unknown-none | ||
| 64 | +microblazeel microblazeel-unknown-none | ||
| 65 | mingw32ce arm-unknown-mingw32ce | ||
| 66 | mingw64 x86_64-pc-mingw64 | ||
| 67 | mips64octeonel-elf mips64octeonel-unknown-elf | ||
| 68 | --- | ||
diff --git a/recipes-devtools/gnu-config/gnu-config_20111111.bbappend b/recipes-devtools/gnu-config/gnu-config_20120814.bbappend index 32d003f2..0a9331cb 100644 --- a/recipes-devtools/gnu-config/gnu-config_20111111.bbappend +++ b/recipes-devtools/gnu-config/gnu-config_20120814.bbappend | |||
| @@ -2,5 +2,5 @@ | |||
| 2 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | 2 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" |
| 3 | 3 | ||
| 4 | # Apply patch to add "microblazeel" support to gnu-config | 4 | # Apply patch to add "microblazeel" support to gnu-config |
| 5 | SRC_URI += "file://config-microblazeel.patch" | 5 | SRC_URI += "file://microblazeel.patch" |
| 6 | 6 | ||
