3 .PATH: ${.CURDIR}/../../common
9 SRCS= crc32.c console.c copy.c devicename.c elf_freebsd.c glue.c
10 SRCS+= module.c net.c reboot.c time.c
12 CFLAGS+= -ffreestanding -msoft-float
14 CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
16 .if !defined(LOADER_NO_DISK_SUPPORT)
18 CFLAGS+= -DLOADER_DISK_SUPPORT
21 # Pick up FDT includes
22 CFLAGS+= -I${.CURDIR}/../../../../sys/contrib/libfdt/
24 # Pick up the bootstrap header for some interface items
25 CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../../.. -I.
27 .ifdef(BOOT_DISK_DEBUG)
28 # Make the disk code more talkative
33 ln -sf ${.CURDIR}/../../../${MACHINE_CPUARCH}/include machine
39 beforedepend ${OBJS}: machine