On Thu, Oct 25, 2007 at 09:21:50PM +0200, Vegard Nossum wrote:
> Hello,
> 
> I see that certain custom rules in the kbuild files don't have
> $(obj)/$(src) prefixes. I think that this is an error, since it makes
> building in a separate directory impossible. Is this correct?
> 
> I see for example this in the aic7xxx driver:
> 
> # drivers/scsi/aic7xxx/Makefile
> 
> # Create a dependency chain in generated files
> # to avoid concurrent invocations of the single
> # rule that builds them all.
> aic7xxx_seq.h: aic7xxx_reg.h
> ifeq ($(CONFIG_AIC7XXX_REG_PRETTY_PRINT),y)
> aic7xxx_reg.h: aic7xxx_reg_print.c
> endif

It is a bug that needs to be fixed.
I can take the patch in kbuild.git if scsi people do not want it.

        Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to