diff options
Diffstat (limited to 'stand/uboot/fdt/Makefile')
-rw-r--r-- | stand/uboot/fdt/Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/stand/uboot/fdt/Makefile b/stand/uboot/fdt/Makefile new file mode 100644 index 0000000..4bc38ec --- /dev/null +++ b/stand/uboot/fdt/Makefile @@ -0,0 +1,25 @@ +# $FreeBSD$ + +.include <bsd.init.mk> + +.PATH: ${LDRSRC} + +LIB= uboot_fdt +INTERNALLIB= +WARNS?= 2 + +SRCS= uboot_fdt.c + +CFLAGS+= -ffreestanding -msoft-float + +# U-Boot library headers +CFLAGS+= -I${UBOOTSRC}/lib + +# libfdt headers +CFLAGS+= -I${FDTSRC} + +# Pick up the bootstrap header for some interface items +CFLAGS+= -I${LDRSRC} + +.include <bsd.stand.mk> +.include <bsd.lib.mk> |