From f212c934e777709b4a6caefa3f07a066e51e2f01 Mon Sep 17 00:00:00 2001 From: Daniel Mierswa Date: Wed, 3 Dec 2008 19:35:33 +0100 Subject: [PATCH] add uClibc (don't use it!) --- .../uClibc/uClibc-0.9.30_rc3.exheres-0 | 6 ++++ packages/sys-libs/uClibc/uClibc.exlib | 33 +++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 packages/sys-libs/uClibc/uClibc-0.9.30_rc3.exheres-0 create mode 100644 packages/sys-libs/uClibc/uClibc.exlib diff --git a/packages/sys-libs/uClibc/uClibc-0.9.30_rc3.exheres-0 b/packages/sys-libs/uClibc/uClibc-0.9.30_rc3.exheres-0 new file mode 100644 index 0000000..a895282 --- /dev/null +++ b/packages/sys-libs/uClibc/uClibc-0.9.30_rc3.exheres-0 @@ -0,0 +1,6 @@ +# Copyright 2008 Daniel Mierswa +# Distributed under the terms of the GNU General Public License v2 + +require "${PN}" + +PLATFORMS="~amd64" diff --git a/packages/sys-libs/uClibc/uClibc.exlib b/packages/sys-libs/uClibc/uClibc.exlib new file mode 100644 index 0000000..5de25bb --- /dev/null +++ b/packages/sys-libs/uClibc/uClibc.exlib @@ -0,0 +1,33 @@ +# Copyright 2008 Daniel Mierswa +# Distributed under the terms of the GNU General Public License v2 + +require toolchain-funcs + +SUMMARY="A C library for developing embedded Linux systems." +DESCRIPTION="A small C library that runs on standard Linux and MMU-less (also + known as µClinux) systems with support for alpha, amd64, ARM, Blackfin, + cris, h8300, hppa, i386, i960, ia64, m68k, mips/mipsel, PowerPC, SH, SPARC, + and v850 processors." +HOMEPAGE="http://www.${PN}.org" +DOWNLOADS="${HOMEPAGE}/downloads/${PNV/_/-}.tar.bz2" + +LICENCES="" +SLOT="0" +MYOPTIONS="" + +DEPENDENCIES="" + +WORK="${WORKBASE}/${PNV/_/-}" + +DEFAULT_SRC_INSTALL_PARAMS=( PREFIX="${IMAGE}/usr" ) + +src_compile() { + make defconfig + + make \ + CC=$(tc-getCC) \ + AR=$(tc-getAR) \ + LD=$(tc-getLD) \ + NM=$(tc-getNM) \ + HOSTCC=$(tc-getBUILD_CC) +}