arch/arm/src/armv7-a: Guard some assembly files if configuration not selected.

This commit is contained in:
zhangyuan7 2019-03-19 11:15:21 -06:00 committed by Gregory Nutt
parent c59dabe41c
commit 2bc3eddb79
4 changed files with 12 additions and 1 deletions

View File

@ -50,6 +50,8 @@
#include "chip.h"
#include "up_internal.h"
#ifdef CONFIG_SMP
.file "arm_cpuhead.S"
/**********************************************************************************
@ -492,5 +494,5 @@ g_cpu3_idlestack:
#endif /* CONFIG_SMP_NCPUS > 3 */
#endif /* CONFIG_SMP_NCPUS > 2 */
#endif /* CONFIG_SMP_NCPUS > 1 */
#endif
.end

View File

@ -40,6 +40,8 @@
#include <nuttx/config.h>
#include "cp15.h"
#ifdef CONFIG_ARCH_FPU
.file "arm_fpuconfig.S"
/****************************************************************************
@ -95,4 +97,5 @@ arm_fpuconfig:
fmxr fpexc, r0
bx lr
.size arm_fpuconfig, . - arm_fpuconfig
#endif
.end

View File

@ -48,6 +48,8 @@
#include "chip.h"
#include "up_internal.h"
#ifndef CONFIG_PAGING
.file "arm_head.S"
/**********************************************************************************
@ -799,4 +801,5 @@ g_idle_topstack:
.long _ebss+CONFIG_IDLETHREAD_STACKSIZE
#endif
.size g_idle_topstack, .-g_idle_topstack
#endif
.end

View File

@ -50,6 +50,8 @@
#include "chip.h"
#include "up_internal.h"
#ifdef CONFIG_PAGING
.file "arm_pghead.S"
/**********************************************************************************
@ -835,4 +837,5 @@ g_idle_topstack:
.long _ebss+CONFIG_IDLETHREAD_STACKSIZE
#endif
.size g_idle_topstack, .-g_idle_topstack
#endif
.end