diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-26 15:06:50 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-26 15:06:50 +0000 |
commit | 582b39047e192bf28c568fc53fcff168c8293841 (patch) | |
tree | 237ee27237a2933afa2e945fb703db576b867640 /nuttx/configs/olimex-stm32-p107 | |
parent | a9de389d80485f8f305c7161e1312ef9a450892a (diff) | |
download | px4-nuttx-582b39047e192bf28c568fc53fcff168c8293841.tar.gz px4-nuttx-582b39047e192bf28c568fc53fcff168c8293841.tar.bz2 px4-nuttx-582b39047e192bf28c568fc53fcff168c8293841.zip |
Misc build fixes, some from Mike some for ez80 native build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5389 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/olimex-stm32-p107')
-rw-r--r-- | nuttx/configs/olimex-stm32-p107/nsh/Make.defs | 6 | ||||
-rw-r--r-- | nuttx/configs/olimex-stm32-p107/ostest/Make.defs | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/nuttx/configs/olimex-stm32-p107/nsh/Make.defs b/nuttx/configs/olimex-stm32-p107/nsh/Make.defs index 98871a47d..93677479f 100644 --- a/nuttx/configs/olimex-stm32-p107/nsh/Make.defs +++ b/nuttx/configs/olimex-stm32-p107/nsh/Make.defs @@ -37,6 +37,12 @@ include ${TOPDIR}/.config include ${TOPDIR}/tools/Config.mk include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs +ifeq ($(CONFIG_STM32_DFU),y) + LDSCRIPT = ld.script.dfu +else + LDSCRIPT = ld.script +endif + ifeq ($(WINTOOL),y) # Windows-native toolchains DIRLINK = $(TOPDIR)/tools/winlink.sh diff --git a/nuttx/configs/olimex-stm32-p107/ostest/Make.defs b/nuttx/configs/olimex-stm32-p107/ostest/Make.defs index 75f0ed881..7a27f7755 100644 --- a/nuttx/configs/olimex-stm32-p107/ostest/Make.defs +++ b/nuttx/configs/olimex-stm32-p107/ostest/Make.defs @@ -37,6 +37,12 @@ include ${TOPDIR}/.config include ${TOPDIR}/tools/Config.mk include ${TOPDIR}/arch/arm/src/armv7-m/Toolchain.defs +ifeq ($(CONFIG_STM32_DFU),y) + LDSCRIPT = ld.script.dfu +else + LDSCRIPT = ld.script +endif + ifeq ($(WINTOOL),y) # Windows-native toolchains DIRLINK = $(TOPDIR)/tools/winlink.sh |