Deleted Added
full compact
Makefile (276479) Makefile (279799)
1# $FreeBSD: head/sys/boot/powerpc/ofw/Makefile 276479 2014-12-31 20:31:32Z dim $
1# $FreeBSD: head/sys/boot/powerpc/ofw/Makefile 279799 2015-03-09 02:57:34Z nwhitehorn $
2
3.include <src.opts.mk>
4MK_SSP= no
5
6PROG= loader
7NEWVERSWHAT= "Open Firmware loader" ${MACHINE_ARCH}
8BINDIR?= /boot
9INSTALLFLAGS= -b

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

16LOADER_UFS_SUPPORT?= yes
17LOADER_CD9660_SUPPORT?= yes
18LOADER_EXT2FS_SUPPORT?= no
19LOADER_NET_SUPPORT?= yes
20LOADER_NFS_SUPPORT?= yes
21LOADER_TFTP_SUPPORT?= no
22LOADER_GZIP_SUPPORT?= yes
23LOADER_BZIP2_SUPPORT?= no
2
3.include <src.opts.mk>
4MK_SSP= no
5
6PROG= loader
7NEWVERSWHAT= "Open Firmware loader" ${MACHINE_ARCH}
8BINDIR?= /boot
9INSTALLFLAGS= -b

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

16LOADER_UFS_SUPPORT?= yes
17LOADER_CD9660_SUPPORT?= yes
18LOADER_EXT2FS_SUPPORT?= no
19LOADER_NET_SUPPORT?= yes
20LOADER_NFS_SUPPORT?= yes
21LOADER_TFTP_SUPPORT?= no
22LOADER_GZIP_SUPPORT?= yes
23LOADER_BZIP2_SUPPORT?= no
24LOADER_FDT_SUPPORT?= yes
24
25.if ${LOADER_DISK_SUPPORT} == "yes"
26CFLAGS+= -DLOADER_DISK_SUPPORT
27.endif
28.if ${LOADER_UFS_SUPPORT} == "yes"
29CFLAGS+= -DLOADER_UFS_SUPPORT
30.endif
31.if ${LOADER_CD9660_SUPPORT} == "yes"

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

44CFLAGS+= -DLOADER_NET_SUPPORT
45.endif
46.if ${LOADER_NFS_SUPPORT} == "yes"
47CFLAGS+= -DLOADER_NFS_SUPPORT
48.endif
49.if ${LOADER_TFTP_SUPPORT} == "yes"
50CFLAGS+= -DLOADER_TFTP_SUPPORT
51.endif
25
26.if ${LOADER_DISK_SUPPORT} == "yes"
27CFLAGS+= -DLOADER_DISK_SUPPORT
28.endif
29.if ${LOADER_UFS_SUPPORT} == "yes"
30CFLAGS+= -DLOADER_UFS_SUPPORT
31.endif
32.if ${LOADER_CD9660_SUPPORT} == "yes"

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

45CFLAGS+= -DLOADER_NET_SUPPORT
46.endif
47.if ${LOADER_NFS_SUPPORT} == "yes"
48CFLAGS+= -DLOADER_NFS_SUPPORT
49.endif
50.if ${LOADER_TFTP_SUPPORT} == "yes"
51CFLAGS+= -DLOADER_TFTP_SUPPORT
52.endif
53.if ${LOADER_FDT_SUPPORT} == "yes"
54SRCS+= ofwfdt.c
55CFLAGS+= -I${.CURDIR}/../../fdt
56CFLAGS+= -I${.OBJDIR}/../../fdt
57CFLAGS+= -I${.CURDIR}/../../../contrib/libfdt
58CFLAGS+= -DLOADER_FDT_SUPPORT
59LIBFDT= ${.OBJDIR}/../../fdt/libfdt.a
60.endif
52
53.if ${MK_FORTH} != "no"
54# Enable BootForth
55BOOT_FORTH= yes
56CFLAGS+= -DBOOT_FORTH -I${.CURDIR}/../../ficl -I${.CURDIR}/../../ficl/powerpc
57LIBFICL= ${.OBJDIR}/../../ficl/libficl.a
58.endif
59

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

84# Open Firmware standalone support library
85LIBOFW= ${.OBJDIR}/../../ofw/libofw/libofw.a
86CFLAGS+= -I${.CURDIR}/../../ofw/libofw
87
88# where to get libstand from
89LIBSTAND= ${.OBJDIR}/../../libstand32/libstand.a
90CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
91
61
62.if ${MK_FORTH} != "no"
63# Enable BootForth
64BOOT_FORTH= yes
65CFLAGS+= -DBOOT_FORTH -I${.CURDIR}/../../ficl -I${.CURDIR}/../../ficl/powerpc
66LIBFICL= ${.OBJDIR}/../../ficl/libficl.a
67.endif
68

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

93# Open Firmware standalone support library
94LIBOFW= ${.OBJDIR}/../../ofw/libofw/libofw.a
95CFLAGS+= -I${.CURDIR}/../../ofw/libofw
96
97# where to get libstand from
98LIBSTAND= ${.OBJDIR}/../../libstand32/libstand.a
99CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
100
92DPADD= ${LIBFICL} ${LIBOFW} ${LIBSTAND}
93LDADD= ${LIBFICL} ${LIBOFW} ${LIBSTAND}
101DPADD= ${LIBFICL} ${LIBOFW} ${LIBFDT} ${LIBSTAND}
102LDADD= ${LIBFICL} ${LIBOFW} ${LIBFDT} ${LIBSTAND}
94
95vers.c: ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version
96 sh ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version ${NEWVERSWHAT}
97
103
104vers.c: ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version
105 sh ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version ${NEWVERSWHAT}
106
98loader.help: help.common help.ofw
107loader.help: help.common help.ofw ${.CURDIR}/../../fdt/help.fdt
99 cat ${.ALLSRC} | \
100 awk -f ${.CURDIR}/../../common/merge_help.awk > ${.TARGET}
101
102.PATH: ${.CURDIR}/../../forth
103FILES= loader.help loader.4th support.4th loader.conf
104FILES+= screen.4th frames.4th
105FILES+= beastie.4th brand.4th check-password.4th color.4th delay.4th
106FILES+= menu.4th menu-commands.4th menusets.4th shortcuts.4th version.4th
107FILESDIR_loader.conf= /boot/defaults
108
109.if !exists(${DESTDIR}/boot/loader.rc)
110FILES+= loader.rc
111.endif
112
113.if !exists(${DESTDIR}/boot/menu.rc)
114FILES+= menu.rc
115.endif
116
117.include <bsd.prog.mk>
108 cat ${.ALLSRC} | \
109 awk -f ${.CURDIR}/../../common/merge_help.awk > ${.TARGET}
110
111.PATH: ${.CURDIR}/../../forth
112FILES= loader.help loader.4th support.4th loader.conf
113FILES+= screen.4th frames.4th
114FILES+= beastie.4th brand.4th check-password.4th color.4th delay.4th
115FILES+= menu.4th menu-commands.4th menusets.4th shortcuts.4th version.4th
116FILESDIR_loader.conf= /boot/defaults
117
118.if !exists(${DESTDIR}/boot/loader.rc)
119FILES+= loader.rc
120.endif
121
122.if !exists(${DESTDIR}/boot/menu.rc)
123FILES+= menu.rc
124.endif
125
126.include <bsd.prog.mk>