Skip to content

Instantly share code, notes, and snippets.

View yan12125's full-sized avatar

Chih-Hsuan Yen yan12125

View GitHub Profile
@yan12125
yan12125 / BUILDING.md
Created April 14, 2017 17:32
Build a custom kernel for Android emulator
git clone https://android.googlesource.com/kernel/goldfish/ -b android-goldfish-3.18
git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9
cd goldfish
export CROSS_COMPILE=x86_64-linux-android-
export ARCH=x86_64
export PATH=$PATH:/path/to/x86_64-linux-android-4.9/bin
make x86_64_ranchu_defconfig
make menuconfig  # enable overlayfs and namespaces support here
make -j8