6 Building µClinux
Linux Software Developers Kit (SDK) User Guide
47
* glibc Library Configuration
*
Default all settings (lose changes) (DEFAULTS_OVERRIDE) [N/y] (NEW)
Customize Kernel Settings (DEFAULTS_KERNEL) [N/y] (NEW)
Customize Application/Library Settings (DEFAULTS_VENDOR) [N/y] (NEW)
Update Default Vendor Settings (DEFAULTS_VENDOR_UPDATE) [N/y] (NEW).
…
And then these images are made in the linux/images directory.
$ ls linux/images
image.bin image.without_header linux.bin linuz.bin romfs-inst.log
imageu.bin imagez.bin linux.without_header romfs.img rootfs.img
To make the images available for transfer to the target, copy the contents of the linux/images/
directory to your tftp boot directory. Your tftp boot directory must have write permissions enabled.
The following example assumes a tftp boot directory of ‘/tftpboot’.
$ cp linux/images/* /tftpboot
It is possible to have the build process automatically copy the image files to your tftp boot
directory. To enable this, edit linux/vendors/Lantronix/<platform>/Makefile and set the
TFTP_DIRECTORY variable to your tftp boot directory, and the
COPY_BUILD_TO_TFTP_DIRECTORY variable to ‘y’.
COPY_BUILD_TO_TFTP_DIRECTORY=y
TFTP_DIRECTORY=<your_tftp_boot_directory>
To build the root file system for NFS, perform the following:
$ mkdir linux/nfs
$ make