nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aguettou...@apache.org
Subject [incubator-nuttx] 02/02: olimex-stm32-p407: update HAVE_MODSYMS judge for protected build
Date Tue, 19 May 2020 18:24:03 GMT
This is an automated email from the ASF dual-hosted git repository.

aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit a3b643fdc1efc8222f89f09cbe3ee23b78177dd7
Author: liuhaitao <liuhaitao@xiaomi.com>
AuthorDate: Tue May 19 17:31:43 2020 +0800

    olimex-stm32-p407: update HAVE_MODSYMS judge for protected build
    
    Fix build break as below:
    arm-none-eabi-ld: stm32_bringup.c:(.text+0x50): undefined reference to `g_mod_exports'
    
    Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
---
 boards/arm/stm32/olimex-stm32-p407/src/olimex-stm32-p407.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/boards/arm/stm32/olimex-stm32-p407/src/olimex-stm32-p407.h b/boards/arm/stm32/olimex-stm32-p407/src/olimex-stm32-p407.h
index 3272513..f3abd4a 100644
--- a/boards/arm/stm32/olimex-stm32-p407/src/olimex-stm32-p407.h
+++ b/boards/arm/stm32/olimex-stm32-p407/src/olimex-stm32-p407.h
@@ -134,7 +134,7 @@
 
 /* Module symbol table */
 
-#if !defined(CONFIG_EXAMPLES_MODULE) || defined(CONFIG_BUILD_FLAT)
+#if !defined(CONFIG_EXAMPLES_MODULE) || !defined(CONFIG_BUILD_FLAT)
 #  undef HAVE_MODSYMS
 #endif
 


Mime
View raw message