aboutsummaryrefslogtreecommitdiff
path: root/meta-aarch64
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2013-10-15 11:10:10 +0300
committerFathi Boudra <fathi.boudra@linaro.org>2013-10-15 11:10:10 +0300
commitc818d144a369f1bd4fc6992486da123fcd0f4840 (patch)
tree252060bc37738e984ec37e786759d7427b0ee367 /meta-aarch64
parent9f0b4a433a5691ad7dea55ce1d73eb2dbaa38584 (diff)
libhugetlbfs: update cross-compile patch
the patch doesn't apply properly on latest git HEAD. Change-Id: Id107f80b4ca5818c7e40f03e1fed1a752276c838 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'meta-aarch64')
-rw-r--r--meta-aarch64/recipes-extended/libhugetlbfs/libhugetlbfs/cross-compile.patch12
1 files changed, 7 insertions, 5 deletions
diff --git a/meta-aarch64/recipes-extended/libhugetlbfs/libhugetlbfs/cross-compile.patch b/meta-aarch64/recipes-extended/libhugetlbfs/libhugetlbfs/cross-compile.patch
index f38a4b03..07cd34c4 100644
--- a/meta-aarch64/recipes-extended/libhugetlbfs/libhugetlbfs/cross-compile.patch
+++ b/meta-aarch64/recipes-extended/libhugetlbfs/libhugetlbfs/cross-compile.patch
@@ -1,7 +1,9 @@
-Index: git/Makefile
-===================================================================
---- git.orig/Makefile
-+++ git/Makefile
+---
+ Makefile | 24 ++++++++++++------------
+ 1 file changed, 12 insertions(+), 12 deletions(-)
+
+--- a/Makefile
++++ b/Makefile
@@ -37,60 +37,60 @@ ARCH = $(shell uname -m | sed -e s/i.86/
CUSTOM_LDSCRIPTS = yes
@@ -30,7 +32,7 @@ Index: git/Makefile
ELF32 += armelf_linux_eabi
CUSTOM_LDSCRIPTS = no
else
- ifeq ($(ARCH),aarch64)
+ ifneq (,$(findstring aarch64,$(ARCH)))
-CC64 = gcc
+CC64 = $(CC)
ELF64 = aarch64elf_linux