change kernel defconfig

来源:互联网 发布:网络66是什么意思 编辑:程序博客网 时间:2024/05/19 18:45

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.101\1\touch\export\phablet-ubuntu-20130618\kernel\goldfish\arch\arm\configs\cyanogenmod_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