Makefile (125537) | Makefile (125621) |
---|---|
1# $FreeBSD: head/sys/boot/i386/boot0/Makefile 125537 2004-02-06 21:58:32Z ru $ | 1# $FreeBSD: head/sys/boot/i386/boot0/Makefile 125621 2004-02-09 14:11:58Z ru $ |
2 | 2 |
3PROG= ${BOOT}.out 4INTERNALPROG= |
|
3FILES= ${BOOT} | 5FILES= ${BOOT} |
4CLEANFILES= ${BOOT} ${BOOT}.out ${BOOT}.o | 6NOMAN= 7SRCS= ${BOOT}.s 8CLEANFILES= ${BOOT} |
5 6BOOT?= boot0 7 8# The default set of flags compiled into boot0. This enables update (writing 9# the modified boot0 back to disk after running so that the selection made is 10# saved), packet mode (detect and use the BIOS EDD extensions if we try to 11# boot past the 1024 cylinder liimt), and booting from all valid slices. 12BOOT_BOOT0_FLAGS?= 0xf --- 12 unchanged lines hidden (view full) --- 25# and BOOT_COMCONSOLE_PORT into the correct values to define on the build 26# command line 27BOOT_BOOT0_COMCONSOLE_SPEED?= 0xE3 28 29AFLAGS+=--defsym FLAGS=${BOOT_BOOT0_FLAGS} \ 30 --defsym TICKS=${BOOT_BOOT0_TICKS} \ 31 --defsym COMSPEED=${BOOT_BOOT0_COMCONSOLE_SPEED} 32 | 9 10BOOT?= boot0 11 12# The default set of flags compiled into boot0. This enables update (writing 13# the modified boot0 back to disk after running so that the selection made is 14# saved), packet mode (detect and use the BIOS EDD extensions if we try to 15# boot past the 1024 cylinder liimt), and booting from all valid slices. 16BOOT_BOOT0_FLAGS?= 0xf --- 12 unchanged lines hidden (view full) --- 29# and BOOT_COMCONSOLE_PORT into the correct values to define on the build 30# command line 31BOOT_BOOT0_COMCONSOLE_SPEED?= 0xE3 32 33AFLAGS+=--defsym FLAGS=${BOOT_BOOT0_FLAGS} \ 34 --defsym TICKS=${BOOT_BOOT0_TICKS} \ 35 --defsym COMSPEED=${BOOT_BOOT0_COMCONSOLE_SPEED} 36 |
37LDFLAGS=-N -e start -Ttext ${BOOT_BOOT0_ORG} 38 |
|
33${BOOT}: ${BOOT}.out 34 objcopy -S -O binary ${BOOT}.out ${.TARGET} 35 | 39${BOOT}: ${BOOT}.out 40 objcopy -S -O binary ${BOOT}.out ${.TARGET} 41 |
36${BOOT}.out: ${BOOT}.o 37 ${LD} -N -e start -Ttext ${BOOT_BOOT0_ORG} -o ${.TARGET} ${BOOT}.o 38 | |
39.include <bsd.prog.mk> | 42.include <bsd.prog.mk> |