diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-01-02 20:24:07 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-01-02 20:24:07 +0000 |
commit | 85aed0057cb80a85ad1445dca6661fa544cd2b30 (patch) | |
tree | cea543975b7a11db16f3d5fcfa34ad53c0a17aa4 /misc/buildroot/toolchain/gcc | |
parent | 47501014fa60b2b20e33477338d91b7d55c69f9b (diff) | |
download | px4-nuttx-85aed0057cb80a85ad1445dca6661fa544cd2b30.tar.gz px4-nuttx-85aed0057cb80a85ad1445dca6661fa544cd2b30.tar.bz2 px4-nuttx-85aed0057cb80a85ad1445dca6661fa544cd2b30.zip |
Add support for m68hc11/12
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@481 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'misc/buildroot/toolchain/gcc')
-rw-r--r-- | misc/buildroot/toolchain/gcc/gcc-nuttx-3.x.mk | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/misc/buildroot/toolchain/gcc/gcc-nuttx-3.x.mk b/misc/buildroot/toolchain/gcc/gcc-nuttx-3.x.mk index a5d09e50d..2b42ff997 100644 --- a/misc/buildroot/toolchain/gcc/gcc-nuttx-3.x.mk +++ b/misc/buildroot/toolchain/gcc/gcc-nuttx-3.x.mk @@ -250,12 +250,14 @@ endif # Set up the symlinks to enable lying about target name. set -e; \ (cd $(STAGING_DIR); \ - ln -snf $(REAL_GNU_TARGET_NAME) $(GNU_TARGET_NAME); \ - cd bin; \ - for app in $(REAL_GNU_TARGET_NAME)-* ; do \ - ln -snf $${app} \ - $(GNU_TARGET_NAME)$${app##$(REAL_GNU_TARGET_NAME)}; \ - done; \ + if [ "$(REAL_GNU_TARGET_NAME)" != "$(GNU_TARGET_NAME)" ]; then \ + ln -snf $(REAL_GNU_TARGET_NAME) $(GNU_TARGET_NAME); \ + cd bin; \ + for app in $(REAL_GNU_TARGET_NAME)-* ; do \ + ln -snf $${app} \ + $(GNU_TARGET_NAME)$${app##$(REAL_GNU_TARGET_NAME)}; \ + done; \ + fi; \ ); # # Now for the ugly 3.3.x soft float hack... |