6 SRCS= devicename.c elf_freebsd.c ofw_console.c ofw_copy.c ofw_disk.c \
7 ofw_memory.c ofw_module.c ofw_net.c ofw_reboot.c \
9 .PATH: ${.CURDIR}/../../zfs
10 SRCS+= devicename_stubs.c
12 CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
14 # Pick up the bootstrap header for some interface items
15 CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../../.. -I.
17 CFLAGS+= -ffreestanding
18 .if ${MACHINE_CPUARCH} == "powerpc"
20 SRCS+= ppc64_elf_freebsd.c
23 .ifdef(BOOT_DISK_DEBUG)
24 # Make the disk code more talkative
29 ln -sf ${.CURDIR}/../../../${MACHINE_CPUARCH}/include machine
35 beforedepend ${OBJS}: machine