Note: Root user permissions may be required to create the uclibc directory and install the
tool chain into the root directory of the file system.
5. Compile.
a. Change the working directory to KWGR614_xxx/.
b. Type make menuconfig, and customize your kernel config options, as follows:
Target Platform Selection --->
[ * ] Customize Kernel Settings (NEW)
Exit, Exit, Save configuration? yes
Exit, Save configuration? yes
Note: If you are building runtime image for the first time, be sure to save the
configuration when leaving make menuconfig, even if no change is made to the default
settings.
c. Type make dep.
d. (Optional) If you need to customize busybox, go to
KWGR614_xxx/user/busybox/, and type make menuconfig to select the user
level application you need. Then go back to KWGR614_xxx/, and type make
dep again. This updates all dependencies.
6. Type make. This builds the kernel, user apps, and create image file run.bix under
KWGR614_xxx/images/ directory.
After compiling and linking the existing source code already provided, you can now
upload the KWGR614_xxx/images/run.bix file directly to the router after connecting the
router to your PC and using the Router firmware Upgrade page on the Router Web GUI.
Developing Custom Applications on the OpenSource Router
This section describes how to develop custom applications on this router.
Setting the Version String
Set your custom version string in the file user/dni/nvram_realtek.c by defining
OS_VERSION. Be certain to remove any duplicate definition.
user/dni/nvram_realtek.c