[KBUILD] md/raid6 breaks separate source/object tree

From: Richard Chan
Date: Sat Jan 24 2004 - 07:08:58 EST



md/raid6 is using an in-tree perl script to generate a C file.
This breaks kbuild separate src/obj tree.

CC [M] drivers/md/raid6main.o
CC [M] drivers/md/raid6algos.o
CC [M] drivers/md/raid6recov.o
HOSTCC drivers/md/mktables
drivers/md/mktables > drivers/md/raid6tables.c || ( rm -f drivers/md/raid6tables.c && exit 1 )
CC [M] drivers/md/raid6tables.o
perl drivers/md/unroll.pl 1 < /usr/src/linux-2.6.2-rc1.1.A/drivers/md/raid6int.uc > drivers/md/raid6int1.c || ( rm -f drivers/md/raid6int1.c && exit 1 )
Can't open perl script "drivers/md/unroll.pl": No such file or directory

Somehow the src in $(PERL) $(src)/drivers/md/unroll.pl is not getting substituted.

Still trying to figure it out...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/