43 lines
1.2 KiB
Plaintext
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
|