summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-02-12 12:34:30 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-02-12 12:34:30 +0100
commit250a8ef6bb0da8ef615b167811081cc35b7a5fe7 (patch)
tree0cc3619127cec12b8bac6a733b4bf7f4740c8bfe
parentbc2fd4900222c904751d14906b5e4cd3372d14e8 (diff)
fix toolchain component linking
-rw-r--r--TODO3
-rw-r--r--toolchain/gcc/Makefile6
2 files changed, 5 insertions, 4 deletions
diff --git a/TODO b/TODO
index 500817d8d..6ed76a44d 100644
--- a/TODO
+++ b/TODO
@@ -1,4 +1,5 @@
-- cleanup toolchain building, add toolchain archiv creation target
+- cleanup toolchain building, add toolchain archive creation target
+- add fb full screen logo
- update uclibc to git
- update gcc to 4.8.2
- port opkg with gpg signing
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 951684443..26f1dc96a 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -175,11 +175,11 @@ $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
ln -sf $${app} \
$(GNU_TARGET_NAME)$${app##$(REAL_GNU_TARGET_NAME)}; \
done;
- # remove duplicate tools
+ # remove duplicate tools, convert hardlinks to symlinks
set -e; \
cd $(STAGING_HOST_DIR)/bin; \
- for app in $(REAL_GNU_TARGET_NAME)-* ; do \
- ln -sf ../$(REAL_GNU_TARGET_NAME)/bin/$${app##$(REAL_GNU_TARGET_NAME)-} $${app}; \
+ for app in ar as c++ g++ gcc gcc-${PKG_VERSION} ld ld.bfd nm objcopy objdump ranlib strip; do \
+ ln -sf ../$(REAL_GNU_TARGET_NAME)/bin/$${app} $(REAL_GNU_TARGET_NAME)-$${app}; \
done;
# setup symlink, so that gcc/g++ find cc1plus
(cd $(STAGING_HOST_DIR)/$(REAL_GNU_TARGET_NAME)/ && \