From 85aed0057cb80a85ad1445dca6661fa544cd2b30 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 2 Jan 2008 20:24:07 +0000 Subject: Add support for m68hc11/12 git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@481 42af7a65-404d-4744-a932-0658087f49c3 --- misc/buildroot/toolchain/gcc/gcc-nuttx-3.x.mk | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'misc/buildroot/toolchain') 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... -- cgit v1.2.3