Re: linux-next: Tree for Oct 18 ('make' error on ARCH=um)

From: Randy Dunlap
Date: Mon Oct 18 2021 - 17:15:03 EST


On 10/18/21 2:30 AM, Stephen Rothwell wrote:
Hi all,

Changes since 20211015:


UML (arch=um) with SUBARCH of i386 or x86_64,
using gcc, not clang:

make[1]: Entering directory '/work/lnx/next/linux-next-20211018/UM64'
../scripts/Makefile.clang:19: *** Specify CROSS_COMPILE or add '--target=' option to scripts/Makefile.clang. Stop.
make[1]: Leaving directory '/work/lnx/next/linux-next-20211018/UM64'
make: *** [Makefile:226: __sub-make] Error 2


Just use a make target of defconfig:

make ARCH=um SUBARCH=x86_64 O=UM64 defconfig

--
~Randy