hi all,
    the first one lib.patch make libpayload install itself into its own
directory which instead of "/opt".
xcompile.patch which fix the libpayload xcompile script load the wrong path
of coreboot/util.

Signed-off by: Cai Bai Yin <[email protected]>
Index: Makefile
===================================================================
--- Makefile	(revision 5634)
+++ Makefile	(working copy)
@@ -58,7 +58,7 @@
 HOSTCFLAGS := -I$(srck) -I$(objk) -pipe
 HOSTCXXFLAGS := -I$(srck) -I$(objk) -pipe
 
-DESTDIR = /opt
+DESTDIR = $(src)/install
 
 DOXYGEN := doxygen
 DOXYGEN_OUTPUT_DIR := doxygen
Index: util/xcompile/xcompile
===================================================================
--- util/xcompile/xcompile	(revision 5634)
+++ util/xcompile/xcompile	(working copy)
@@ -41,7 +41,7 @@
 # This should be a loop over all supported architectures
 TARCH=i386
 TWIDTH=32
-for gccprefixes in `pwd`/util/crossgcc/xgcc/bin/${TARCH}-elf- ${TARCH}-elf- ""; do
+for gccprefixes in `pwd`/../../util/crossgcc/xgcc/bin/${TARCH}-elf- ${TARCH}-elf- ""; do
 	if ! which ${gccprefixes}as 2>/dev/null >/dev/null; then
 		continue
 	fi
-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to