diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-01-16 10:42:54 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-01-16 10:42:54 -0600 |
commit | a40df14d66e0608caef06170985b654e7a89743d (patch) | |
tree | 45fba22704439a3860a0f7015891619bdb04cd1b /nuttx/Makefile.win | |
parent | 41bc327c19c9b05329ccd00b8b5c650e698c2a00 (diff) | |
download | px4-nuttx-a40df14d66e0608caef06170985b654e7a89743d.tar.gz px4-nuttx-a40df14d66e0608caef06170985b654e7a89743d.tar.bz2 px4-nuttx-a40df14d66e0608caef06170985b654e7a89743d.zip |
You can again specify the default board sub-directory when CONFIG_ARCH_BOARD_CUSTOM is used
Diffstat (limited to 'nuttx/Makefile.win')
-rw-r--r-- | nuttx/Makefile.win | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/nuttx/Makefile.win b/nuttx/Makefile.win index 3acf4187b..533ebc1b2 100644 --- a/nuttx/Makefile.win +++ b/nuttx/Makefile.win @@ -56,7 +56,12 @@ KDEFINE = ${shell $(TOPDIR)\tools\define.bat "$(CC)" __KERNEL__} ARCH_DIR = arch\$(CONFIG_ARCH) ARCH_SRC = $(ARCH_DIR)\src ARCH_INC = $(ARCH_DIR)\include -BOARD_DIR = configs\$(CONFIG_ARCH_BOARD) + +ifeq ($(CONFIG_ARCH_BOARD_CUSTOM),y) + BOARD_DIR = $(CONFIG_ARCH_BOARD_CUSTOM_DIR) +else + BOARD_DIR = configs/$(CONFIG_ARCH_BOARD) +endif # Add-on directories. These may or may not be in place in the # NuttX source tree (they must be specifically installed) |