In the linux kernel ,lots of directory have makefile file .Makefile in the main directory
need call the Makefile in the other subdirectory .
When run the clearmake firstly ,the clearmake will call the Makefile in the linux-davinci-2.6.10.
then the Makefile need call the Makefile in the arch/arm/ directory.
I think the clearmake can't parse correctly the 133 line .
The below is the Makefile context in the linux-davinci-2.6.10 directory.
133 srctree := $(if $(KBUILD_SRC),$(KBUILD_SRC),$(CURDIR))
552 include $(srctree)/arch/$(ARCH)/Makefile
553 # warn about C99 declaration after statement
554 CFLAGS += $(call cc-option,-Wdeclaration-after-statement,)
555
556 # Default kernel image to build when no specific target is given.
557 # KBUILD_IMAGE may be overruled on the commandline or
The below is the directory structure in the linux-davinci-2.6.10.
-bash-3.2$ cd linux-davinci-2.6.10
-bash-3.2$ ls
arch crypto drivers init ktools MAINTAINERS mvl_patches release security
COPYING DEV_LSP_01_20_00_004_1.txt fs ipc lib Makefile net REPORTING-BUGS sound
CREDITS
The below is the directory structure in the linux-davinci-2.6.10/arch/arm.
-bash-3.2$ cd arch/arm
-bash-3.2$ ls
boot Kconfig mach-clps711x mach-epxa10db mach-integrator mach-l7200 mach-rpc mach-versatile oprofile
common Kconfig.debug mach-clps7500 mach-footbridge mach-iop3xx mach-lh7a40x mach-s3c2410 Makefile tools
configs kernel mach-davinci mach-h720x mach-ixp2000 mach-omap mach-sa1100 mm vfp
defconfig lib mach-ebsa110 mach-imx mach-ixp4xx mach-pxa mach-shark nwfpe
-bash-3.2$