Skip to contentSkip to conversation

make fails to create correct arch include symlink

DISCUSSION Paulius Zaleckas 1 participant 1 message Jul 16, 2008 Kbuild

lore
Share & tools
lore
#0 lore raw

Here is what happens:
---
[paulius@home linux-2.6]$ make all ARCH=arm CROSS_COMPILE=arm-linux-
CHK include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
ERROR: the symlink include/asm points to asm-x86 but asm-arm was expected
set ARCH or save .config and run 'make mrproper' to fix it
make: *** [include/asm] Error 1
---

I know that 'make mrproper' will work, but
"set ARCH or save .config and run 'make mrproper' to fix it" ARCH is set, but it fails!

BR,
Paulius Zaleckas