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>
This commit is contained in:
Krishnanjanappa, Jagadeesh
2015-04-08 19:29:09 +05:30
committed by Richard Purdie
parent c0fc3c4727
commit c793501c77
2 changed files with 39 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
Author: Krishnanjanappa, Jagadeesh <jagadeesh.krishnanjanappa@caviumnetworks.com>
Date: Wed Apr 8 18:08:14 2015 +0530
[PATCH] add armeb triplet entry into triplettable.
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 --
the required combination of "gnueabi-linux-armeb" was not found in
the triplettable file thereby returning dpkg_arch as
empty in configure script.
Upstream-Status: Pending
Signed-off-by: Krishnanjanappa, Jagadeesh <jagadeesh.krishnanjanappa@caviumnetworks.com>
diff -Naurp dpkg-1.17.21_org/triplettable dpkg-1.17.21/triplettable
--- dpkg-1.17.21_org/triplettable 2015-04-08 17:08:52.370759171 +0530
+++ dpkg-1.17.21/triplettable 2015-04-08 17:09:12.406752081 +0530
@@ -9,6 +9,7 @@ musleabihf-linux-arm musl-linux-armhf
musl-linux-<cpu> musl-linux-<cpu>
gnueabihf-linux-arm armhf
gnueabi-linux-arm armel
+gnueabi-linux-armeb armeb
gnuabin32-linux-mips64el mipsn32el
gnuabin32-linux-mips64 mipsn32
gnuabi64-linux-mips64el mips64el

View File

@@ -12,6 +12,7 @@ SRC_URI += "file://noman.patch \
file://dpkg-configure.service \
file://glibc2.5-sync_file_range.patch \
file://no-vla-warning.patch \
file://add_armeb_triplet_entry.patch \
"
SRC_URI[md5sum] = "765a96fd0180196613bbfa3c4aef0775"