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 */