manila-test-image/doc/configuring.txt
Ben Swartzlander ecf2f4cee3 Don't strip comments out of config files
It turns out that Kconfig actually needs the comments in the
config files to work properly, so add them back in.

Also add iproute2 support to busybox because it's very helpful
for debugging.

Change-Id: Ie6f7b61218bff135f0ac3ccba387e148019eed4f
2017-01-27 21:22:18 +00:00

43 lines
1.2 KiB
Plaintext

= Changing Configuration =
There are 6 config files which you might want to update. They are
all stored in the conf directory and buildroot has make targets
which let you modify them using the builtin menus programs
included with those programs.
== Buildroot ==
NAME=client # or "server" or "debug"
cd buildroot
cp ../conf/buildroot-${NAME}.config configs/manila_${NAME}_defconfig
make O=../output-${NAME} manila_${NAME}_defconfig
rm configs/manila_${NAME}_defconfig
make O=../output-${NAME} xconfig
make O=../output-${NAME} savedefconfig BR2_DEFCONFIG=../conf/buildroot-${NAME}.config
== Sub Configs ==
To modify the sub-configs, first do a complete build in the output-${NAME} directory
to generate the necessary configuration to start from.
=== Busybox ===
cd buildroot
make O=../output-${NAME} busybox-menuconfig
make O=../output-${NAME} busybox-update-config
=== uClibc ===
cd buildroot
make O=../output-${NAME} uclibc-menuconfig
make O=../output-${NAME} uclibc-update-config
sed -i '/^KERNEL_HEADERS=/d;/^CROSS_COMPILER_PREFIX=/d' ../conf/uclibc.config
=== Linux ===
cd buildroot
make O=../output-${NAME} linux-menuconfig
make O=../output-${NAME} linux-update-defconfig