b0eaf97404
This will override the resource allocation of simplebus, and also merge the resource allocation code which was in xlp_pci.c. With this change the SoC devices that does not have proper PCI resources will be on the FDT simplebus. We can remove sys/mips/nlm/dev/cfi_pci_xlp.c and sys/mips/nlm/dev/uart_pci_xlp.c
40 lines
1.8 KiB
Plaintext
40 lines
1.8 KiB
Plaintext
# $FreeBSD$
|
|
mips/nlm/hal/nlm_hal.c standard
|
|
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
|
|
mips/nlm/bus_space_rmi.c standard
|
|
mips/nlm/bus_space_rmi_pci.c standard
|
|
mips/nlm/mpreset.S standard
|
|
mips/nlm/board_eeprom.c standard
|
|
mips/nlm/board_cpld.c standard
|
|
mips/nlm/xlp_simplebus.c optional fdt
|
|
mips/nlm/xlp_pci.c optional pci
|
|
mips/nlm/uart_cpu_xlp.c optional uart
|
|
mips/nlm/usb_init.c optional usb
|
|
#
|
|
# Network driver and micro-core code
|
|
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 \
|
|
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}" \
|
|
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"
|
|
#
|
|
# 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
|