Hi,
I am trying to building only the Linux kernel modules with Clang/wllvm for kernel version 4.9.3. I follow the steps as below, where I use a pre-set config file from other sources:
make CC=clang deconfig
export CC=clang
make CC=clang -no-integrated-as modules
I also try dealing with HOSTCC with:
make CC=clang HOSTCC=clang deconfig
export CC=clang
export HOSTCC=clang
make CC=clang HOSTCC=clang -no-integrated-as modules
In both cases everything goes well, at least there is no error message. However, I can’t find any .ko files generated in the directory after the building process.
Am I missing something for this?