$ make msm_defconfig
*** *** Can't find default configuration "arch/x86/configs/msm_defconfig"! *** make: *** [msm_defconfig] Error 1 make: *** [msm_defconfig] Error 2
hi sir @nathanchance, i have some question about your guide
so, im trying to compile kernel for my device, asus ze520kl, i found source from asus site, and compile it with google toolchain 4.9 aarch64
i dont really know which one to use, there are many defconfig here, so i decide to use msm one (maybe default one, i think)
and got this output
i already export arch and subarch to arm64, but i dont know why they search defconfig file to arch/x86
when make clean and make mrproper doesnt give any error
any help would be appreciate
sorry for really really bad english
Cool, definitely seemed to be working better, but still getting some errors telling me some .h files are not found when they very clearly exist. I may start with a clean source and see if I have maybe screwed something up in my prior attempts. I am wondering if maybe I am not using the correct defconfig, seemed fairly obvious that it should have been flash-custom_defconfig (since I want to compile for a custom rom), but this is all new to me, so Im not sure.
I will still also probably continue the search for clang, since as I said it seems to be the way things are going and if I am serious about this, its probably a good idea to learn.
Makefile:796: ***multiple target patterns. Stop.
git clone https://github.com/LineageOS/android_kernel_lge_bullhead.git
export ARCH=arm64 && SUBARCH=arm64
Makefile:796: ***multiple target patterns. Stop
|Thread Tools||Search this Thread|