图片中可以看到一些步骤。
rm -rf *.o zlib_gzip zloader pmon.bin.c gzrom gzrom.bin gzram initmips.c pmon.bin.gz zlib_deflate/*.o zlib_inflate/*.o zlib_gzrom zlib_gzrom.bin
rm -f ../Targets/Bonito3a3000_7a/compile/Bonito/start.o
gcc -DSTARTADDR=0xffffffff8f010000 -DOUT_FORMAT=\""elf32-tradlittlemips"\" -DOUT_ARCH=mips -Umips -E -P ld.script.S > ../Targets/Bonito3a3000_7a/conf/ld.script
make -C ../Targets/Bonito3a3000_7a/compile/Bonito/
make[1]: Entering directory '/home/jc/3a3000_pmon/pmon-loongson3-0529-ok/Targets/Bonito3a3000_7a/compile/Bonito'
mipsel-linux-gcc -D_LOCORE -G 0 -mips3 -c /home/jc/3a3000_pmon/pmon-loongson3-0529-ok/Targets/Bonito3a3000_7a/compile/Bonito/../../../../Targets/Bonito3a3000_7a/Bonito/start.S
mipsel-linux-gcc -c crtbegin.c
mipsel-linux-gcc -c param.c
mipsel-linux-gcc -c ioconf.c
mipsel-linux-gcc -c ri.c
mipsel-linux-gcc -c /home/jc/3a3000_pmon/pmon-loongson3-0529-ok/Targets/Bonito3a3000_7a/compile/Bonito/../../../../sys/dev/ic/wdc.c
mipsel-linux-gcc -c /home/jc/3a3000_pmon/pmon-loongson3-0529-ok/Targets/Bonito3a3000_7a/compile/Bonito/../../../../pmon/dev/mainbus.c
………………这里省略几百行
mkdir -p /home/jc/3a3000_pmon/pmon-loongson3-0529-ok/Targets/Bonito3a3000_7a/compile/Bonito/lib/libc
making sure the libc library is up to date...
make[2]: Entering directory '/home/jc/3a3000_pmon/pmon-loongson3-0529-ok/lib/libc'
mipsel-linux-gcc -I/home/jc/3a3000_pmon/pmon-loongson3-0529-ok/lib/libc/arch/mips -mips3 -U_KERNEL -Wall -Wstrict-prototypes -Wno-uninitialized -Wno-format -Wno-main -O2 -G 0 -c argvize.c -o /home/jc/3a3000_pmon/pmon-loongson3-0529-ok/Targets/Bonito3a3000_7a/compile/Bonito/lib/libc/argvize.o
………………这里省略几百行
building standard c library
mipsel-linux-ranlib /home/jc/3a3000_pmon/pmon-loongson3-0529-ok/Targets/Bonito3a3000_7a/compile/Bonito/lib/libc/libc.a
make[2]: Leaving directory '/home/jc/3a3000_pmon/pmon-loongson3-0529-ok/lib/libc'
mkdir -p /home/jc/3a3000_pmon/pmon-loongson3-0529-ok/Targets/Bonito3a3000_7a/compile/Bonito/lib/libm
making sure the libm library is up to date...
make[2]: Entering directory '/home/jc/3a3000_pmon/pmon-loongson3-0529-ok/lib/libm'
mipsel-linux-gcc -I/home/jc/3a3000_pmon/pmon-loongson3-0529-ok/lib/libm/arch/mips -mips3 -U_KERNEL -D_KERNEL -D_IEEE_LIBM -D_ISOC99_SOURCE -D_SVID_SOURCE -Wall -Wstrict-prototypes -Wno-uninitialized -Wno-format -Wno-main -O2 -G 0 -c w_acos.c -o /home/jc/3a3000_pmon/pmon-loongson3-0529-ok/Targets/Bonito3a3000_7a/compile/Bonito/lib/libm/w_acos.o
………这里省略几百行
building standard m library
make[2]: Leaving directory '/home/jc/3a3000_pmon/pmon-loongson3-0529-ok/lib/libm'
mkdir -p /home/jc/3a3000_pmon/pmon-loongson3-0529-ok/Targets/Bonito3a3000_7a/compile/Bonito/lib/libz
making sure the libz library is up to date...
make[2]: Entering directory '/home/jc/3a3000_pmon/pmon-loongson3-0529-ok/lib/libz'
mipsel-linux-gcc -I/home/jc/3a3000_pmon/pmon-loongson3-0529-ok/lib/libz/arch/mips -mips3 -U_KERNEL -Wall -Wstrict-prototypes -Wno-uninitialized -Wno-format -Wno-main -O2 -G 0 -c adler32.c -o /home/jc/3a3000_pmon/pmon-loongson3-0529-ok/Targets/Bonito3a3000_7a/compile/Bonito/lib/libz/adler32.o
…………这里省略几百行
building standard z library
mipsel-linux-ranlib /home/jc/3a3000_pmon/pmon-loongson3-0529-ok/Targets/Bonito3a3000_7a/compile/Bonito/lib/libz/libz.a
make[2]: Leaving directory '/home/jc/3a3000_pmon/pmon-loongson3-0529-ok/lib/libz'
mipsel-linux-gcc -c crtend.c
sh /home/jc/3a3000_pmon/pmon-loongson3-0529-ok/Targets/Bonito3a3000_7a/compile/Bonito/../../../../conf/newvers.sh
mipsel-linux-gcc -c vers.c
rm -f pmon
mipsel-linux-ld -m elf32ltsmip -G 0 -static -n -nostdlib -N -G 0 -T../../conf/ld.script -e start -S -o pmon start.o crtbegin.o param.o ioconf.o ri.o wdc.o mainbus.o pcibr.o if.o if_ethersubr.o if_loop.o if_media.o radix.o raw_cb.o raw_usrreq.o route.o rtsock.o if_ether.o in.o in_cksum.o in_pcb.o in_proto.o ip_icmp.o ip_id.o ip_input.o ip_output.o raw_ip.o udp_usrreq.o tcp_debug.o tcp_input.o tcp_output.o tcp_subr.o tcp_timer.o tcp_usrreq.o kern_clock.o kern_misc.o kern_synch.o uipc_domain.o uipc_socket2.o kern_descrip.o kern_proc.o kern_syscall.o sys_generic.o subr_autoconf.o uipc_mbuf.o uipc_syscalls.o init_main.o kern_malloc.o kern_sig.o kern_time.o sys_socket.o uipc_socket.o bus_dma.o smbios.o uuid.o boot.o mycmd.o xyzModem.o crc16.o sysinfo.o newmt.o setup.o display.o test.o cmdtable.o debuggercmds.o devls.o cmd_go.o hist.o ifaddr.o oload.o load.o tftpd.o cmd_grub.o memcmds.o memtst.o miscmds.o pcicmds.o pflash.o cmd_env.o transp.o sym.o time.o shellcmds.o cmd_main.o window.o bootparam.o about.o autoconf.o callvec.o cmdparser.o debugger.o exception.o main.o more.o rsa.o sbrk.o env.o reset.o ramfile.o termio.o socket.o gzip.o iso9660fs.o devfs.o diskfs.o fatfs.o ext2fs.o dev_part.o loadfn.o exec.o exec_bin.o exec_elf.o exec_elf64.o exec_srec.o netio.o bootp.o ifconfig.o ping.o tftplib.o httplib.o debug.o decode.o fpu.o ops.o ops2.o prim_ops.o sys.o generic.o helper_exec.o helper_mem.o xf86int10.o xf86x86emu.o rs690_struct.o vesafb.o cfb_console.o kbd.o vgacon.o generic_poll.o flash.o flashdev.o flash_amd.o flash_int.o flash_sst.o flash_spi.o ns16550.o machdep.o mips_machdep.o disassemble.o mips.o cache.o usb.o usb_storage.o part.o usb-ohci.o usb_kbd.o cmd_usb.o xhci.o xhci-mem.o xhci-ring.o xhci-dwc3.o exec_txt.o menulist2f.o boot_cfg.o bootkernel.o fdt.o fdt_ro.o fdt_rw.o fdt_strerror.o fdt_wip.o password.o md5.o install.o save_ddrparam.o showwindows.o w83527_fan.o pci_machdep.o tgt_machdep.o ls7a_pci.o localbus.o eeprom.o spi_w.o dc.o i2c-gpio.o ltc.o usb_spi.o ls7a_gmac_mac_init.o load_dtb.o ls7a_dbg.o signal_test.o hda_test.o slt.o synopGMAC_Dev.o synopGMAC_network_interface.o synopGMAC_pci_bus_interface.o synopGMAC_plat.o dma_coherent.o mii.o pciconf.o pci_map.o pci.o if_em.o pciide.o ppb.o pcidevs.o ahci.o ahcisata.o ahci-sd.o ahci-cdrom.o wd.o ata_wdc.o ata.o cd.o /home/jc/3a3000_pmon/pmon-loongson3-0529-ok/Targets/Bonito3a3000_7a/compile/Bonito/lib/libc/libc.a /home/jc/3a3000_pmon/pmon-loongson3-0529-ok/Targets/Bonito3a3000_7a/compile/Bonito/lib/libm/libm.a /home/jc/3a3000_pmon/pmon-loongson3-0529-ok/Targets/Bonito3a3000_7a/compile/Bonito/lib/libz/libz.a crtend.o vers.o
text data bss dec hex filename
1100260 1356700 421160 2878120 2beaa8 pmon
make[1]: Leaving directory '/home/jc/3a3000_pmon/pmon-loongson3-0529-ok/Targets/Bonito3a3000_7a/compile/Bonito'
cp ../Targets/Bonito3a3000_7a/compile/Bonito/start.o .
gzip ../Targets/Bonito3a3000_7a/compile/Bonito/pmon.bin -c > pmon.bin.gz
./bin2c pmon.bin.gz pmon.bin.c biosdata
./genrom ../Targets/Bonito3a3000_7a/compile/Bonito/pmon > initmips.c
mipsel-linux-gcc -c zloader.c -mips3 -DMEMSIZE=128
gcc -DSTARTADDR=0xffffffff8f900000 -DOUT_FORMAT=\""elf32-tradlittlemips"\" -DOUT_ARCH=mips -Umips -E -P ld.script.S > ld.script
mipsel-linux-ld -m elf32ltsmip -G 0 -static -n -nostdlib -T ld.script -e start -o gzrom start.o zloader.o
mipsel-linux-objcopy -O binary gzrom gzrom.bin
mipsel-linux-gcc -mabi=32 -mno-abicalls -fno-pic -D_LOCORE -G 0 -mips3 -I. -I/home/jc/3a3000_pmon/pmon-loongson3-0529-ok/Targets/Bonito3a3 000_7a/compile/Bonito/../../../../include -I./machine -I/home/jc/3a3000_pmon/pmon-loongson3-0529-ok/Targets/Bonito3a3000_7a/compile/Bonito/../../.. /.. -I/home/jc/3a3000_pmon/pmon-loongson3-0529-ok/Targets/Bonito3a3000_7a/compile/Bonito/../../../../sys/arch/mips/include -I/home/jc/3a3000_pmon/p mon-loongson3-0529-ok/Targets/Bonito3a3000_7a/compile/Bonito/../../../../sys -I/home/jc/3a3000_pmon/pmon-loongson3-0529-ok/Targets/Bonito3a3000_7a/ compile/Bonito/../../../../Targets/Bonito3a3000_7a -I/home/jc/3a3000_pmon/pmon-loongson3-0529-ok/Targets/Bonito3a3000_7a/compile/Bonito -I -nostdin c -fno-strict-aliasing -fno-pic -I/home/jc/3a3000_pmon/pmon-loongson3-0529-ok/Targets/Bonito3a3000_7a/compile/Bonito/../../../../x86emu/int10/x86em u/include -I/home/jc/3a3000_pmon/pmon-loongson3-0529-ok/Targets/Bonito3a3000_7a/compile/Bonito/../../../../x86emu/int10/x86emu/src/x86emu/x86emu - DVGAROM_IN_BIOS -DSYSTYPE="\"Bonito\"" -DTARGETNAME="\"Bonito\"" -Dloongson3A3 -DLSMC_2 -DDDR3_DIMM -DUSE_LS2H_I2C -DLOONGSON_GMAC -DBONITOEL -DDEV BD2F -DLS3_SERVER -DMIPS -DINET -DLS3_HT -DBOOTCORE_ID="0" -DRESERVED_COREMASK="0xfff0" -DSHUTDOWN_MASK="0" -DLOONGSON_3ASINGLE -DBONITO_33M -DBOOT _PARAM -DLS7A -DCONFIG_VIDEO_16BPP -DX1024x768 -DSERVER_3A -DVGA_NO_ROM -DVGA_BASE="0xbe000000" -DVRAM_SIZE="0x80" -DAUTOLOAD -DINTERFACE_3A780E -D DTB -DCONS_BAUD="B115200" -DMY40IO -DNOPCINAMES -DNOSNOOP -DHAVE_TOD -DHAVE_NVENV -DCONFIG_CACHE_64K_4WAY -DNVRAM_IN_FLASH -DIDE_DMA -DIDECD -DHAVE _NB_SERIAL -DFOR_GXEMUL -DWDC_NORESET -DINPUT_FROM_BOTH -DOUTPUT_TO_BOTH -DDEVBD2F_VIA -DCONFIG_VIDEO_SW_CURSOR -DFB_XSIZE=1024 -DFB_YSIZE=768 - DFB_COLOR_BITS=16 -D_KERNEL -D__OpenBSD__ -DPMON -D__PMON__ -mmemcpy -mno-abicalls -fno-builtin -c /home/jc/3a3000_pmon/pmon-loongson3-0529-ok/Tar gets/Bonito3a3000_7a/compile/Bonito/../../../../Targets/Bonito3a3000_7a/Bonito/start.S
整理一下这些宏,之后应该有点用。(这些宏应该跟那个配置文件Bonito.3a3000_7a相关)
VGAROM_IN_BIOS
SYSTYPE="\"Bonito\""
TARGETNAME="\"Bonito\""
loongson3A3
LSMC_2
DDR3_DIMM
USE_LS2H_I2C
LOONGSON_GMAC
BONITOEL
DEVBD2F
LS3_SERVER
MIPS
INET
LS3_HT
BOOTCORE_ID="0"
RESERVED_COREMASK="0xfff0"
SHUTDOWN_MASK="0"
LOONGSON_3ASINGLE
BONITO_33M
BOOT_PARAM
LS7A
CONFIG_VIDEO_16BPP
X1024x768
SERVER_3A
VGA_NO_ROM
VGA_BASE="0xbe000000"
VRAM_SIZE="0x80"
AUTOLOAD
INTERFACE_3A780E
DTB
CONS_BAUD="B115200"
MY40IO
NOPCINAMES
NOSNOOP
HAVE_TOD
HAVE_NVENV
CONFIG_CACHE_64K_4WAY
NVRAM_IN_FLASH
IDE_DMA
IDECD
HAVE_NB_SERIAL
FOR_GXEMUL
WDC_NORESET
INPUT_FROM_BOTH
OUTPUT_TO_BOTH
DEVBD2F_VIA
CONFIG_VIDEO_SW_CURSOR
FB_XSIZE=1024
FB_YSIZE=768
FB_COLOR_BITS=16
_KERNEL
__OpenBSD__
PMON
__PMON__
这个文件中option选项都成了宏定义。。。
编译libc这些的时候似乎还要多几个选项
mipsel-linux-gcc -c sys/dev/ic/wdc.c
mipsel-linux-gcc -c pmon/dev/mainbus.c
mipsel-linux-gcc -c pmon/dev/pcibr.c
mipsel-linux-gcc -c sys/net/if.c
mipsel-linux-gcc -c sys/net/if_ethersubr.c
mipsel-linux-gcc -c sys/net/if_loop.c
mipsel-linux-gcc -c sys/net/if_media.c
mipsel-linux-gcc -c sys/net/radix.c
mipsel-linux-gcc -c sys/net/raw_cb.c
mipsel-linux-gcc -c sys/net/raw_usrreq.c
mipsel-linux-gcc -c sys/net/route.c
mipsel-linux-gcc -c sys/net/rtsock.c
mipsel-linux-gcc -c sys/netinet/if_ether.c
mipsel-linux-gcc -c sys/netinet/in.c
mipsel-linux-gcc -c sys/netinet/in_cksum.c
mipsel-linux-gcc -c sys/netinet/in_pcb.c
mipsel-linux-gcc -c sys/netinet/in_proto.c
mipsel-linux-gcc -c sys/netinet/ip_icmp.c
mipsel-linux-gcc -c sys/netinet/ip_id.c
mipsel-linux-gcc -c sys/netinet/ip_input.c
mipsel-linux-gcc -c sys/netinet/ip_output.c
mipsel-linux-gcc -c sys/netinet/raw_ip.c
mipsel-linux-gcc -c sys/netinet/udp_usrreq.c
mipsel-linux-gcc -c sys/netinet/tcp_debug.c
mipsel-linux-gcc -c sys/netinet/tcp_input.c
mipsel-linux-gcc -c sys/netinet/tcp_output.c
mipsel-linux-gcc -c sys/netinet/tcp_subr.c
mipsel-linux-gcc -c sys/netinet/tcp_timer.c
mipsel-linux-gcc -c sys/netinet/tcp_usrreq.c
mipsel-linux-gcc -c sys/kern/kern_clock.c
mipsel-linux-gcc -c sys/kern/kern_misc.c
mipsel-linux-gcc -c sys/kern/kern_synch.c
mipsel-linux-gcc -c sys/kern/uipc_domain.c
mipsel-linux-gcc -c sys/kern/uipc_socket2.c
mipsel-linux-gcc -c sys/kern/kern_descrip.c
mipsel-linux-gcc -c sys/kern/kern_proc.c
mipsel-linux-gcc -c sys/kern/kern_syscall.c
mipsel-linux-gcc -c sys/kern/sys_generic.c
mipsel-linux-gcc -c sys/kern/subr_autoconf.c
mipsel-linux-gcc -c sys/kern/uipc_mbuf.c
mipsel-linux-gcc -c sys/kern/uipc_syscalls.c
mipsel-linux-gcc -c sys/kern/init_main.c
mipsel-linux-gcc -c sys/kern/kern_malloc.c
mipsel-linux-gcc -c sys/kern/kern_sig.c
mipsel-linux-gcc -c sys/kern/kern_time.c
mipsel-linux-gcc -c sys/kern/sys_socket.c
mipsel-linux-gcc -c sys/kern/uipc_socket.c
mipsel-linux-gcc -c sys/dev/bus_dma.c
mipsel-linux-gcc -c pmon/common/smbios/smbios.c
mipsel-linux-gcc -c pmon/common/smbios/uuid.c
mipsel-linux-gcc -c pmon/cmds/boot.c
mipsel-linux-gcc -c pmon/cmds/mycmd.c
mipsel-linux-gcc -c pmon/cmds/xyzModem.c
mipsel-linux-gcc -c pmon/cmds/crc16.c
mipsel-linux-gcc -c pmon/cmds/sysinfo.c
mipsel-linux-gcc -c pmon/cmds/newmt/newmt.c
mipsel-linux-gcc -c pmon/cmds/setup.c
mipsel-linux-gcc -c pmon/cmds/display.c
mipsel-linux-gcc -c pmon/cmds/test/test.c
mipsel-linux-gcc -c pmon/cmds/cmdtable.c
mipsel-linux-gcc -c pmon/cmds/debuggercmds.c
mipsel-linux-gcc -c pmon/cmds/devls.c
mipsel-linux-gcc -c pmon/cmds/cmd_go.c
mipsel-linux-gcc -c pmon/cmds/hist.c
mipsel-linux-gcc -c pmon/cmds/ifaddr.c
mipsel-linux-gcc -c pmon/cmds/oload.c
mipsel-linux-gcc -c pmon/cmds/load.c
mipsel-linux-gcc -c pmon/cmds/tftpd.c
mipsel-linux-gcc -c pmon/cmds/cmd_grub.c
mipsel-linux-gcc -c pmon/cmds/memcmds.c
mipsel-linux-gcc -c pmon/cmds/memtst.c
mipsel-linux-gcc -c pmon/cmds/miscmds.c
mipsel-linux-gcc -c pmon/cmds/pcicmds.c
mipsel-linux-gcc -c pmon/cmds/pflash.c
mipsel-linux-gcc -c pmon/cmds/cmd_env.c
mipsel-linux-gcc -c pmon/cmds/transp.c
mipsel-linux-gcc -c pmon/cmds/sym.c
mipsel-linux-gcc -c pmon/cmds/time.c
mipsel-linux-gcc -c pmon/cmds/shellcmds.c
mipsel-linux-gcc -c pmon/cmds/cmd_main/cmd_main.c
mipsel-linux-gcc -c pmon/cmds/cmd_main/window.c
mipsel-linux-gcc -c pmon/cmds/bootparam.c
mipsel-linux-gcc -c pmon/common/about.c
mipsel-linux-gcc -c pmon/common/autoconf.c
mipsel-linux-gcc -c pmon/common/callvec.c
mipsel-linux-gcc -c pmon/common/cmdparser.c
mipsel-linux-gcc -c pmon/common/debugger.c
mipsel-linux-gcc -c pmon/common/exception.c
mipsel-linux-gcc -c pmon/common/main.c
mipsel-linux-gcc -c pmon/common/more.c
mipsel-linux-gcc -c pmon/common/rsa.c
mipsel-linux-gcc -c pmon/common/sbrk.c
mipsel-linux-gcc -c pmon/common/env.c
mipsel-linux-gcc -D_LOCORE -G 0 -mips3 -c pmon/common/reset.S
mipsel-linux-gcc -c pmon/fs/ramfile.c
mipsel-linux-gcc -c pmon/fs/termio.c
mipsel-linux-gcc -c pmon/fs/socket.c
mipsel-linux-gcc -c pmon/fs/gzip.c
mipsel-linux-gcc -c pmon/fs/iso9660fs.c
mipsel-linux-gcc -c pmon/fs/devfs.c
mipsel-linux-gcc -c pmon/fs/diskfs.c
mipsel-linux-gcc -c pmon/fs/fatfs.c
mipsel-linux-gcc -c pmon/fs/ext2fs.c
mipsel-linux-gcc -c pmon/fs/dev_part.c
mipsel-linux-gcc -c pmon/loaders/loadfn.c
mipsel-linux-gcc -c pmon/loaders/exec.c
mipsel-linux-gcc -c pmon/loaders/exec_bin.c
mipsel-linux-gcc -c pmon/loaders/exec_elf.c
mipsel-linux-gcc -c pmon/loaders/exec_elf64.c
mipsel-linux-gcc -c pmon/loaders/exec_srec.c
mipsel-linux-gcc -c pmon/netio/netio.c
mipsel-linux-gcc -c pmon/netio/bootp.c
mipsel-linux-gcc -c pmon/netio/ifconfig.c
mipsel-linux-gcc -c pmon/netio/ping.c
mipsel-linux-gcc -c pmon/netio/tftplib.c
mipsel-linux-gcc -c pmon/netio/httplib.c
mipsel-linux-gcc -c x86emu/int10/x86emu/src/x86emu/debug.c
mipsel-linux-gcc -c x86emu/int10/x86emu/src/x86emu/decode.c
mipsel-linux-gcc -c x86emu/int10/x86emu/src/x86emu/fpu.c
mipsel-linux-gcc -c x86emu/int10/x86emu/src/x86emu/ops.c
mipsel-linux-gcc -c x86emu/int10/x86emu/src/x86emu/ops2.c
mipsel-linux-gcc -c x86emu/int10/x86emu/src/x86emu/prim_ops.c
mipsel-linux-gcc -c x86emu/int10/x86emu/src/x86emu/sys.c
mipsel-linux-gcc -c x86emu/int10/generic.c
mipsel-linux-gcc -c x86emu/int10/helper_exec.c
mipsel-linux-gcc -c x86emu/int10/helper_mem.c
mipsel-linux-gcc -c x86emu/int10/xf86int10.c
mipsel-linux-gcc -c x86emu/int10/xf86x86emu.c
mipsel-linux-gcc -c x86emu/int10/rs690_struct.c
mipsel-linux-gcc -c x86emu/int10/vesafb.c
mipsel-linux-gcc -c fb/cfb_console.c
mipsel-linux-gcc -c pmon/dev/kbd.c
mipsel-linux-gcc -c pmon/dev/vgacon.c
mipsel-linux-gcc -c pmon/dev/generic_poll.c
mipsel-linux-gcc -c pmon/dev/flash.c
mipsel-linux-gcc -c pmon/dev/flashdev.c
mipsel-linux-gcc -c pmon/dev/flash_amd.c
mipsel-linux-gcc -c pmon/dev/flash_int.c
mipsel-linux-gcc -c pmon/dev/flash_sst.c
mipsel-linux-gcc -c pmon/dev/flash_spi.c
mipsel-linux-gcc -c pmon/dev/ns16550.c
mipsel-linux-gcc -c pmon/arch/mips/machdep.c
mipsel-linux-gcc -c pmon/arch/mips/mips_machdep.c
mipsel-linux-gcc -c pmon/arch/mips/disassemble.c
mipsel-linux-gcc -D_LOCORE -G 0 -mips3 -c pmon/arch/mips/mips.S
mipsel-linux-gcc -D_LOCORE -G 0 -mips3 -c pmon/arch/mips/cache.S
mipsel-linux-gcc -c sys/dev/usb/usb.c
mipsel-linux-gcc -c sys/dev/usb/usb_storage.c
mipsel-linux-gcc -c sys/dev/usb/part.c
mipsel-linux-gcc -c sys/dev/usb/usb-ohci.c
mipsel-linux-gcc -c sys/dev/usb/usb_kbd.c
mipsel-linux-gcc -c sys/dev/usb/cmd_usb.c
mipsel-linux-gcc -c sys/dev/usb/xhci.c
mipsel-linux-gcc -c sys/dev/usb/xhci-mem.c
mipsel-linux-gcc -c sys/dev/usb/xhci-ring.c
mipsel-linux-gcc -c sys/dev/usb/xhci-dwc3.c
mipsel-linux-gcc -c pmon/loaders/exec_txt.c
mipsel-linux-gcc -c pmon/cmds/menulist2f.c
mipsel-linux-gcc -c pmon/cmds/boot_cfg.c
mipsel-linux-gcc -c pmon/common/bootkernel.c
mipsel-linux-gcc -c lib/libfdt/fdt.c
mipsel-linux-gcc -c lib/libfdt/fdt_ro.c
mipsel-linux-gcc -c lib/libfdt/fdt_rw.c
mipsel-linux-gcc -c lib/libfdt/fdt_strerror.c
mipsel-linux-gcc -c lib/libfdt/fdt_wip.c
mipsel-linux-gcc -c pmon/cmds/password.c
mipsel-linux-gcc -c pmon/dev/md5.c
mipsel-linux-gcc -c pmon/cmds/install.c
mipsel-linux-gcc -c pmon/cmds/save_ddrparam.c
mipsel-linux-gcc -c pmon/cmds/showwindows.c
mipsel-linux-gcc -c pmon/cmds/w83527_fan.c
mipsel-linux-gcc -c Targets/Bonito3a3000_7a/pci/pci_machdep.c
mipsel-linux-gcc -c Targets/Bonito3a3000_7a/Bonito/tgt_machdep.c
mipsel-linux-gcc -c Targets/Bonito3a3000_7a/pci/ls7a_pci.c
mipsel-linux-gcc -c Targets/Bonito3a3000_7a/dev/localbus.c
mipsel-linux-gcc -c Targets/Bonito3a3000_7a/dev/eeprom.c
mipsel-linux-gcc -c Targets/Bonito3a3000_7a/dev/spi_w.c
mipsel-linux-gcc -c Targets/Bonito3a3000_7a/dev/dc.c
mipsel-linux-gcc -c Targets/Bonito3a3000_7a/dev/i2c-gpio.c
mipsel-linux-gcc -c Targets/Bonito3a3000_7a/dev/ltc.c
mipsel-linux-gcc -c Targets/Bonito3a3000_7a/dev/usb_spi.c
mipsel-linux-gcc -c Targets/Bonito3a3000_7a/dev/ls7a_gmac_mac_init.c
mipsel-linux-gcc -c Targets/Bonito3a3000_7a/dev/load_dtb.c
mipsel-linux-gcc -c Targets/Bonito3a3000_7a/dev/ls7a_dbg.c
mipsel-linux-gcc -c Targets/Bonito3a3000_7a/dev/signal_test.c
mipsel-linux-gcc -c Targets/Bonito3a3000_7a/dev/hda_test.c
mipsel-linux-gcc -c Targets/Bonito3a3000_7a/dev/slt.c
mipsel-linux-gcc -c sys/dev/gmac/synopGMAC_Dev.c
mipsel-linux-gcc -c sys/dev/gmac/synopGMAC_network_interface.c
mipsel-linux-gcc -c sys/dev/gmac/synopGMAC_pci_bus_interface.c
mipsel-linux-gcc -c sys/dev/gmac/synopGMAC_plat.c
mipsel-linux-gcc -c pmon/arch/mips/ls3a/dma_coherent.c
mipsel-linux-gcc -c sys/dev/mii/mii.c
mipsel-linux-gcc -c sys/dev/pci/pciconf.c
mipsel-linux-gcc -c sys/dev/pci/pci_map.c
mipsel-linux-gcc -c sys/dev/pci/pci.c
mipsel-linux-gcc -c sys/dev/pci/e1000e/if_em.c
mipsel-linux-gcc -c sys/dev/pci/pciide.c
mipsel-linux-gcc -c sys/dev/pci/ppb.c
mipsel-linux-gcc -c sys/dev/pci/pcidevs.c
mipsel-linux-gcc -c sys/dev/pci/ahci.c
mipsel-linux-gcc -c sys/dev/pci/ahcisata.c
mipsel-linux-gcc -c sys/dev/pci/ahci-sd.c
mipsel-linux-gcc -c sys/dev/pci/ahci-cdrom.c
mipsel-linux-gcc -c sys/dev/ata/wd.c
mipsel-linux-gcc -c sys/dev/ata/ata_wdc.c
mipsel-linux-gcc -c sys/dev/ata/ata.c
mipsel-linux-gcc -c sys/dev/ata/cd.c
mipsel-linux-gcc -c argvize.c -o argvize.o
mipsel-linux-gcc -c atob.c -o atob.o
mipsel-linux-gcc -c atof.c -o atof.o
mipsel-linux-gcc -c atoi.c -o atoi.o
mipsel-linux-gcc -c atol.c -o atol.o
mipsel-linux-gcc -c bzero.c -o bzero.o
mipsel-linux-gcc -c bcmp.c -o bcmp.o
mipsel-linux-gcc -c calloc.c -o calloc.o
mipsel-linux-gcc -c cc2str.c -o cc2str.o
mipsel-linux-gcc -c close.c -o close.o
mipsel-linux-gcc -c ctype_.c -o ctype_.o
mipsel-linux-gcc -c dbl2asci.c -o dbl2asci.o
mipsel-linux-gcc -c errno.c -o errno.o
mipsel-linux-gcc -c ethers.c -o ethers.o
mipsel-linux-gcc -c exit.c -o exit.o
mipsel-linux-gcc -c fclose.c -o fclose.o
mipsel-linux-gcc -c feof.c -o feof.o
mipsel-linux-gcc -c fflush.c -o fflush.o
mipsel-linux-gcc -c ffs.c -o ffs.o
mipsel-linux-gcc -c fgetc.c -o fgetc.o
mipsel-linux-gcc -c fgets.c -o fgets.o
mipsel-linux-gcc -c fileno.c -o fileno.o
mipsel-linux-gcc -c fprintf.c -o fprintf.o
mipsel-linux-gcc -c fputs.c -o fputs.o
mipsel-linux-gcc -c fread.c -o fread.o
mipsel-linux-gcc -c fseek.c -o fseek.o
mipsel-linux-gcc -c fwrite.c -o fwrite.o
mipsel-linux-gcc -c getc.c -o getc.o
mipsel-linux-gcc -c getchar.c -o getchar.o
mipsel-linux-gcc -c gethostnamadr.c -o gethostnamadr.o
mipsel-linux-gcc -c getopt.c -o getopt.o
mipsel-linux-gcc -c getprotoname.c -o getprotoname.o
mipsel-linux-gcc -c gets.c -o gets.o
mipsel-linux-gcc -c getservbyname.c -o getservbyname.o
mipsel-linux-gcc -c getservent.c -o getservent.o
mipsel-linux-gcc -c getword.c -o getword.o
mipsel-linux-gcc -c index.c -o index.o
mipsel-linux-gcc -c inet_addr.c -o inet_addr.o
mipsel-linux-gcc -c lseek.c -o lseek.o
mipsel-linux-gcc -c malloc.c -o malloc.o
mipsel-linux-gcc -c memchr.c -o memchr.o
mipsel-linux-gcc -c memset.c -o memset.o
mipsel-linux-gcc -c misc.c -o misc.o
mipsel-linux-gcc -c modf.c -o modf.o
mipsel-linux-gcc -c open.c -o open.o
mipsel-linux-gcc -c pmalloc.c -o pmalloc.o
mipsel-linux-gcc -c printf.c -o printf.o
mipsel-linux-gcc -c putc.c -o putc.o
mipsel-linux-gcc -c putchar.c -o putchar.o
mipsel-linux-gcc -c puts.c -o puts.o
mipsel-linux-gcc -c qsort.c -o qsort.o
mipsel-linux-gcc -c queue.c -o queue.o
mipsel-linux-gcc -c rand.c -o rand.o
mipsel-linux-gcc -c read.c -o read.o
mipsel-linux-gcc -c realloc.c -o realloc.o
mipsel-linux-gcc -c recv.c -o recv.o
mipsel-linux-gcc -c res_comp.c -o res_comp.o
mipsel-linux-gcc -c res_init.c -o res_init.o
mipsel-linux-gcc -c res_mkquery.c -o res_mkquery.o
mipsel-linux-gcc -c res_query.c -o res_query.o
mipsel-linux-gcc -c res_send.c -o res_send.o
mipsel-linux-gcc -c rindex.c -o rindex.o
mipsel-linux-gcc -c sbrk.c -o sbrk.o
mipsel-linux-gcc -c scanf.c -o scanf.o
mipsel-linux-gcc -c send.c -o send.o
mipsel-linux-gcc -c signal.c -o signal.o
mipsel-linux-gcc -c sigsetops.c -o sigsetops.o
mipsel-linux-gcc -c sizemem.c -o sizemem.o
mipsel-linux-gcc -c sprintf.c -o sprintf.o
mipsel-linux-gcc -c stdio.c -o stdio.o
mipsel-linux-gcc -c str2cc.c -o str2cc.o
mipsel-linux-gcc -c str_fmt.c -o str_fmt.o
mipsel-linux-gcc -c strbalp.c -o strbalp.o
mipsel-linux-gcc -c strbequ.c -o strbequ.o
mipsel-linux-gcc -c strcasecmp.c -o strcasecmp.o
mipsel-linux-gcc -c strcat.c -o strcat.o
mipsel-linux-gcc -c strccat.c -o strccat.o
mipsel-linux-gcc -c strchr.c -o strchr.o
mipsel-linux-gcc -c strcmp.c -o strcmp.o
mipsel-linux-gcc -c strcpy.c -o strcpy.o
mipsel-linux-gcc -c strcspn.c -o strcspn.o
mipsel-linux-gcc -c strdchr.c -o strdchr.o
mipsel-linux-gcc -c strempty.c -o strempty.o
mipsel-linux-gcc -c strichr.c -o strichr.o
mipsel-linux-gcc -c striequ.c -o striequ.o
mipsel-linux-gcc -c stristr.c -o stristr.o
mipsel-linux-gcc -c strlen.c -o strlen.o
mipsel-linux-gcc -c strmerge.c -o strmerge.o
mipsel-linux-gcc -c strncat.c -o strncat.o
mipsel-linux-gcc -c strnchr.c -o strnchr.o
mipsel-linux-gcc -c strncmp.c -o strncmp.o
mipsel-linux-gcc -c strncpy.c -o strncpy.o
mipsel-linux-gcc -c strnwrd.c -o strnwrd.o
mipsel-linux-gcc -c strpat.c -o strpat.o
mipsel-linux-gcc -c strpbrk.c -o strpbrk.o
mipsel-linux-gcc -c strposn.c -o strposn.o
mipsel-linux-gcc -c strrchr.c -o strrchr.o
mipsel-linux-gcc -c strrpset.c -o strrpset.o
mipsel-linux-gcc -c strrrot.c -o strrrot.o
mipsel-linux-gcc -c strrset.c -o strrset.o
mipsel-linux-gcc -c strset.c -o strset.o
mipsel-linux-gcc -c strsort.c -o strsort.o
mipsel-linux-gcc -c strspn.c -o strspn.o
mipsel-linux-gcc -c strstr.c -o strstr.o
mipsel-linux-gcc -c strtok.c -o strtok.o
mipsel-linux-gcc -c strtoupp.c -o strtoupp.o
mipsel-linux-gcc -c terms.c -o terms.o
mipsel-linux-gcc -c time.c -o time.o
mipsel-linux-gcc -c tolower_.c -o tolower_.o
mipsel-linux-gcc -c toupper_.c -o toupper_.o
mipsel-linux-gcc -c ungetc.c -o ungetc.o
mipsel-linux-gcc -c vfprintf.c -o vfprintf.o
mipsel-linux-gcc -c vsprintf.c -o vsprintf.o
mipsel-linux-gcc -c write.c -o write.o
mipsel-linux-gcc -c getbaud.c -o getbaud.o
mipsel-linux-gcc -c tcdrain.c -o tcdrain.o
mipsel-linux-gcc -c tcflow.c -o tcflow.o
mipsel-linux-gcc -c tcflush.c -o tcflush.o
mipsel-linux-gcc -c tcgetattr.c -o tcgetattr.o
mipsel-linux-gcc -c tcgetpgrp.c -o tcgetpgrp.o
mipsel-linux-gcc -c tcsendbreak.c -o tcsendbreak.o
mipsel-linux-gcc -c tcsetattr.c -o tcsetattr.o
mipsel-linux-gcc -c tcsetpgrp.c -o tcsetpgrp.o
mipsel-linux-gcc -c cfgetispeed.c -o cfgetispeed.o
mipsel-linux-gcc -c cfgetospeed.c -o cfgetospeed.o
mipsel-linux-gcc -c cfmakeraw.c -o cfmakeraw.o
mipsel-linux-gcc -c cfsetispeed.c -o cfsetispeed.o
mipsel-linux-gcc -c cfsetospeed.c -o cfsetospeed.o
mipsel-linux-gcc -c cfsetspeed.c -o cfsetspeed.o
mipsel-linux-gcc -c ulmin.c -o ulmin.o
mipsel-linux-gcc -c lmin.c -o lmin.o
mipsel-linux-gcc -c ioctl.c -o ioctl.o
mipsel-linux-gcc -c filefs.c -o filefs.o
mipsel-linux-gcc -c parseurl.c -o parseurl.o
mipsel-linux-gcc -c crc32.c -o crc32.o
mipsel-linux-gcc -c poweroff.c -o poweroff.o
mipsel-linux-gcc -c reboot.c -o reboot.o
mipsel-linux-gcc -c video_set_lut.c -o video_set_lut.o
mipsel-linux-gcc -c longjmp.S -o longjmp.o
mipsel-linux-gcc -c ovbcopy.S -o ovbcopy.o
building standard c library
mipsel-linux-ranlib libc.a
mipsel-linux-gcc -c w_acos.c -o w_acos.o
mipsel-linux-gcc -c w_asin.c -o w_asin.o
mipsel-linux-gcc -c s_atan.c -o s_atan.o
mipsel-linux-gcc -c w_atan2.c -o w_atan2.o
mipsel-linux-gcc -c s_ceil.c -o s_ceil.o
mipsel-linux-gcc -c s_cos.c -o s_cos.o
mipsel-linux-gcc -c w_cosh.c -o w_cosh.o
mipsel-linux-gcc -c w_exp.c -o w_exp.o
mipsel-linux-gcc -c s_expm1.c -o s_expm1.o
mipsel-linux-gcc -c s_fabs.c -o s_fabs.o
mipsel-linux-gcc -c s_floor.c -o s_floor.o
mipsel-linux-gcc -c w_fmod.c -o w_fmod.o
mipsel-linux-gcc -c s_frexp.c -o s_frexp.o
mipsel-linux-gcc -c w_log.c -o w_log.o
mipsel-linux-gcc -c w_log10.c -o w_log10.o
mipsel-linux-gcc -c s_modf.c -o s_modf.o
mipsel-linux-gcc -c w_pow.c -o w_pow.o
mipsel-linux-gcc -c s_sin.c -o s_sin.o
mipsel-linux-gcc -c w_sinh.c -o w_sinh.o
mipsel-linux-gcc -c w_sqrt.c -o w_sqrt.o
mipsel-linux-gcc -c s_tan.c -o s_tan.o
mipsel-linux-gcc -c s_tanh.c -o s_tanh.o
mipsel-linux-gcc -c s_scalbn.c -o s_scalbn.o
mipsel-linux-gcc -c s_copysign.c -o s_copysign.o
mipsel-linux-gcc -c sign.c -o sign.o
mipsel-linux-gcc -c e_acos.c -o e_acos.o
mipsel-linux-gcc -c e_asin.c -o e_asin.o
mipsel-linux-gcc -c e_atan2.c -o e_atan2.o
mipsel-linux-gcc -c k_cos.c -o k_cos.o
mipsel-linux-gcc -c e_cosh.c -o e_cosh.o
mipsel-linux-gcc -c e_exp.c -o e_exp.o
mipsel-linux-gcc -c e_fmod.c -o e_fmod.o
mipsel-linux-gcc -c e_log.c -o e_log.o
mipsel-linux-gcc -c e_log10.c -o e_log10.o
mipsel-linux-gcc -c e_pow.c -o e_pow.o
mipsel-linux-gcc -c k_sin.c -o k_sin.o
mipsel-linux-gcc -c e_sinh.c -o e_sinh.o
mipsel-linux-gcc -c e_sqrt.c -o e_sqrt.o
mipsel-linux-gcc -c k_tan.c -o k_tan.o
mipsel-linux-gcc -c e_rem_pio2.c -o e_rem_pio2.o
mipsel-linux-gcc -c k_rem_pio2.c -o k_rem_pio2.o
building standard m library
mipsel-linux-gcc -c adler32.c -o adler32.o
mipsel-linux-gcc -c crc32.c -o crc32.o
mipsel-linux-gcc -c infblock.c -o infblock.o
mipsel-linux-gcc -c infcodes.c -o infcodes.o
mipsel-linux-gcc -c inffast.c -o inffast.o
mipsel-linux-gcc -c inflate.c -o inflate.o
mipsel-linux-gcc -c inftrees.c -o inftrees.o
mipsel-linux-gcc -c infutil.c -o infutil.o
building standard z library