Deleted Added
full compact
Makefile (125537) Makefile (125556)
1# $FreeBSD: head/sys/boot/i386/boot2/Makefile 125537 2004-02-06 21:58:32Z ru $
1# $FreeBSD: head/sys/boot/i386/boot2/Makefile 125556 2004-02-07 08:10:07Z ru $
2
3FILES= boot boot1 boot2
4
5NM?= nm
6
7# A value of 0x80 enables LBA support.
8B1FLAGS= 0x80
9

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

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

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

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