mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-04 16:10:10 +00:00
libhugetlbfs: avoid search host library path for cross compilation
There was a patch fixing the same issue: libhugetlbfs-avoid-search-host-library-path-for-cros.patch but missed the elf_i386.xB*, this patch fixes for it. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
1d614260ca
commit
8023363d82
|
|
@ -0,0 +1,40 @@
|
|||
From 889e52753d30179ba4ac940023cb4ed561436ab8 Mon Sep 17 00:00:00 2001
|
||||
From: Jackie Huang <jackie.huang@windriver.com>
|
||||
Date: Tue, 4 Nov 2014 00:49:11 -0800
|
||||
Subject: [PATCH] libhugetlbfs/elf_i386: avoid search host library path for cross compilation
|
||||
|
||||
Upstream-Status: Inappropriate [cross compile specific]
|
||||
|
||||
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
|
||||
---
|
||||
ldscripts/elf_i386.xB | 1 -
|
||||
ldscripts/elf_i386.xBDT | 1 -
|
||||
2 files changed, 2 deletions(-)
|
||||
|
||||
diff --git a/ldscripts/elf_i386.xB b/ldscripts/elf_i386.xB
|
||||
index 43fe51c..eae0fa8 100644
|
||||
--- a/ldscripts/elf_i386.xB
|
||||
+++ b/ldscripts/elf_i386.xB
|
||||
@@ -3,7 +3,6 @@ OUTPUT_FORMAT("elf32-i386", "elf32-i386",
|
||||
"elf32-i386")
|
||||
OUTPUT_ARCH(i386)
|
||||
ENTRY(_start)
|
||||
-SEARCH_DIR("/usr/i486-linux-gnu/lib"); SEARCH_DIR("/usr/local/lib"); SEARCH_DIR("/lib"); SEARCH_DIR("/usr/lib");
|
||||
INPUT(-lhugetlbfs);
|
||||
/* Do we need any of these for elf?
|
||||
__DYNAMIC = 0; */
|
||||
diff --git a/ldscripts/elf_i386.xBDT b/ldscripts/elf_i386.xBDT
|
||||
index d72aebe..3bac1b1 100644
|
||||
--- a/ldscripts/elf_i386.xBDT
|
||||
+++ b/ldscripts/elf_i386.xBDT
|
||||
@@ -3,7 +3,6 @@ OUTPUT_FORMAT("elf32-i386", "elf32-i386",
|
||||
"elf32-i386")
|
||||
OUTPUT_ARCH(i386)
|
||||
ENTRY(_start)
|
||||
-SEARCH_DIR("/usr/i486-linux-gnu/lib"); SEARCH_DIR("/usr/local/lib"); SEARCH_DIR("/lib"); SEARCH_DIR("/usr/lib");
|
||||
INPUT(-lhugetlbfs);
|
||||
/* Do we need any of these for elf?
|
||||
__DYNAMIC = 0; */
|
||||
--
|
||||
1.7.9.5
|
||||
|
||||
|
|
@ -17,6 +17,7 @@ SRC_URI = " \
|
|||
file://libhugetlbfs-avoid-search-host-library-path-for-cros.patch \
|
||||
file://tests-Makefile-install-static-4G-edge-testcases.patch \
|
||||
file://0001-run_test.py-not-use-hard-coded-path-.-obj-hugeadm.patch \
|
||||
file://libhugetlbfs-elf_i386-avoid-search-host-library-path.patch \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user