[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Building kernel modules for stock kernels is a hell of a job!



Hi,

On Mon, Sep 29, 2003 at 01:43:05PM -0400, David Z Maze wrote:

> I don't consider it a bug.  I do think the kdist and kdist_image
> targets should reinvoke make under $(ROOT_CMD), though, just to be
> sure.  The i2c-source debian/rules file has:
> 
> kdist_image:
>         $(ROOT_CMD) $(MAKE) $(MFLAGS) -f debian/rules binary-modules
>         $(ROOT_CMD) $(MAKE) $(MFLAGS) -f debian/rules clean
> 
> kdist:
>         $(ROOT_CMD) $(MAKE) $(MFLAGS) -f debian/rules binary-modules
>         dpkg-genchanges -b -e"$(KMAINT) <$(KEMAIL)>" -u"$(KSRC)/.." > $(CHFILE)
>         debsign -e"$(KMAINT) <$(KEMAIL)>" $(CHFILE)
>         $(ROOT_CMD) $(MAKE) $(MFLAGS) -f debian/rules clean
> 
> kdist_clean:
>         $(ROOT_CMD) $(MAKE) $(MFLAGS) -f debian/rules clean

Are those $(MFLAGS) really useful?
I thought they were not because $(MAKE) also had the flags, but I'm not 
sure anymore...


Regards,

Nicolas



Reply to: