Re: [PATCH v2 12/15] media: add Kconfig and Makefile for IPU6

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

 



On Wed, Oct 25, 2023 at 12:21:13PM +0000, Sakari Ailus wrote:
> On Tue, Oct 24, 2023 at 04:04:05PM +0300, Andy Shevchenko wrote:
> > On Tue, Oct 24, 2023 at 07:29:21PM +0800, bingbu.cao@xxxxxxxxx wrote:

...

> > > +intel-ipu6-objs				+= ipu6.o \
> > 
> > += doesn't seem right.
> > Besides that 'objs' is for user space, in kernel we use 'y'.
> 
> This is a common pattern used in other Makefiles, too... I guess ":=" would
> work, too.
> 
> How otherwise would you do this?

:= has different meaning in make language. How you will guarantee somewhere
else somebody won't use same target, note that make is recursive.

-- 
With Best Regards,
Andy Shevchenko





[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux