public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [KBUILD] md/raid6 breaks separate source/object tree
@ 2004-01-24 12:10 Richard Chan
  2004-01-24 21:32 ` Andrew Morton
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Chan @ 2004-01-24 12:10 UTC (permalink / raw)
  To: linux-kernel


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...

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: [KBUILD] md/raid6 breaks separate source/object tree
@ 2004-01-24 12:26 sam
  2004-01-24 20:44 ` Sam Ravnborg
  0 siblings, 1 reply; 4+ messages in thread
From: sam @ 2004-01-24 12:26 UTC (permalink / raw)
  To: Richard Chan; +Cc: linux-kernel

Date: Lør, 24 Jan 2004 20:10:25 +0800 skrev Richard Chan <rspchan@starhub.net.sg> : 


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

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

Replace $(src)/unroll.pl with $(srctree)/$(src)/unroll.pl in
drivers/md/Makefile and it works again.

Fix is already sent to hpa/akpm - but I do not have it available
here (on WEB mail).

   Sam

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-01-24 21:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-24 12:10 [KBUILD] md/raid6 breaks separate source/object tree Richard Chan
2004-01-24 21:32 ` Andrew Morton
  -- strict thread matches above, loose matches on Subject: below --
2004-01-24 12:26 sam
2004-01-24 20:44 ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox