Skip to contentSkip to conversation

CPU_V6K build failure in next-20110223

PATCH Jamie Iles 2 participants 2 messages Feb 23, 2011 Arm (32-bit)

lore
Share & tools
lore

Jamie Iles

author
#0 lore raw

Hi Russell,

Building todays next tree for my board (CPU_V6K) results in the following build error:

CC arch/arm/kernel/asm-offsets.s
In file included from /home/jamiei/src/linux-2.6/arch/arm/include/asm/cacheflush.h:15,
from arch/arm/kernel/asm-offsets.c:16:
/home/jamiei/src/linux-2.6/arch/arm/include/asm/glue-cache.h:129:2: error: #error Unknown cache maintainence model make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

Building dove_defconfig also results in the same error. The patch below appears to fix the issue.

Jamie

8<----

arch/arm/include/asm/glue-cache.h +1 -1
index 0591d35..c7afbc5 100644
@@ -109,7 +109,7 @@
 # define MULTI_CACHE 1
 #endif
 
-#if defined(CONFIG_CPU_V6)
+#if defined(CONFIG_CPU_V6) || defined(CONFIG_CPU_V6K)
 //# ifdef _CACHE
 #  define MULTI_CACHE 1
 //# else

//
---->8

#1 lore raw
Quoted 12 lines · Jamie Iles

Hi Russell,

Building todays next tree for my board (CPU_V6K) results in the following build error:

CC arch/arm/kernel/asm-offsets.s
In file included from /home/jamiei/src/linux-2.6/arch/arm/include/asm/cacheflush.h:15,
from arch/arm/kernel/asm-offsets.c:16:
/home/jamiei/src/linux-2.6/arch/arm/include/asm/glue-cache.h:129:2: error: #error Unknown cache maintainence model make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

Quoted 2 lines

Building dove_defconfig also results in the same error. The patch below appears to fix the issue.

Welcome to the wonderful world of git conflicts with fixes needed in non-conflicting files...