On Fri, Feb 7, 2025 at 4:26 PM WangYuli <wangyuli@xxxxxxxxxxxxx> wrote: > > While attempting to build a Debian packages with CC="ccache gcc", I > saw the following error as builddeb builds linux-headers-$KERNELVERSION: > > make HOSTCC=ccache gcc VPATH= srcroot=. -f ./scripts/Makefile.build obj=debian/linux-headers-6.14.0-rc1/usr/src/linux-headers-6.14.0-rc1/scripts > make[6]: *** No rule to make target 'gcc'. Stop. > > Upon investigation, it seems that one instance of $(CC) variable reference > in ./scripts/package/install-extmod-build was missing quotation marks, > causing the above error. > > Add the missing quotation marks around $(CC) to fix build. > > Fixes: 5f73e7d0386d ("kbuild: refactor cross-compiling linux-headers package") > Co-developed-by: Mingcong Bai <jeffbai@xxxxxxx> > Signed-off-by: Mingcong Bai <jeffbai@xxxxxxx> > Tested-by: WangYuli <wangyuli@xxxxxxxxxxxxx> > Signed-off-by: WangYuli <wangyuli@xxxxxxxxxxxxx> > --- Applied to linux-kbuild/fixes. Thanks! -- Best Regards Masahiro Yamada