this fixes a build issue on arm64.

Signed-off-by: Armin Kuster <akuster...@gmail.com>
---
 .../files/tripwire_add_aarch64_to_configure.patch  | 29 ++++++++++++++++++++++
 recipes-security/tripwire/tripwire_2.4.2.2.bb      |  1 +
 2 files changed, 30 insertions(+)
 create mode 100644 
recipes-security/tripwire/files/tripwire_add_aarch64_to_configure.patch

diff --git 
a/recipes-security/tripwire/files/tripwire_add_aarch64_to_configure.patch 
b/recipes-security/tripwire/files/tripwire_add_aarch64_to_configure.patch
new file mode 100644
index 0000000..fdaa494
--- /dev/null
+++ b/recipes-security/tripwire/files/tripwire_add_aarch64_to_configure.patch
@@ -0,0 +1,29 @@
+tripwire: Add aach64 support
+
+Upstream-Status: Submitted to tripwire-dev
+
+Signed-off-by: Armin Kuster <akus...@mvista.com>
+
+
+Index: config.sub
+===================================================================
+--- a/config.sub
++++ b/config.sub
+@@ -223,7 +223,7 @@ esac
+ case $basic_machine in
+       # Recognize the basic CPU types without company name.
+       # Some are omitted here because they have special meanings below.
+-      tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc \
++      tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | aarch64 | 
aarch64be |arc \
+               | arm | arme[lb] | arm[bl]e | armv[2345] | armv[345][lb] | 
strongarm | xscale \
+               | pyramid | mn10200 | mn10300 | tron | a29k \
+               | 580 | i960 | h8300 \
+@@ -267,7 +267,7 @@ case $basic_machine in
+       # Recognize the basic CPU types with company name.
+       # FIXME: clean up the formatting here.
+       vax-* | tahoe-* | i*86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* 
\
+-            | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | c[123]* \
++            | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | c[123]* | 
aarch64-* | aarch64be-*  \
+             | arm-*  | armbe-* | armle-* | armv*-* | strongarm-* | xscale-* \
+             | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
+             | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* 
\
diff --git a/recipes-security/tripwire/tripwire_2.4.2.2.bb 
b/recipes-security/tripwire/tripwire_2.4.2.2.bb
index a64edb9..6fc6759 100644
--- a/recipes-security/tripwire/tripwire_2.4.2.2.bb
+++ b/recipes-security/tripwire/tripwire_2.4.2.2.bb
@@ -14,6 +14,7 @@ SRC_URI = 
"${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}-src/${BPN}-${PV}/${BPN}-$
           file://twinstall.sh \
           file://twpol-yocto.txt \
           file://tripwire_add_ppc64.patch \
+       file://tripwire_add_aarch64_to_configure.patch \
        "
 SRC_URI[md5sum] = "2462ea16fb0b5ae810471011ad2f2dd6"
 SRC_URI[sha256sum] = 
"e09a7bdca9302e704cc62067399e0b584488f825b0e58c82ad6d54cd2e899fad"
-- 
1.9.1

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to