Hi.

You must pick the target which matches your board, it is used across 
various placing, ranging from optimization flag settings to package 
architecture fields. The correct one for the LifeBox would be the 
brcm63xx target. 

As far as I can see it in my local test it does indeed build the 
external kernel, but applies the version from target/linux/$arch
/Makefile to it.

Example:

$ cat 
/home/jow/devel/openwrt/trunk/build_dir/linux-brcm63xx/linux-2.6.39.4/00-README-FT.txt
 

To build the linux kernel, extract the archive, and cd
into linux-2.6.15, then run the following commands:

export PATH="/path/to/mips-linux-uclibc/bin:${PATH}"
mkdir build-dir
cd build-dir
cp ../.config .
mkdir -p include/linux
cp ../include/linux/autoconf.h include/linux
make -C .. O="$(pwd)"
make -C .. O="$(pwd)" INSTALL_MOD_PATH="$(pwd)/modules" modules_install
mips-linux-uclibc-objcopy -O binary vmlinux vmlinuz

The resulting kernel is the file vmlinuz, to be found in
the directory build-dir. The modules will be found in the
modules/ sub-directory.
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to