[coreboot-gerrit] New patch to review for coreboot: WIP: Separate out library dependencies even more

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Wed Apr 13 21:55:23 CEST 2016


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14348

-gerrit

commit 94081f671ac623c19831acf3d30f53ba4b6c223b
Author: Stefan Reinauer <stefan.reinauer at coreboot.org>
Date:   Wed Apr 13 12:54:38 2016 -0700

    WIP: Separate out library dependencies even more
    
    Not even close to complete.
    
    Change-Id: I5341401f2daa66de57fac39c34529bb71a3327b3
    Signed-off-by: Stefan Reinauer <stefan.reinauer at coreboot.org>
---
 util/crossgcc/buildgcc | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index 12272c1..16d852f 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -316,6 +316,9 @@ build() {
 		fi
 		printf "${green}ok${NC}\n"
 	fi
+
+	rm -f "$DESTDIR$TARGETDIR/share/$package-*"
+	touch "$DESTDIR$TARGETDIR/share/$package-$CROSSGCC_VERSION-$CROSGCC_COMMIT"
 }
 
 cleanup()
@@ -665,10 +668,16 @@ esac
 # Figure out which packages to build
 
 case "$PACKAGE" in
+	LIBS|libs)
+		NAME="GNU library dependencies"
+		PACKAGES="GMP MPFR MPC LIBELF"
+		;;
 	GCC|gcc)
 		echo "Target architecture is now $TARGETARCH"
 		NAME="${TARGETARCH} cross GCC"
-		PACKAGES="GMP MPFR MPC LIBELF BINUTILS GCC"
+# XXX check destination for LIBS
+# Extract CFLAGS when not building libs
+		PACKAGES="BINUTILS GCC"
 		;;
 	GDB|gdb)
 		NAME="${TARGETARCH} cross GDB"



More information about the coreboot-gerrit mailing list