summaryrefslogtreecommitdiff
path: root/nuttx/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-04-29 21:50:53 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-04-29 21:50:53 +0000
commitfa7b78be9bd8af94f9282b8bf379e64edc84ddd6 (patch)
tree730144855acba8932a621b3f0ea15b0d4dd83ab4 /nuttx/Makefile
parent6463ba69dad3e46bde7b61c0d31262fd26a954b8 (diff)
downloadpx4-nuttx-fa7b78be9bd8af94f9282b8bf379e64edc84ddd6.tar.gz
px4-nuttx-fa7b78be9bd8af94f9282b8bf379e64edc84ddd6.tar.bz2
px4-nuttx-fa7b78be9bd8af94f9282b8bf379e64edc84ddd6.zip
Changes to resulting previous merge of arch/c5471 and arch/dm320 into arch/arm and
also to adding lpc214x to arch/arm. git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@194 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/Makefile')
-rw-r--r--nuttx/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/nuttx/Makefile b/nuttx/Makefile
index d27c28f39..c7351b0e6 100644
--- a/nuttx/Makefile
+++ b/nuttx/Makefile
@@ -63,10 +63,10 @@ include/nuttx/config.h: $(TOPDIR)/.config tools/mkconfig
# link the arch/<arch-name>/include dir to include/arch
include/arch: Make.defs
- @if [ -e include/arch ]; then \
- if [ -h include/arch ]; then \
- rm -f include/arch ; \
- else \
+ @if [ -h include/arch ]; then \
+ rm -f include/arch ; \
+ else \
+ if [ -e include/arch ]; then \
echo "include/arch exists but is not a symbolic link" ; \
exit 1 ; \
fi ; \
@@ -75,10 +75,10 @@ include/arch: Make.defs
# Link the configs/<board-name>/include dir to include/arch/board
include/arch/board: Make.defs include/arch
- @if [ -e include/arch/board ]; then \
- if [ -h include/arch/board ]; then \
+ @if [ -h include/arch/board ]; then \
rm -f include/arch/board ; \
- else \
+ else \
+ if [ -e include/arch/board ]; then \
echo "include/arch/board exists but is not a symbolic link" ; \
exit 1 ; \
fi ; \