summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrishnanjanappa, Jagadeesh <jagadeesh.krishnanjanappa@caviumnetworks.com>2015-04-08 19:29:09 +0530
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-10 18:10:24 +0100
commitc793501c77d5f3a7c704a235cbd4a22e8ff86551 (patch)
tree75f2a12b4cb9af6282f8316afcb63b0b8453dc76
parentc0fc3c4727a69455d899b52ee9d0ebd341a7912d (diff)
downloadpoky-c793501c77d5f3a7c704a235cbd4a22e8ff86551.tar.gz
dpkg: add triplet entry to fix build error for armeb
Cross-compling dpkg application for armeb fails with below error during configure task, (snip) configure:23141: checking dpkg cpu type configure:23148: result: armeb configure:23150: WARNING: armeb not found in cputable configure:23162: checking dpkg operating system type configure:23169: result: linux-gnueabi configure:23171: WARNING: linux-gnueabi not found in ostable configure:23183: checking dpkg architecture name configure:23189: error: cannot determine host dpkg architecture -- CUT -- Add the required combination of "gnueabi-linux-armeb" entry in triplet list. (From OE-Core rev: 63eb33bced1fc1e5451988fc5249ab362fb82615) Signed-off-by: Krishnanjanappa, Jagadeesh <jagadeesh.krishnanjanappa@caviumnetworks.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/dpkg/dpkg/add_armeb_triplet_entry.patch38
-rw-r--r--meta/recipes-devtools/dpkg/dpkg_1.17.21.bb1
2 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-devtools/dpkg/dpkg/add_armeb_triplet_entry.patch b/meta/recipes-devtools/dpkg/dpkg/add_armeb_triplet_entry.patch
new file mode 100644
index 0000000000..af275dec17
--- /dev/null
+++ b/meta/recipes-devtools/dpkg/dpkg/add_armeb_triplet_entry.patch
@@ -0,0 +1,38 @@
1Author: Krishnanjanappa, Jagadeesh <jagadeesh.krishnanjanappa@caviumnetworks.com>
2Date: Wed Apr 8 18:08:14 2015 +0530
3
4[PATCH] add armeb triplet entry into triplettable.
5
6Cross-compling dpkg application for armeb fails with below error
7during configure task,
8
9(snip)
10 configure:23141: checking dpkg cpu type
11 configure:23148: result: armeb
12 configure:23150: WARNING: armeb not found in cputable
13 configure:23162: checking dpkg operating system type
14 configure:23169: result: linux-gnueabi
15 configure:23171: WARNING: linux-gnueabi not found in ostable
16 configure:23183: checking dpkg architecture name
17 configure:23189: error: cannot determine host dpkg architecture
18-- CUT --
19
20the required combination of "gnueabi-linux-armeb" was not found in
21the triplettable file thereby returning dpkg_arch as
22empty in configure script.
23
24Upstream-Status: Pending
25
26Signed-off-by: Krishnanjanappa, Jagadeesh <jagadeesh.krishnanjanappa@caviumnetworks.com>
27
28diff -Naurp dpkg-1.17.21_org/triplettable dpkg-1.17.21/triplettable
29--- dpkg-1.17.21_org/triplettable 2015-04-08 17:08:52.370759171 +0530
30+++ dpkg-1.17.21/triplettable 2015-04-08 17:09:12.406752081 +0530
31@@ -9,6 +9,7 @@ musleabihf-linux-arm musl-linux-armhf
32 musl-linux-<cpu> musl-linux-<cpu>
33 gnueabihf-linux-arm armhf
34 gnueabi-linux-arm armel
35+gnueabi-linux-armeb armeb
36 gnuabin32-linux-mips64el mipsn32el
37 gnuabin32-linux-mips64 mipsn32
38 gnuabi64-linux-mips64el mips64el
diff --git a/meta/recipes-devtools/dpkg/dpkg_1.17.21.bb b/meta/recipes-devtools/dpkg/dpkg_1.17.21.bb
index 15c0277015..ebb8671473 100644
--- a/meta/recipes-devtools/dpkg/dpkg_1.17.21.bb
+++ b/meta/recipes-devtools/dpkg/dpkg_1.17.21.bb
@@ -12,6 +12,7 @@ SRC_URI += "file://noman.patch \
12 file://dpkg-configure.service \ 12 file://dpkg-configure.service \
13 file://glibc2.5-sync_file_range.patch \ 13 file://glibc2.5-sync_file_range.patch \
14 file://no-vla-warning.patch \ 14 file://no-vla-warning.patch \
15 file://add_armeb_triplet_entry.patch \
15 " 16 "
16 17
17SRC_URI[md5sum] = "765a96fd0180196613bbfa3c4aef0775" 18SRC_URI[md5sum] = "765a96fd0180196613bbfa3c4aef0775"