diff options
author | cognet <cognet@FreeBSD.org> | 2004-11-04 19:16:31 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2004-11-04 19:16:31 +0000 |
commit | 174862f7bbe6e86b700b32335962130383967180 (patch) | |
tree | 8f69790bf73c557d58362af83882ffb3f0628307 /sys/arm/include/cpuconf.h | |
parent | ad6f843dc24314d1e58827cd9f08c15fcc7d54be (diff) | |
download | FreeBSD-src-174862f7bbe6e86b700b32335962130383967180.zip FreeBSD-src-174862f7bbe6e86b700b32335962130383967180.tar.gz |
Don't barf if no CPU type is defined while compiling kernel modules.
Diffstat (limited to 'sys/arm/include/cpuconf.h')
-rw-r--r-- | sys/arm/include/cpuconf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arm/include/cpuconf.h b/sys/arm/include/cpuconf.h index 1b7d81b..298c985 100644 --- a/sys/arm/include/cpuconf.h +++ b/sys/arm/include/cpuconf.h @@ -103,7 +103,7 @@ #endif #define ARM_NARCH (ARM_ARCH_2 + ARM_ARCH_3 + ARM_ARCH_4 + ARM_ARCH_5) -#if ARM_NARCH == 0 +#if ARM_NARCH == 0 && !defined(_KLD_MODULE) #error ARM_NARCH is 0 #endif @@ -151,7 +151,7 @@ #define ARM_NMMUS (ARM_MMU_MEMC + ARM_MMU_GENERIC + \ ARM_MMU_SA1 + ARM_MMU_XSCALE) -#if ARM_NMMUS == 0 +#if ARM_NMMUS == 0 && !defined(KLD_MODULE) #error ARM_NMMUS is 0 #endif |