1# $FreeBSD: head/sys/boot/fdt/Makefile 262404 2014-02-23 22:12:25Z rwatson $
| 1# $FreeBSD: head/sys/boot/fdt/Makefile 273934 2014-11-01 17:12:44Z andrew $
|
2 3.PATH: ${.CURDIR}/../../contrib/libfdt/ 4 5LIB= fdt 6INTERNALLIB= 7 8# Vendor sources of libfdt. 9SRCS+= fdt.c fdt_ro.c fdt_wip.c fdt_sw.c fdt_rw.c fdt_strerror.c 10 11# Loader's fdt commands extension sources. 12SRCS+= fdt_loader_cmd.c 13
| 2 3.PATH: ${.CURDIR}/../../contrib/libfdt/ 4 5LIB= fdt 6INTERNALLIB= 7 8# Vendor sources of libfdt. 9SRCS+= fdt.c fdt_ro.c fdt_wip.c fdt_sw.c fdt_rw.c fdt_strerror.c 10 11# Loader's fdt commands extension sources. 12SRCS+= fdt_loader_cmd.c 13
|
14CFLAGS+= -I${.CURDIR}/../../contrib/libfdt/ -I${.CURDIR}/../common/ \ 15 -I${.CURDIR}/../uboot/lib
| 14CFLAGS+= -I${.CURDIR}/../../contrib/libfdt/ -I${.CURDIR}/../common/
|
16 17CFLAGS+= -ffreestanding 18 19.if ${MACHINE_CPUARCH} == "powerpc" || ${MACHINE_CPUARCH} == "arm" || ${MACHINE_CPUARCH} == "mips" 20CFLAGS+= -msoft-float 21.endif 22 23.if ${MACHINE_ARCH} == "powerpc64" 24CFLAGS+= -m32 25.endif 26 27CFLAGS+= -Wformat -Wall 28 29.include <bsd.lib.mk>
| 15 16CFLAGS+= -ffreestanding 17 18.if ${MACHINE_CPUARCH} == "powerpc" || ${MACHINE_CPUARCH} == "arm" || ${MACHINE_CPUARCH} == "mips" 19CFLAGS+= -msoft-float 20.endif 21 22.if ${MACHINE_ARCH} == "powerpc64" 23CFLAGS+= -m32 24.endif 25 26CFLAGS+= -Wformat -Wall 27 28.include <bsd.lib.mk>
|