2011-07-16 19:35:44 +00:00
|
|
|
# $FreeBSD$
|
2011-11-21 08:12:36 +00:00
|
|
|
mips/nlm/hal/nlm_hal.c standard
|
2011-07-16 19:35:44 +00:00
|
|
|
mips/nlm/hal/fmn.c standard
|
|
|
|
mips/nlm/xlp_machdep.c standard
|
|
|
|
mips/nlm/intr_machdep.c standard
|
|
|
|
mips/nlm/tick.c standard
|
|
|
|
mips/nlm/board.c standard
|
|
|
|
mips/nlm/cms.c standard
|
2011-09-05 10:45:29 +00:00
|
|
|
mips/nlm/bus_space_rmi.c standard
|
|
|
|
mips/nlm/bus_space_rmi_pci.c standard
|
2011-07-16 19:35:44 +00:00
|
|
|
mips/nlm/mpreset.S standard
|
2012-03-27 12:25:47 +00:00
|
|
|
mips/nlm/board_eeprom.c standard
|
|
|
|
mips/nlm/board_cpld.c standard
|
2015-02-27 23:33:53 +00:00
|
|
|
mips/nlm/xlp_simplebus.c optional fdt
|
2011-09-05 10:45:29 +00:00
|
|
|
mips/nlm/xlp_pci.c optional pci
|
|
|
|
mips/nlm/uart_cpu_xlp.c optional uart
|
|
|
|
mips/nlm/usb_init.c optional usb
|
2012-03-27 11:43:46 +00:00
|
|
|
#
|
2012-03-27 14:48:40 +00:00
|
|
|
# Network driver and micro-core code
|
2012-03-27 14:05:12 +00:00
|
|
|
mips/nlm/dev/net/nae.c optional xlpge
|
|
|
|
mips/nlm/dev/net/mdio.c optional xlpge
|
|
|
|
mips/nlm/dev/net/sgmii.c optional xlpge
|
|
|
|
mips/nlm/dev/net/xaui.c optional xlpge
|
|
|
|
mips/nlm/dev/net/xlpge.c optional xlpge
|
|
|
|
ucore_app.bin optional xlpge \
|
2012-03-29 02:03:06 +00:00
|
|
|
compile-with "${CC} -EB -march=mips32 -mabi=32 -msoft-float -I. -I$S -O3 -funroll-loops -finline-limit=20000 -fno-tree-loop-optimize -fomit-frame-pointer -mno-branch-likely -fno-pic -mno-abicalls -ffunction-sections -fdata-sections -G0 -Wall -Werror -c $S/$M/nlm/dev/net/ucore/crt0_basic.S $S/$M/nlm/dev/net/ucore/ucore_app.c && ${LD} -melf32btsmip_fbsd -d -warn-common -T$S/$M/nlm/dev/net/ucore/ld.ucore.S crt0_basic.o ucore_app.o -o ucore_app && ${OBJCOPY} -S -O binary -R .note -R .comment ucore_app ${.TARGET}" \
|
2012-03-27 14:05:12 +00:00
|
|
|
no-obj no-implicit-rule before-depend \
|
|
|
|
clean "crt0_basic.o ucore_app.o ucore_app ucore_app.bin"
|
|
|
|
ucore_app_bin.h optional xlpge \
|
|
|
|
dependency "ucore_app.bin" \
|
|
|
|
compile-with "file2c -sx 'static char ucore_app_bin[] = {' '};' < ucore_app.bin > ${.TARGET}" \
|
|
|
|
no-obj no-implicit-rule before-depend \
|
|
|
|
clean "ucore_app_bin.h"
|
|
|
|
#
|
2012-03-27 11:43:46 +00:00
|
|
|
# Security Driver
|
|
|
|
#
|
|
|
|
mips/nlm/dev/sec/nlmsec.c optional nlmsec
|
|
|
|
mips/nlm/dev/sec/nlmseclib.c optional nlmsec
|
|
|
|
mips/nlm/dev/sec/nlmrsa.c optional nlmrsa
|