diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-04-26 00:44:27 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-04-26 00:44:27 +0000 |
commit | 02755ff439dd361643294af1c10937845d848f69 (patch) | |
tree | b2bb0fa9ef736491fa4621775d9a7ef29ea75737 /nuttx/Makefile | |
parent | 8f5b31f86a63ba054b0a463deb7e13910c4140d0 (diff) | |
download | px4-nuttx-02755ff439dd361643294af1c10937845d848f69.tar.gz px4-nuttx-02755ff439dd361643294af1c10937845d848f69.tar.bz2 px4-nuttx-02755ff439dd361643294af1c10937845d848f69.zip |
arch/c5471/include and arch/dm320/include are not identical. This is in preparation to replace arch/c5471 and arch/dm320 with arch/arm
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@186 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/Makefile')
-rw-r--r-- | nuttx/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/nuttx/Makefile b/nuttx/Makefile index b0af8e938..d27c28f39 100644 --- a/nuttx/Makefile +++ b/nuttx/Makefile @@ -87,10 +87,10 @@ include/arch/board: Make.defs include/arch # Link the configs/<board-name>/src dir to arch/<arch-name>/src/board $(ARCH_SRC)/board: Make.defs - @if [ -e $(ARCH_SRC)/board ]; then \ - if [ -h $(ARCH_SRC)/board ]; then \ - rm -f $(ARCH_SRC)/board ; \ - else \ + @if [ -h $(ARCH_SRC)/board ]; then \ + rm -f $(ARCH_SRC)/board ; \ + else \ + if [ -e $(ARCH_SRC)/board ]; then \ echo "$(ARCH_SRC)/board exists but is not a symbolic link" ; \ exit 1 ; \ fi ; \ @@ -100,10 +100,10 @@ $(ARCH_SRC)/board: Make.defs # Link arch/<arch-name>/include/<chip-name> to arch/<arch-name>/include/chip $(ARCH_SRC)/chip: Make.defs ifneq ($(CONFIG_ARCH_CHIP),) - @if [ -e $(ARCH_SRC)/chip ]; then \ - if [ -h $(ARCH_SRC)/chip ]; then \ - rm -f $(ARCH_SRC)/chip ; \ - else \ + @if [ -h $(ARCH_SRC)/chip ]; then \ + rm -f $(ARCH_SRC)/chip ; \ + else \ + if [ -e $(ARCH_SRC)/chip ]; then \ echo "$(ARCH_SRC)/chip exists but is not a symbolic link" ; \ exit 1 ; \ fi ; \ |