change kernel defconfig

make -C kernel/goldfish O=/media/linux/1/touch/export/phablet-ubuntu-20130618/out/target/product/generic/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /media/linux/1/touch/export/phablet-ubuntu-20130618/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" cyanogenmod_goldfish_armv7_defconfig


in \192.168.1.1011 ouchexportphablet-ubuntu-20130618kernelgoldfisharcharmconfigscyanogenmod_goldfish_armv7_defconfig:

CONFIG_IPC_NS=y
# CONFIG_USER_NS is not set
CONFIG_PID_NS=y


delete everything in kernel/goldfish O=/media/linux/1/touch/export/phablet-ubuntu-20130618/out/target/product/generic/obj/KERNEL_OBJ, or i would use the old config.


To get the kernel in adb shell:

cat /proc/config.gz | gunzip

or adb pull   /proc/config.gz

原文地址:https://www.cnblogs.com/snake-hand/p/3190144.html