diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-01 21:08:56 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-01 21:08:56 +0000 |
commit | 6bd29cb2e3c9dfedee2cbd73a324eaef76c292ae (patch) | |
tree | a99511f64eea990fb7d0f9595cc4933608fc8567 /misc/uClibc++/install.sh | |
parent | 43f7ddc7d410a4982ec78cc45cc413a3270d1b52 (diff) | |
download | px4-nuttx-6bd29cb2e3c9dfedee2cbd73a324eaef76c292ae.tar.gz px4-nuttx-6bd29cb2e3c9dfedee2cbd73a324eaef76c292ae.tar.bz2 px4-nuttx-6bd29cb2e3c9dfedee2cbd73a324eaef76c292ae.zip |
uClibc++ compiles... but it is a long way from linking
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5293 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'misc/uClibc++/install.sh')
-rwxr-xr-x | misc/uClibc++/install.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/misc/uClibc++/install.sh b/misc/uClibc++/install.sh index 065738e1a..d0bf8e211 100755 --- a/misc/uClibc++/install.sh +++ b/misc/uClibc++/install.sh @@ -261,6 +261,15 @@ if [ ! -d "${nuttxcxx_incdir}" ]; then exit 1 fi +uclibc_incdir=${nuttx_incdir}/uClibc++ + +if [ -d "${uclibc_incdir}" ]; then + echo "ERROR: Directory ${uclibc_incdir} already exists" + echo " Please remove the ${uclibc_incdir} directory and try again" + echo $usage + exit 1 +fi + # Licensing echo "You are about to install the uClibc++ library into the NuttX source" |