]> git.ipfire.org Git - thirdparty/linux.git/commit
kbuild: install-extmod-build: add missing quotation marks for CC variable
authorWangYuli <wangyuli@uniontech.com>
Fri, 7 Feb 2025 07:08:55 +0000 (15:08 +0800)
committerMasahiro Yamada <masahiroy@kernel.org>
Fri, 7 Feb 2025 18:37:57 +0000 (03:37 +0900)
commitf354fc88a72ae83dacd68370f6fa040e5733bcfe
treea8830caf3d9f650a611f681877ebb4907f9cc0b7
parentba958ac74800573f7f54dbe2a7a7b9a9a523ed52
kbuild: install-extmod-build: add missing quotation marks for CC variable

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@aosc.io>
Signed-off-by: Mingcong Bai <jeffbai@aosc.io>
Tested-by: WangYuli <wangyuli@uniontech.com>
Signed-off-by: WangYuli <wangyuli@uniontech.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/package/install-extmod-build