summaryrefslogtreecommitdiff
path: root/package/gcc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-08-23 14:18:57 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-08-23 14:18:57 +0200
commit37829565dce0182bc0a8f13fd3412a4723f6d73b (patch)
treed29e155cccf685f0c4cbec41125f9eb07ae3a7b7 /package/gcc
parent89c97737dfc60a2e934f136c562dab5bb366396b (diff)
revert renaming of /init into /start
- fix foxboard build, tested on classic - remove unsed ibm-x40 target - update all targets to linux-2.6.30.5 - fix native build, use kernel.config.$(CPU_ARCH) as kernel configuration, when /proc/config.gz does not exist on host
Diffstat (limited to 'package/gcc')
-rw-r--r--package/gcc/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/gcc/Makefile b/package/gcc/Makefile
index 6f36c1a9f..28bea06bf 100644
--- a/package/gcc/Makefile
+++ b/package/gcc/Makefile
@@ -41,10 +41,10 @@ post-install:
${INSTALL_BIN} ${WRKINST}/usr/bin/gcc ${IDIR_GCC}/usr/bin/
${INSTALL_BIN} ${WRKINST}/usr/bin/cpp ${IDIR_GCC}/usr/bin/
${CP} ${WRKINST}/usr/lib/gcc/* ${IDIR_GCC}/usr/lib/gcc/
-ifeq ($(ADK_TARGET_LIB_GLIBC),y)
- ${CP} ${STAGING_DIR}/usr/lib/crt* ${IDIR_GCC}/usr/lib
-else
+ifeq ($(ADK_TARGET_LIB_UCLIBC),y)
${CP} ${STAGING_DIR}/lib/crt* ${IDIR_GCC}/usr/lib
+else
+ ${CP} ${STAGING_DIR}/usr/lib/crt* ${IDIR_GCC}/usr/lib
endif
rm -rf ${IDIR_GCC}/usr/lib/gcc/*/*/include-fixed
rm -rf ${IDIR_GCC}/usr/lib/gcc/*/*/install-tools