On Wed, Apr 16, 2025 at 05:19:17PM +0800, Mauro Carvalho Chehab wrote:
> Em Wed, 16 Apr 2025 11:34:16 +0300
> Jani Nikula <jani.nik...@linux.intel.com> escreveu:
> > On Wed, 16 Apr 2025, Mauro Carvalho Chehab <mchehab+hua...@kernel.org> 
> > wrote:

...

> > >  quiet_cmd_hdrtest = HDRTEST $(patsubst %.hdrtest,%.h,$@)
> > >        cmd_hdrtest = \
> > >           $(CC) $(c_flags) -fsyntax-only -x c /dev/null -include $< 
> > > -include $<; \
> > > -         $(srctree)/scripts/kernel-doc -none $(if 
> > > $(CONFIG_WERROR)$(CONFIG_DRM_WERROR),-Werror) $<; \
> > > +          PYTHONDONTWRITEBYTECODE=1 $(KERNELDOC) -none $(if 
> > > $(CONFIG_WERROR)$(CONFIG_DRM_WERROR),-Werror) $<; \  
> > 
> > KERNELDOC is not set here.
> 
> > 
> > /bin/sh: 1: -none: not found
> 
> Weird. This is set on Documentation/Makefile:
> 
>       $ grep KERNELDOC Documentation/Makefile 
>       KERNELDOC       = $(srctree)/scripts/kernel-doc.py
>       ...
> 
> drivers/gpu/drm/Makefile should be able to see this variable there...

Does it work in the case of `make drivers/gpu/drm` ? This is probably how Jani
tried it.

> > >           touch $@

-- 
With Best Regards,
Andy Shevchenko


Reply via email to