1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5.PATH: ${.CURDIR}/../../common 6 7LIB= uboot_fdt 8INTERNALLIB= 9WARNS?= 2 10 11SRCS= uboot_fdt.c 12 13CFLAGS+= -ffreestanding -msoft-float 14 15CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/ 16 17# U-Boot library headers 18CFLAGS+= -I${.CURDIR}/../lib 19 20# libfdt headers 21CFLAGS+= -I${.CURDIR}/../../fdt 22 23# Pick up the bootstrap header for some interface items 24CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../../.. -I. 25 26machine: 27 ln -sf ${.CURDIR}/../../../${MACHINE_CPUARCH}/include machine 28 29CLEANFILES+= machine 30 31.include <bsd.stand.mk> 32.include <bsd.lib.mk> 33 34beforedepend ${OBJS}: machine 35