Deleted Added
full compact
Makefile (125566) Makefile (125581)
1# $FreeBSD: head/sys/boot/i386/gptboot/Makefile 125566 2004-02-07 14:32:06Z ru $
1# $FreeBSD: head/sys/boot/i386/gptboot/Makefile 125581 2004-02-07 23:30:45Z ru $
2
3FILES= boot boot1 boot2
4
5NM?= nm
6
7# A value of 0x80 enables LBA support.
8B1FLAGS= 0x80
9

--- 81 unchanged lines hidden (view full) ---

91boot2.h: boot1.out
92 ${NM} -t d ${.ALLSRC} | awk '/([0-9])+ T xread/ \
93 { x = $$1 - ORG1; \
94 printf("#define XREADORG %#x\n", REL1 + x) }' \
95 ORG1=`printf "%d" ${ORG1}` \
96 REL1=`printf "%d" ${REL1}` > ${.TARGET}
97
98.if ${MACHINE_ARCH} == "amd64"
2
3FILES= boot boot1 boot2
4
5NM?= nm
6
7# A value of 0x80 enables LBA support.
8B1FLAGS= 0x80
9

--- 81 unchanged lines hidden (view full) ---

91boot2.h: boot1.out
92 ${NM} -t d ${.ALLSRC} | awk '/([0-9])+ T xread/ \
93 { x = $$1 - ORG1; \
94 printf("#define XREADORG %#x\n", REL1 + x) }' \
95 ORG1=`printf "%d" ${ORG1}` \
96 REL1=`printf "%d" ${REL1}` > ${.TARGET}
97
98.if ${MACHINE_ARCH} == "amd64"
99boot2.s: machine
99beforedepend boot2.s: machine
100CLEANFILES+= machine
101machine:
102 ln -sf ${.CURDIR}/../../../i386/include machine
103.endif
104
105.include <bsd.prog.mk>
100CLEANFILES+= machine
101machine:
102 ln -sf ${.CURDIR}/../../../i386/include machine
103.endif
104
105.include <bsd.prog.mk>