Hi thanks for this great resource and advice in this thread so far.
I'm hoping someone can help.
I'm definitely a noob when it comes to compiling any kind of kernel.
I'm working on an experiment to take a dump of volatile memory from a device using LiME and to do this, I need to compile an identical kernel to the one in my test device, using the same compiler used for the running kernel in the device.For my project, I'm working with an original gen Google Pixel, arm64 architecture, running NDE63H android-7.1.0_r1.
In adb, "cat /proc/version" returns;
Linux version 3.18.31-g19caf23 ([email protected]) (gcc version 4.9.x-google 20140827 (prerelease) (GCC) ) #1 SMP PREEMPT Sat Sep 3 00:12:36 UTC 2016
So I've downloaded android-msm-marlin-3.18-nougat-dr1 source and the compiler aarch64-linux-android-gcc (GCC) 4.9 20150123 (prerelease).
I'm getting to the stage I'm getting to the point of 3.4. "Build the kernel" and receive the following error for the "make clean" command;
make: *** No rule to make target 'clean'. Stop.
Similarly, if I skip this and jump straight to "make marlin_defconfig", I receive this;
make: Nothing to be done for 'marlin_defconfig'.
Sorry if there is an obvious error staring me in the face or if I haven't provided enough information but I feel like I'm going in circles trying to troubleshoot and would be extremely grateful for some advice!