From 175131fb31c23ca252cdad525f72d111ccc52456 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 27 Oct 2019 13:49:25 -0600 Subject: [PATCH] boards/arm/sama5/sama5d4-ek/src/sam_appinit.c: Fix error found in build testing. Bad conditional compilation for board_app_initialize(). Should depend only on CONFIG_LIB_BOARDCTL, CONFIG_BUILD_KERNEL is irrelevant. --- boards/arm/sama5/sama5d4-ek/src/sam_appinit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/arm/sama5/sama5d4-ek/src/sam_appinit.c b/boards/arm/sama5/sama5d4-ek/src/sam_appinit.c index 9da4ff13af..0609935b7b 100644 --- a/boards/arm/sama5/sama5d4-ek/src/sam_appinit.c +++ b/boards/arm/sama5/sama5d4-ek/src/sam_appinit.c @@ -43,7 +43,7 @@ #include "sama5d4-ek.h" -#ifndef CONFIG_BUILD_KERNEL +#ifdef CONFIG_LIB_BOARDCTL /**************************************************************************** * Pre-processor Definitions @@ -89,4 +89,4 @@ int board_app_initialize(uintptr_t arg) #endif } -#endif /* CONFIG_BUILD_KERNEL */ +#endif /* CONFIG_LIB_BOARDCTL */