Re: kbuild- sub directroy makefile

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

 



On Wed, Apr 22, 2015 at 09:42:59PM +0530, ratheesh kannoth wrote:
> On Wed, Apr 22, 2015 at 9:36 PM, Greg KH <greg@xxxxxxxxx> wrote:
> > Nope, why do you want to do that?  The kernel build will show you that
> > hello.o is being built, when it is built.
> 
> Greg,
> There was some problem with env variables ( that i exported to shell
> from top ) that my makefile is using.

Kernel makefiles should not be using any environment variables.  Your
makefile should be almost exactly what you posted, just a list of the .o
files it takes to build the module.  Nothing else is needed.

If it is, you are making things much harder than they should be :)

thanks,

greg k-h

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux