From c818d144a369f1bd4fc6992486da123fcd0f4840 Mon Sep 17 00:00:00 2001 From: Fathi Boudra Date: Tue, 15 Oct 2013 11:10:10 +0300 Subject: libhugetlbfs: update cross-compile patch the patch doesn't apply properly on latest git HEAD. Change-Id: Id107f80b4ca5818c7e40f03e1fed1a752276c838 Signed-off-by: Fathi Boudra --- .../libhugetlbfs/libhugetlbfs/cross-compile.patch | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'meta-aarch64') diff --git a/meta-aarch64/recipes-extended/libhugetlbfs/libhugetlbfs/cross-compile.patch b/meta-aarch64/recipes-extended/libhugetlbfs/libhugetlbfs/cross-compile.patch index f38a4b0..07cd34c 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 -- cgit v1.2.3