From 678832ca2b3f4e6f68a7114b1dd5a839bc3eaf1c Mon Sep 17 00:00:00 2001 From: Nathan Rossi Date: Thu, 4 Oct 2012 18:39:06 +1000 Subject: ncurses: Added patch to add "microblazeel" support to config.sub Signed-off-by: Nathan Rossi --- .../ncurses/files/config-microblazeel.patch | 43 ++++++++++++++++++++++ recipes-core/ncurses/ncurses_5.9.bbappend | 6 +++ 2 files changed, 49 insertions(+) create mode 100644 recipes-core/ncurses/files/config-microblazeel.patch create mode 100644 recipes-core/ncurses/ncurses_5.9.bbappend (limited to 'recipes-core') diff --git a/recipes-core/ncurses/files/config-microblazeel.patch b/recipes-core/ncurses/files/config-microblazeel.patch new file mode 100644 index 00000000..83146110 --- /dev/null +++ b/recipes-core/ncurses/files/config-microblazeel.patch @@ -0,0 +1,43 @@ +Add "microblazeel" target to config.sub. + +Index: ncurses/config.sub +=================================================================== +--- ncurses.orig/config.sub 2011-10-17 19:49:28.000000000 +1000 ++++ ncurses/config.sub 2012-10-04 16:43:53.250376336 +1000 +@@ -154,7 +154,7 @@ + -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ + -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ + -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ +- -apple | -axis | -knuth | -cray | -microblaze) ++ -apple | -axis | -knuth | -cray | -microblaze | -microblazeel) + os= + basic_machine=$1 + ;; +@@ -260,7 +260,7 @@ + | ip2k | iq2000 \ + | lm32 \ + | m32c | m32r | m32rle | m68000 | m68k | m88k \ +- | maxq | mb | microblaze | mcore | mep | metag \ ++ | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ + | mips | mipsbe | mipseb | mipsel | mipsle \ + | mips16 \ + | mips64 | mips64el \ +@@ -357,7 +357,7 @@ + | lm32-* \ + | m32c-* | m32r-* | m32rle-* \ + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ +- | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ ++ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* | microblazeel-* \ + | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ + | mips16-* \ + | mips64-* | mips64el-* \ +@@ -758,6 +758,9 @@ + microblaze) + basic_machine=microblaze-xilinx + ;; ++ microblaze) ++ basic_machine=microblazeel-xilinx ++ ;; + mingw32) + basic_machine=i386-pc + os=-mingw32 diff --git a/recipes-core/ncurses/ncurses_5.9.bbappend b/recipes-core/ncurses/ncurses_5.9.bbappend new file mode 100644 index 00000000..e7a4ac56 --- /dev/null +++ b/recipes-core/ncurses/ncurses_5.9.bbappend @@ -0,0 +1,6 @@ + +FILESEXTRAPATHS_prepend := "${THISDIR}/files:" + +# Apply patch to add "microblazeel" support to ncurses +SRC_URI += "file://config-microblazeel.patch" + -- cgit v1.2.3-54-g00ecf