mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
Don't #error if no CPU is defined but we're not compiling the kernel.
This commit is contained in:
parent
809f920d59
commit
b2adc703fd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=159167
@ -72,7 +72,7 @@
|
||||
#endif
|
||||
|
||||
#define ARM_NARCH (ARM_ARCH_4 + ARM_ARCH_5)
|
||||
#if ARM_NARCH == 0 && !defined(KLD_MODULE)
|
||||
#if ARM_NARCH == 0 && !defined(KLD_MODULE) && defined(_KERNEL)
|
||||
#error ARM_NARCH is 0
|
||||
#endif
|
||||
|
||||
@ -120,7 +120,7 @@
|
||||
|
||||
#define ARM_NMMUS (ARM_MMU_MEMC + ARM_MMU_GENERIC + \
|
||||
ARM_MMU_SA1 + ARM_MMU_XSCALE)
|
||||
#if ARM_NMMUS == 0 && !defined(KLD_MODULE)
|
||||
#if ARM_NMMUS == 0 && !defined(KLD_MODULE) && defined(_KERNEL)
|
||||
#error ARM_NMMUS is 0
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user