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
commita61ff643d4c2c9b1752c2e8b164be02beaa7ed0c (patch)
treebd9a2ed468109a1de4fb25aeaa84d46ad6ff3206 /sys-devel
parentTransition to Manifest2. (diff)
downloadgentoo-2-a61ff643d4c2c9b1752c2e8b164be02beaa7ed0c.tar.gz
gentoo-2-a61ff643d4c2c9b1752c2e8b164be02beaa7ed0c.tar.bz2
gentoo-2-a61ff643d4c2c9b1752c2e8b164be02beaa7ed0c.zip
break bare-metal targets out of linux handling and set KPKG to none
(Portage version: 2.1.2-r10)
Diffstat (limited to 'sys-devel')
-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"