Makefile revision 164134
1163533Simp# $FreeBSD: head/sys/boot/arm/at91/boot2/Makefile 164134 2006-11-09 20:07:26Z imp $ 2163533Simp 3164134Simp.PATH: ${.CURDIR}/../libat91 4163533Simp 5163533SimpP=boot2 6163533SimpFILES=${P} 7164134SimpSRCS=arm_init.S boot2.c ${BOOT_FLAVOR}_board.c 8163533SimpNO_MAN= 9163533SimpLDFLAGS=-e 0 -T ${.CURDIR}/../linker.cfg 10163533SimpOBJS+= ${SRCS:N*.h:R:S/$/.o/g} 11163533Simp 12163533Simp.include <bsd.prog.mk> 13163533Simp 14164134Simp.if ${BOOT_FLAVOR} == "tsc" 15164134SimpSRCS+=ee.c 16164134Simp.endif 17164134Simp.if ${BOOT_FLAVOR} == "kb920x" 18164134SimpCFLAGS+=-DBOOT_IIC 19164134Simp.endif 20163533SimpCFLAGS+= \ 21163533Simp -I${.CURDIR}/../bootspi \ 22163533Simp -I${.CURDIR}/../../../common \ 23163533Simp -I${.CURDIR}/../../../.. \ 24163533Simp -D_KERNEL \ 25163533Simp -DUFS1_ONLY 26