summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-02-22 00:52:34 +0000
committerMike Frysinger <vapier@gentoo.org>2007-02-22 00:52:34 +0000
commitb3d1c977956abbba4b7a11c9816e1160c88fba49 (patch)
treee49b28ac328e0d23961c09a6534f4375996f4c82
parentRedigest for Manifest2 (diff)
downloadhistorical-b3d1c977956abbba4b7a11c9816e1160c88fba49.tar.gz
historical-b3d1c977956abbba4b7a11c9816e1160c88fba49.tar.bz2
historical-b3d1c977956abbba4b7a11c9816e1160c88fba49.zip
break bare-metal targets out of linux handling and set KPKG to none
Package-Manager: portage-2.1.2-r10
-rwxr-xr-xsys-devel/crossdev/files/crossdev11
1 files changed, 8 insertions, 3 deletions
diff --git a/sys-devel/crossdev/files/crossdev b/sys-devel/crossdev/files/crossdev
index a19cd716c62b..1c71b4319e90 100755
--- a/sys-devel/crossdev/files/crossdev
+++ b/sys-devel/crossdev/files/crossdev
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/files/crossdev,v 1.87 2007/02/17 13:50:04 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/files/crossdev,v 1.88 2007/02/22 00:52:34 vapier Exp $
cd /
umask 0022 #159111
@@ -191,13 +191,18 @@ parse_target() {
case ${CTARGET} in
# Normal Linux host, just diff libc
*-dietlibc) LPKG="dietlibc";;
- *-elf) LPKG="newlib";;
*-gnu*) LPKG="glibc";;
*-klibc) LPKG="klibc";;
- *-newlib) LPKG="newlib";;
*-uclibc*) LPKG="uclibc";;
*-uclinux) LPKG="uclibc";;
+ # Bare metal targets
+ *-newlib|*-elf)
+ LPKG="newlib"
+ KPKG="[none]"
+ STAGE=${STAGE_LIBC}
+ ;;
+
# Now for the BSDs ...
*-freebsd*)
LCAT="sys-freebsd" LPKG="freebsd-lib"