diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/dpkg/dpkg/add_armeb_triplet_entry.patch | 38 | ||||
-rw-r--r-- | meta/recipes-devtools/dpkg/dpkg_1.17.21.bb | 1 |
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 @@ | |||
1 | Author: Krishnanjanappa, Jagadeesh <jagadeesh.krishnanjanappa@caviumnetworks.com> | ||
2 | Date: Wed Apr 8 18:08:14 2015 +0530 | ||
3 | |||
4 | [PATCH] add armeb triplet entry into triplettable. | ||
5 | |||
6 | Cross-compling dpkg application for armeb fails with below error | ||
7 | during 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 | |||
20 | the required combination of "gnueabi-linux-armeb" was not found in | ||
21 | the triplettable file thereby returning dpkg_arch as | ||
22 | empty in configure script. | ||
23 | |||
24 | Upstream-Status: Pending | ||
25 | |||
26 | Signed-off-by: Krishnanjanappa, Jagadeesh <jagadeesh.krishnanjanappa@caviumnetworks.com> | ||
27 | |||
28 | diff -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 | ||
17 | SRC_URI[md5sum] = "765a96fd0180196613bbfa3c4aef0775" | 18 | SRC_URI[md5sum] = "765a96fd0180196613bbfa3c4aef0775" |