From: Mike Frysinger Date: Thu, 22 Feb 2007 00:52:34 +0000 (+0000) Subject: break bare-metal targets out of linux handling and set KPKG to none X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b3d1c977956abbba4b7a11c9816e1160c88fba49;p=gentoo.git break bare-metal targets out of linux handling and set KPKG to none Package-Manager: portage-2.1.2-r10 --- 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"