find -name Makefile | cut -d: -f 1 | grep -v arch | xargs grep '\.\./'
./drivers/atm/Makefile: CONFIG_ATM_FORE200E_PCA_FW := $(shell if test -n "`$(CC) -E -dM ../../include/asm/byteorder.h | grep ' __LITTLE_ENDIAN '`"; then echo pca200e.bin; else echo pca200e_ecd.bin2; fi)
./drivers/net/Makefile:obj-$(CONFIG_ARCH_ACORN) += ../acorn/net/
./drivers/scsi/Makefile:obj-$(CONFIG_ARCH_ACORN) += ../acorn/scsi/
./fs/devfs/Makefile:TOPDIR = ../..
./fs/devfs/Makefile: gcc -o /tmp/base.o -D__KERNEL__ -I../../include -Wall \
Dunno about the acorn part, but devfs looks broken.
Checking, devfs makefile has some documentation support in the makefile.
I'm tempted to delete it, surely it's not part of the kernel build system,
but I guess someone would yell at me.
If we include the architecture Makefiles:
find -name Makefile | xargs grep '\.\./' | wc -l
148
But I'm sure we hit a lot of false positves here.
Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/