A simple buildfile

Let's look at a very simple buildfile, the one that generated the OS image used in the example above:

#   A simple "ls", "ping", and shell.
#   This file is "shell.bld"

[virtual=armle-v7,srec] .bootstrap = {
    startup-abc123
    PATH=/proc/boot procnto -vv 
}
[+script] .script = {
    procmgr_symlink ../../proc/boot/libc.so.3 /usr/lib/ldqnx.so.2

    devc-ser8250-abc123 -F -e -c14745600  -b115200 0xc8000000 ^2,15 &
    reopen
    
    display_msg Serial Driver Started
}

[type=link] /dev/console=/dev/ser1
[type=link] /tmp=/dev/shmem
libc.so.2
libc.so 

[data=copy]
devc-ser8250-abc123
ksh
ls
cat
data1
ping
ftp
pidin
Note: In a buildfile, a pound sign (#) indicates a comment; anything between it and the end of the line is ignored. Make sure there's a space between a buildfile command and the pound sign.

This buildfile consists of these sections: