kbuild- sub directroy makefile

Greg KH greg at kroah.com
Wed Apr 22 12:06:00 EDT 2015

On Wed, Apr 22, 2015 at 09:11:36PM +0530, ratheesh kannoth wrote:
> ******************Start of Makfile***********
> ccflags += "-D DEXI"
> obj-m := hello.o
> ************End*****************
> Is there any way i can echo a string ...like "Hey i am building
> hello.o now " in this makefile ?

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 k-h

More information about the Kernelnewbies mailing list