1.15.16
by Colin Watson
Import upstream version 2.00 |
1 |
AUTOMAKE_OPTIONS = subdir-objects -Wno-portability |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
2 |
|
3 |
DEPDIR = .deps-util |
|
116
by Colin Watson
* On architectures without a real GRUB port, just build the utilities. |
4 |
SUBDIRS = grub-core/gnulib . |
5 |
if COND_real_platform
|
|
6 |
SUBDIRS += grub-core |
|
7 |
endif
|
|
8 |
SUBDIRS += po docs util/bash-completion.d |
|
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
9 |
|
10 |
include $(top_srcdir)/conf/Makefile.common
|
|
11 |
include $(top_srcdir)/conf/Makefile.extra-dist
|
|
12 |
||
13 |
AM_CFLAGS = $(HOST_CFLAGS) |
|
14 |
AM_LDFLAGS = $(HOST_LDFLAGS) |
|
15 |
AM_CPPFLAGS = $(HOST_CPPFLAGS) $(CPPFLAGS_DEFAULT) |
|
16 |
AM_CCASFLAGS = $(HOST_CCASFLAGS) $(CCASFLAGS_DEFAULT) |
|
17 |
||
18 |
ACLOCAL_AMFLAGS = -I m4 |
|
19 |
||
20 |
CFLAGS_PROGRAM += $(CFLAGS_GNULIB) |
|
21 |
LDFLAGS_PROGRAM += $(LDFLAGS_GNULIB) |
|
22 |
CPPFLAGS_PROGRAM += $(CPPFLAGS_GNULIB) |
|
23 |
CCASFLAGS_PROGRAM += $(CCASFLAGS_GNULIB) |
|
24 |
||
25 |
include $(srcdir)/Makefile.util.am
|
|
26 |
||
27 |
# XXX Use Automake's LEX & YACC support
|
|
28 |
grub_script.tab.h: $(top_srcdir)/grub-core/script/parser.y |
|
29 |
$(YACC) -d -p grub_script_yy -b grub_script $(top_srcdir)/grub-core/script/parser.y |
|
30 |
grub_script.tab.c: grub_script.tab.h |
|
31 |
CLEANFILES += grub_script.tab.c grub_script.tab.h |
|
32 |
||
33 |
# For the lexer.
|
|
34 |
grub_script.yy.h: $(top_srcdir)/grub-core/script/yylex.l |
|
35 |
$(LEX) -o grub_script.yy.c --header-file=grub_script.yy.h $(top_srcdir)/grub-core/script/yylex.l |
|
36 |
grub_script.yy.c: grub_script.yy.h |
|
37 |
CLEANFILES += grub_script.yy.c grub_script.yy.h |
|
38 |
||
39 |
# For libgrub.a
|
|
40 |
libgrub.pp: grub_script.tab.h grub_script.yy.h $(libgrubmods_a_SOURCES) $(libgrubkern_a_SOURCES) |
|
41 |
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) \ |
|
42 |
-D'GRUB_MOD_INIT(x)=@MARKER@x@' $^ > $@ || (rm -f $@; exit 1) |
|
43 |
CLEANFILES += libgrub.pp |
|
44 |
||
45 |
libgrub_a_init.lst: libgrub.pp |
|
46 |
cat $< | grep '@MARKER@' | sed 's/@MARKER@\(.*\)@/\1/g' | sort -u > $@ || (rm -f $@; exit 1) |
|
47 |
CLEANFILES += libgrub_a_init.lst |
|
48 |
||
49 |
libgrub_a_init.c: libgrub_a_init.lst $(top_srcdir)/geninit.sh |
|
50 |
sh $(top_srcdir)/geninit.sh `cat $<` > $@ || (rm -f $@; exit 1) |
|
51 |
CLEANFILES += libgrub_a_init.c |
|
52 |
||
53 |
# For grub-fstest
|
|
54 |
grub_fstest.pp: $(grub_fstest_SOURCES) |
|
55 |
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(grub_fstest_CPPFLAGS) $(CPPFLAGS) \ |
|
56 |
-D'GRUB_MOD_INIT(x)=@MARKER@x@' $^ > $@ || (rm -f $@; exit 1) |
|
57 |
CLEANFILES += grub_fstest.pp |
|
58 |
||
59 |
grub_fstest_init.lst: libgrub.pp grub_fstest.pp |
|
60 |
cat $^ | grep '@MARKER@' | sed 's/@MARKER@\(.*\)@/\1/g' | sort -u > $@ || (rm -f $@; exit 1) |
|
61 |
CLEANFILES += grub_fstest_init.lst |
|
62 |
||
63 |
grub_fstest_init.c: grub_fstest_init.lst $(top_srcdir)/geninit.sh |
|
64 |
sh $(top_srcdir)/geninit.sh `cat $<` > $@ || (rm -f $@; exit 1) |
|
65 |
CLEANFILES += grub_fstest_init.c |
|
66 |
||
67 |
if COND_HAVE_FONT_SOURCE
|
|
1.15.16
by Colin Watson
Import upstream version 2.00 |
68 |
pkgdata_DATA += unicode.pf2 ascii.pf2 euro.pf2 ascii.h widthspec.h |
69 |
endif
|
|
70 |
||
71 |
starfield_theme_files = $(srcdir)/themes/starfield/blob_w.png $(srcdir)/themes/starfield/boot_menu_c.png $(srcdir)/themes/starfield/boot_menu_e.png $(srcdir)/themes/starfield/boot_menu_ne.png $(srcdir)/themes/starfield/boot_menu_n.png $(srcdir)/themes/starfield/boot_menu_nw.png $(srcdir)/themes/starfield/boot_menu_se.png $(srcdir)/themes/starfield/boot_menu_s.png $(srcdir)/themes/starfield/boot_menu_sw.png $(srcdir)/themes/starfield/boot_menu_w.png $(srcdir)/themes/starfield/slider_c.png $(srcdir)/themes/starfield/slider_n.png $(srcdir)/themes/starfield/slider_s.png $(srcdir)/themes/starfield/starfield.png $(srcdir)/themes/starfield/terminal_box_c.png $(srcdir)/themes/starfield/terminal_box_e.png $(srcdir)/themes/starfield/terminal_box_ne.png $(srcdir)/themes/starfield/terminal_box_n.png $(srcdir)/themes/starfield/terminal_box_nw.png $(srcdir)/themes/starfield/terminal_box_se.png $(srcdir)/themes/starfield/terminal_box_s.png $(srcdir)/themes/starfield/terminal_box_sw.png $(srcdir)/themes/starfield/terminal_box_w.png $(srcdir)/themes/starfield/theme.txt $(srcdir)/themes/starfield/README $(srcdir)/themes/starfield/COPYING.CC-BY-SA-3.0 |
|
72 |
||
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
73 |
build-grub-mkfont: util/grub-mkfont.c grub-core/unidata.c grub-core/kern/emu/misc.c util/misc.c |
74 |
$(BUILD_CC) -o $@ -I$(top_srcdir)/include $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) -DGRUB_MKFONT=1 -DGRUB_BUILD=1 -DGRUB_UTIL=1 -DGRUB_BUILD_PROGRAM_NAME=\"build-grub-mkfont\" $^ $(build_freetype_cflags) $(build_freetype_libs) |
|
75 |
CLEANFILES += build-grub-mkfont |
|
76 |
||
77 |
garbage-gen: util/garbage-gen.c |
|
78 |
$(BUILD_CC) -o $@ $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) $^ |
|
79 |
CLEANFILES += garbage-gen |
|
80 |
EXTRA_DIST += util/garbage-gen.c |
|
81 |
||
82 |
build-grub-gen-asciih: util/grub-gen-asciih.c |
|
83 |
$(BUILD_CC) -o $@ -I$(top_srcdir)/include $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) -DGRUB_MKFONT=1 -DGRUB_BUILD=1 -DGRUB_UTIL=1 $^ $(build_freetype_cflags) $(build_freetype_libs) -Wall -Werror |
|
84 |
CLEANFILES += build-grub-gen-asciih |
|
85 |
||
86 |
build-grub-gen-widthspec: util/grub-gen-widthspec.c |
|
87 |
$(BUILD_CC) -o $@ -I$(top_srcdir)/include $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) -DGRUB_MKFONT=1 -DGRUB_BUILD=1 -DGRUB_UTIL=1 $^ $(build_freetype_cflags) $(build_freetype_libs) -Wall -Werror |
|
88 |
CLEANFILES += build-grub-gen-widthspec |
|
89 |
||
1.15.16
by Colin Watson
Import upstream version 2.00 |
90 |
if COND_STARFIELD
|
91 |
starfield_DATA = dejavu_10.pf2 dejavu_12.pf2 dejavu_bold_14.pf2 dejavu_14.pf2 dejavu_16.pf2 $(starfield_theme_files) |
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
92 |
dejavu_10.pf2: $(DJVU_FONT_SOURCE) build-grub-mkfont |
93 |
./build-grub-mkfont -s 10 -o $@ $(DJVU_FONT_SOURCE) |
|
94 |
dejavu_12.pf2: $(DJVU_FONT_SOURCE) build-grub-mkfont |
|
95 |
./build-grub-mkfont -s 12 -o $@ $(DJVU_FONT_SOURCE) |
|
96 |
dejavu_14.pf2: $(DJVU_FONT_SOURCE) build-grub-mkfont |
|
97 |
./build-grub-mkfont -s 14 -o $@ $(DJVU_FONT_SOURCE) |
|
98 |
dejavu_bold_14.pf2: $(DJVU_FONT_SOURCE) build-grub-mkfont |
|
99 |
./build-grub-mkfont -b -s 14 -o $@ $(DJVU_FONT_SOURCE) |
|
100 |
dejavu_16.pf2: $(DJVU_FONT_SOURCE) build-grub-mkfont |
|
101 |
./build-grub-mkfont -s 16 -o $@ $(DJVU_FONT_SOURCE) |
|
1.15.16
by Colin Watson
Import upstream version 2.00 |
102 |
else
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
103 |
starfield_DATA = |
1.15.16
by Colin Watson
Import upstream version 2.00 |
104 |
endif
|
105 |
||
106 |
EXTRA_DIST += $(starfield_theme_files) |
|
107 |
EXTRA_DIST += $(srcdir)/themes/starfield/src/slider_s.xcf $(srcdir)/themes/starfield/src/slider_n.xcf $(srcdir)/themes/starfield/src/slider_c.xcf $(srcdir)/themes/starfield/src/blob_nw.xcf $(srcdir)/themes/starfield/src/bootmenu/center.xcf $(srcdir)/themes/starfield/src/bootmenu/corner.xcf $(srcdir)/themes/starfield/src/bootmenu/side.xcf $(srcdir)/themes/starfield/src/terminalbox/side.xcf $(srcdir)/themes/starfield/src/terminalbox/corner.xcf $(srcdir)/themes/starfield/src/terminalbox/center.xcf |
|
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
108 |
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
109 |
unicode.pf2: $(FONT_SOURCE) build-grub-mkfont |
110 |
./build-grub-mkfont -o $@ $(FONT_SOURCE) || (rm -f $@; exit 1) |
|
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
111 |
CLEANFILES += unicode.pf2 |
112 |
||
113 |
# Arrows and lines are needed to draw the menu, so always include them
|
|
114 |
UNICODE_ARROWS=0x2190-0x2193 |
|
115 |
UNICODE_LINES=0x2501-0x251B |
|
116 |
||
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
117 |
ascii.pf2: $(FONT_SOURCE) build-grub-mkfont |
118 |
./build-grub-mkfont -o $@ $(FONT_SOURCE) -r 0x0-0x7f,$(UNICODE_ARROWS),$(UNICODE_LINES) || (rm -f $@; exit 1) |
|
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
119 |
CLEANFILES += ascii.pf2 |
120 |
||
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
121 |
euro.pf2: $(FONT_SOURCE) build-grub-mkfont |
122 |
./build-grub-mkfont -o $@ $(FONT_SOURCE) -r 0x0-0x4ff,0x1e00-0x1fff,$(UNICODE_ARROWS),$(UNICODE_LINES) || (rm -f $@; exit 1) |
|
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
123 |
CLEANFILES += euro.pf2 |
124 |
||
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
125 |
ascii.h: $(FONT_SOURCE) build-grub-gen-asciih |
126 |
./build-grub-gen-asciih $(FONT_SOURCE) $@ || (rm -f $@; exit 1) |
|
127 |
CLEANFILES += ascii.h |
|
128 |
||
129 |
widthspec.h: $(FONT_SOURCE) build-grub-gen-widthspec |
|
130 |
./build-grub-gen-widthspec $(FONT_SOURCE) $@ || (rm -f $@; exit 1) |
|
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
131 |
CLEANFILES += widthspec.h |
132 |
||
133 |
# Install config.h into platformdir
|
|
1.15.18
by Colin Watson
Import upstream version 2.02~beta2 |
134 |
nodist_platform_HEADERS = config.h |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
135 |
|
1.15.16
by Colin Watson
Import upstream version 2.00 |
136 |
pkgdata_DATA += grub-mkconfig_lib |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
137 |
|
138 |
||
116
by Colin Watson
* On architectures without a real GRUB port, just build the utilities. |
139 |
if COND_real_platform
|
140 |
||
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
141 |
if COND_i386_coreboot
|
142 |
QEMU32=qemu-system-i386 |
|
143 |
endif
|
|
144 |
||
145 |
if COND_i386_multiboot
|
|
146 |
QEMU32=qemu-system-i386 |
|
147 |
endif
|
|
148 |
||
149 |
if COND_i386_ieee1275
|
|
150 |
QEMU32=qemu-system-i386 |
|
151 |
endif
|
|
152 |
||
153 |
if COND_i386_qemu
|
|
154 |
QEMU32=qemu-system-i386 |
|
155 |
endif
|
|
156 |
||
157 |
if COND_i386_pc
|
|
158 |
QEMU32=qemu-system-i386 |
|
159 |
endif
|
|
160 |
||
161 |
if COND_i386_efi
|
|
162 |
QEMU32=qemu-system-i386 |
|
163 |
endif
|
|
164 |
||
165 |
if COND_x86_64_efi
|
|
166 |
QEMU32=qemu-system-x86_64 |
|
167 |
endif
|
|
168 |
||
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
169 |
linux.init.x86_64: $(srcdir)/grub-core/tests/boot/linux.init-x86_64.S $(srcdir)/grub-core/tests/boot/qemu-shutdown-x86.S |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
170 |
$(TARGET_CC) -o $@ $< -m64 -nostdlib -nostdinc -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" |
171 |
||
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
172 |
linux.init.i386: $(srcdir)/grub-core/tests/boot/linux.init-i386.S $(srcdir)/grub-core/tests/boot/qemu-shutdown-x86.S |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
173 |
$(TARGET_CC) -o $@ $< -m32 -nostdlib -nostdinc -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" |
174 |
||
1.15.16
by Colin Watson
Import upstream version 2.00 |
175 |
linux.init.mips: $(srcdir)/grub-core/tests/boot/linux.init-mips.S |
176 |
$(TARGET_CC) -o $@ $< -nostdlib -nostdinc -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" |
|
177 |
||
178 |
linux.init.ppc: $(srcdir)/grub-core/tests/boot/linux.init-ppc.S |
|
179 |
$(TARGET_CC) -o $@ $< -nostdlib -nostdinc -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" |
|
180 |
||
181 |
linux.init.mipsel: $(srcdir)/grub-core/tests/boot/linux.init-mips.S |
|
182 |
$(TARGET_CC) -o $@ $< -nostdlib -nostdinc -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" |
|
183 |
||
184 |
linux.init.loongson: $(srcdir)/grub-core/tests/boot/linux.init-mips.S |
|
185 |
$(TARGET_CC) -o $@ $< -nostdlib -nostdinc -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" -DREBOOT=1 |
|
186 |
||
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
187 |
multiboot.elf: $(srcdir)/grub-core/tests/boot/kernel-i386.S $(srcdir)/grub-core/tests/boot/qemu-shutdown-x86.S |
1.15.15
by Colin Watson
Import upstream version 1.99 |
188 |
$(TARGET_CC) -o $@ $< -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" -ffreestanding -nostdlib -nostdinc -DTARGET_MULTIBOOT=1 -Wl,--build-id=none -Wl,-N -Wl,-Ttext,0x100000 -m32 -I$(srcdir)/include |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
189 |
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
190 |
kfreebsd.elf: $(srcdir)/grub-core/tests/boot/kernel-i386.S $(srcdir)/grub-core/tests/boot/qemu-shutdown-x86.S |
1.15.15
by Colin Watson
Import upstream version 1.99 |
191 |
$(TARGET_CC) -o $@ $< -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" -ffreestanding -nostdlib -nostdinc -Wl,--build-id=none -Wl,-N -Wl,-Ttext,0x100000 -m32 -I$(srcdir)/include |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
192 |
|
193 |
kfreebsd.aout: kfreebsd.elf |
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
194 |
$(TARGET_OBJCOPY) -O a.out-i386-linux $< $@ -R .note.gnu.build-id -R .note.gnu.gold-version |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
195 |
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
196 |
pc-chainloader.elf: $(srcdir)/grub-core/tests/boot/kernel-8086.S $(srcdir)/grub-core/tests/boot/qemu-shutdown-x86.S |
1.15.15
by Colin Watson
Import upstream version 1.99 |
197 |
$(TARGET_CC) -o $@ $< -DTARGET_CHAINLOADER=1 -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" -ffreestanding -nostdlib -nostdinc -Wl,--build-id=none -Wl,-N -Wl,-Ttext,0x7c00 -m32 |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
198 |
|
199 |
pc-chainloader.bin: pc-chainloader.elf |
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
200 |
$(TARGET_OBJCOPY) -O binary --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn -R .note.gnu.gold-version $< $@; |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
201 |
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
202 |
ntldr.elf: $(srcdir)/grub-core/tests/boot/kernel-8086.S $(srcdir)/grub-core/tests/boot/qemu-shutdown-x86.S |
1.15.15
by Colin Watson
Import upstream version 1.99 |
203 |
$(TARGET_CC) -o $@ $< -DTARGET_NTLDR=1 -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" -ffreestanding -nostdlib -nostdinc -Wl,--build-id=none -Wl,-N -Wl,-Ttext,0 -m32 |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
204 |
|
205 |
ntldr.bin: ntldr.elf |
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
206 |
$(TARGET_OBJCOPY) -O binary --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn -R .note.gnu.gold-version $< $@; |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
207 |
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
208 |
multiboot2.elf: $(srcdir)/grub-core/tests/boot/kernel-i386.S $(srcdir)/grub-core/tests/boot/qemu-shutdown-x86.S |
1.15.15
by Colin Watson
Import upstream version 1.99 |
209 |
$(TARGET_CC) -o $@ $< -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" -ffreestanding -nostdlib -nostdinc -Wl,--build-id=none -Wl,-N -Wl,-Ttext,0x100000 -m32 -I$(srcdir)/include -DTARGET_MULTIBOOT2=1 |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
210 |
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
211 |
kfreebsd.init.x86_64: $(srcdir)/grub-core/tests/boot/kfreebsd.init-x86_64.S $(srcdir)/grub-core/tests/boot/qemu-shutdown-x86.S |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
212 |
$(TARGET_CC) -o $@ $< -m64 -nostdlib -nostdinc -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" && freebsd-brandelf -t FreeBSD $@ |
213 |
||
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
214 |
kfreebsd.init.i386: $(srcdir)/grub-core/tests/boot/kfreebsd.init-i386.S $(srcdir)/grub-core/tests/boot/qemu-shutdown-x86.S |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
215 |
$(TARGET_CC) -o $@ $< -m32 -nostdlib -nostdinc -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" && freebsd-brandelf -t FreeBSD $@ |
216 |
||
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
217 |
knetbsd.init.i386: $(srcdir)/grub-core/tests/boot/kbsd.init-i386.S $(srcdir)/grub-core/tests/boot/qemu-shutdown-x86.S |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
218 |
$(TARGET_CC) -o $@ $< -m32 -nostdlib -nostdinc -DTARGET_NETBSD=1 -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" |
219 |
||
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
220 |
kopenbsd.init.i386: $(srcdir)/grub-core/tests/boot/kbsd.init-i386.S $(srcdir)/grub-core/tests/boot/qemu-shutdown-x86.S |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
221 |
$(TARGET_CC) -o $@ $< -m32 -nostdlib -nostdinc -DTARGET_OPENBSD=1 -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" |
222 |
||
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
223 |
knetbsd.init.x86_64: $(srcdir)/grub-core/tests/boot/kbsd.init-x86_64.S $(srcdir)/grub-core/tests/boot/qemu-shutdown-x86.S |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
224 |
$(TARGET_CC) -o $@ $< -m64 -DTARGET_NETBSD=1 -nostdlib -nostdinc -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" |
225 |
||
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
226 |
kopenbsd.init.x86_64: $(srcdir)/grub-core/tests/boot/kbsd.init-x86_64.S $(srcdir)/grub-core/tests/boot/qemu-shutdown-x86.S |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
227 |
$(TARGET_CC) -o $@ $< -m64 -DTARGET_OPENBSD=1 -nostdlib -nostdinc -DSUCCESSFUL_BOOT_STRING=\"$(SUCCESSFUL_BOOT_STRING)\" |
228 |
||
1.15.16
by Colin Watson
Import upstream version 2.00 |
229 |
linux-initramfs.mips: linux.init.mips Makefile |
230 |
TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && cp $< $$TDIR/init && (cd $$TDIR && echo ./init | cpio --quiet --dereference -o -H newc) | gzip > $@ && rm -rf $$TDIR |
|
231 |
||
232 |
linux-initramfs.ppc: linux.init.ppc Makefile |
|
233 |
TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && cp $< $$TDIR/init && (cd $$TDIR && echo ./init | cpio --quiet --dereference -o -H newc) | gzip > $@ && rm -rf $$TDIR |
|
234 |
||
235 |
linux-initramfs.mipsel: linux.init.mipsel Makefile |
|
236 |
TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && cp $< $$TDIR/init && (cd $$TDIR && echo ./init | cpio --quiet --dereference -o -H newc) | gzip > $@ && rm -rf $$TDIR |
|
237 |
||
238 |
linux-initramfs.loongson: linux.init.loongson Makefile |
|
239 |
TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && cp $< $$TDIR/init && (cd $$TDIR && echo ./init | cpio --quiet --dereference -o -H newc) | gzip > $@ && rm -rf $$TDIR |
|
240 |
||
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
241 |
linux-initramfs.i386: linux.init.i386 Makefile |
242 |
TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && cp $< $$TDIR/init && (cd $$TDIR && echo ./init | cpio --quiet --dereference -o -H newc) | gzip > $@ && rm -rf $$TDIR |
|
243 |
||
244 |
linux-initramfs.x86_64: linux.init.x86_64 Makefile |
|
245 |
TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && cp $< $$TDIR/init && (cd $$TDIR && echo ./init | cpio --quiet --dereference -o -H newc) | gzip > $@ && rm -rf $$TDIR |
|
246 |
||
247 |
kfreebsd-mfsroot.i386.img: kfreebsd.init.i386 Makefile |
|
248 |
TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && mkdir $$TDIR/dev && mkdir $$TDIR/sbin && cp $< $$TDIR/sbin/init && makefs -t ffs -s 30m -f 1000 -o minfree=0,version=1 $@ $$TDIR && rm -rf $$TDIR |
|
249 |
||
250 |
knetbsd.image.i386: knetbsd.init.i386 $(srcdir)/grub-core/tests/boot/kbsd.spec.txt |
|
251 |
TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && mkdir $$TDIR/dev && mkdir $$TDIR/sbin && cp $< $$TDIR/sbin/init && makefs -F $(srcdir)/grub-core/tests/boot/kbsd.spec.txt -t ffs -s 64k -f 10 -o minfree=0,version=1 $@ $$TDIR && rm -rf $$TDIR |
|
252 |
||
253 |
kopenbsd.image.i386: kopenbsd.init.i386 $(srcdir)/grub-core/tests/boot/kopenbsdlabel.txt |
|
254 |
TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && mkdir $$TDIR/dev && mkdir $$TDIR/sbin && cp $< $$TDIR/sbin/init && makefs -F $(srcdir)/grub-core/tests/boot/kbsd.spec.txt -t ffs -s 128k -f 10 -o minfree=0,version=1 $@ $$TDIR && bsdlabel -f -R $@ $(srcdir)/grub-core/tests/boot/kopenbsdlabel.txt && rm -rf $$TDIR || rm -f $@ |
|
255 |
||
256 |
kopenbsd.image.x86_64: kopenbsd.init.x86_64 $(srcdir)/grub-core/tests/boot/kopenbsdlabel.txt |
|
257 |
TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && mkdir $$TDIR/dev && mkdir $$TDIR/sbin && cp $< $$TDIR/sbin/init && makefs -F $(srcdir)/grub-core/tests/boot/kbsd.spec.txt -t ffs -s 128k -f 10 -o minfree=0,version=1 $@ $$TDIR && bsdlabel -f -R $@ $(srcdir)/grub-core/tests/boot/kopenbsdlabel.txt && rm -rf $$TDIR || rm -f $@ |
|
258 |
||
259 |
knetbsd.miniroot-image.i386.img: knetbsd.image.i386 $(GRUB_PAYLOADS_DIR)/knetbsd.miniroot.i386 |
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
260 |
$(TARGET_OBJCOPY) --add-section=miniroot=$< $(GRUB_PAYLOADS_DIR)/knetbsd.miniroot.i386 $@ |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
261 |
|
262 |
kfreebsd-mfsroot.x86_64.img: kfreebsd.init.x86_64 Makefile |
|
263 |
TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && mkdir $$TDIR/dev && mkdir $$TDIR/sbin && cp $< $$TDIR/sbin/init && makefs -t ffs -s 30m -f 1000 -o minfree=0,version=1 $@ $$TDIR && rm -rf $$TDIR |
|
264 |
||
265 |
knetbsd.image.x86_64: knetbsd.init.x86_64 $(srcdir)/grub-core/tests/boot/kbsd.spec.txt |
|
266 |
TDIR=`mktemp -d "$${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` && mkdir $$TDIR/dev && mkdir $$TDIR/sbin && cp $< $$TDIR/sbin/init && makefs -F $(srcdir)/grub-core/tests/boot/kbsd.spec.txt -t ffs -s 64k -f 10 -o minfree=0,version=1 $@ $$TDIR && rm -rf $$TDIR |
|
267 |
||
268 |
knetbsd.miniroot-image.x86_64.img: knetbsd.image.x86_64 $(GRUB_PAYLOADS_DIR)/knetbsd.miniroot.x86_64 |
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
269 |
$(TARGET_OBJCOPY) --add-section=miniroot=$< $(GRUB_PAYLOADS_DIR)/knetbsd.miniroot.x86_64 $@ |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
270 |
|
271 |
CLEANFILES += linux.init.i386 kfreebsd.init.i386 linux.init.x86_64 linux-initramfs.i386 linux-initramfs.x86_64 |
|
272 |
||
273 |
kfreebsd-mfsroot.i386.gz: kfreebsd-mfsroot.i386.img |
|
274 |
gzip < $< > $@
|
|
275 |
||
276 |
bootcheck-kfreebsd-i386: kfreebsd-mfsroot.i386.gz $(GRUB_PAYLOADS_DIR)/kfreebsd.i386 $(GRUB_PAYLOADS_DIR)/kfreebsd_env.i386 $(srcdir)/grub-core/tests/boot/kfreebsd.cfg grub-shell |
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
277 |
./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --qemu=$(QEMU32) --files=/mfsroot.gz=kfreebsd-mfsroot.i386.gz --files=/kfreebsd=$(GRUB_PAYLOADS_DIR)/kfreebsd.i386 --files=/kfreebsd_env=$(GRUB_PAYLOADS_DIR)/kfreebsd_env.i386 $(srcdir)/grub-core/tests/boot/kfreebsd.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
278 |
|
279 |
kfreebsd-mfsroot.x86_64.gz: kfreebsd-mfsroot.x86_64.img |
|
280 |
gzip < $< > $@
|
|
281 |
||
282 |
bootcheck-kfreebsd-x86_64: kfreebsd-mfsroot.x86_64.gz $(GRUB_PAYLOADS_DIR)/kfreebsd.x86_64 $(GRUB_PAYLOADS_DIR)/kfreebsd_env.x86_64 $(srcdir)/grub-core/tests/boot/kfreebsd.cfg grub-shell |
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
283 |
./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --qemu=qemu-system-x86_64 --files=/mfsroot.gz=kfreebsd-mfsroot.x86_64.gz --files=/kfreebsd=$(GRUB_PAYLOADS_DIR)/kfreebsd.x86_64 --files=/kfreebsd_env=$(GRUB_PAYLOADS_DIR)/kfreebsd_env.x86_64 $(srcdir)/grub-core/tests/boot/kfreebsd.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
284 |
|
285 |
knetbsd.miniroot-image.i386.gz: knetbsd.miniroot-image.i386.img |
|
286 |
gzip < $< > $@
|
|
287 |
||
288 |
bootcheck-knetbsd-i386: knetbsd.miniroot-image.i386.gz $(GRUB_PAYLOADS_DIR)/knetbsd.i386 $(srcdir)/grub-core/tests/boot/knetbsd.cfg grub-shell |
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
289 |
./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --qemu=$(QEMU32) --files=/miniroot.gz=knetbsd.miniroot-image.i386.gz --files=/knetbsd=$(GRUB_PAYLOADS_DIR)/knetbsd.i386 $(srcdir)/grub-core/tests/boot/knetbsd.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
290 |
|
291 |
bootcheck-kopenbsd-i386: kopenbsd.image.i386 $(GRUB_PAYLOADS_DIR)/kopenbsd.i386 $(srcdir)/grub-core/tests/boot/kopenbsd.cfg grub-shell |
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
292 |
./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --qemu=$(QEMU32) --files=/ramdisk=kopenbsd.image.i386 --files=/kopenbsd=$(GRUB_PAYLOADS_DIR)/kopenbsd.i386 $(srcdir)/grub-core/tests/boot/kopenbsd.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
293 |
|
294 |
bootcheck-kopenbsd-x86_64: kopenbsd.image.x86_64 $(GRUB_PAYLOADS_DIR)/kopenbsd.x86_64 $(srcdir)/grub-core/tests/boot/kopenbsd.cfg grub-shell |
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
295 |
./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --qemu=qemu-system-x86_64 --files=/ramdisk=kopenbsd.image.x86_64 --files=/kopenbsd=$(GRUB_PAYLOADS_DIR)/kopenbsd.x86_64 $(srcdir)/grub-core/tests/boot/kopenbsd.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
296 |
|
297 |
knetbsd.miniroot-image.x86_64.gz: knetbsd.miniroot-image.x86_64.img |
|
298 |
gzip < $< > $@
|
|
299 |
||
300 |
bootcheck-knetbsd-x86_64: knetbsd.miniroot-image.x86_64.gz $(GRUB_PAYLOADS_DIR)/knetbsd.x86_64 $(srcdir)/grub-core/tests/boot/knetbsd.cfg grub-shell |
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
301 |
./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --qemu=qemu-system-x86_64 --files=/miniroot.gz=knetbsd.miniroot-image.x86_64.gz --files=/knetbsd=$(GRUB_PAYLOADS_DIR)/knetbsd.x86_64 $(srcdir)/grub-core/tests/boot/knetbsd.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
302 |
|
303 |
bootcheck-linux-i386: linux-initramfs.i386 $(GRUB_PAYLOADS_DIR)/linux.i386 $(srcdir)/grub-core/tests/boot/linux.cfg grub-shell |
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
304 |
./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --qemu=$(QEMU32) --files=/initrd=linux-initramfs.i386 --files=/linux=$(GRUB_PAYLOADS_DIR)/linux.i386 $(srcdir)/grub-core/tests/boot/linux.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
305 |
|
306 |
bootcheck-linux-x86_64: linux-initramfs.x86_64 $(GRUB_PAYLOADS_DIR)/linux.x86_64 $(srcdir)/grub-core/tests/boot/linux.cfg grub-shell |
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
307 |
./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --qemu=qemu-system-x86_64 --files=/initrd=linux-initramfs.x86_64 --files=/linux=$(GRUB_PAYLOADS_DIR)/linux.x86_64 $(srcdir)/grub-core/tests/boot/linux.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null |
1.15.16
by Colin Watson
Import upstream version 2.00 |
308 |
|
309 |
bootcheck-linux-mips: linux-initramfs.mips $(GRUB_PAYLOADS_DIR)/linux.mips $(srcdir)/grub-core/tests/boot/linux.cfg grub-shell |
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
310 |
./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --files=/initrd=linux-initramfs.mips --files=/linux=$(GRUB_PAYLOADS_DIR)/linux.mips $(srcdir)/grub-core/tests/boot/linux.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null |
1.15.16
by Colin Watson
Import upstream version 2.00 |
311 |
|
312 |
bootcheck-linux-ppc: linux-initramfs.ppc $(GRUB_PAYLOADS_DIR)/linux.ppc $(srcdir)/grub-core/tests/boot/linux.cfg grub-shell |
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
313 |
./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --files=/initrd=linux-initramfs.ppc --files=/linux=$(GRUB_PAYLOADS_DIR)/linux.ppc $(srcdir)/grub-core/tests/boot/linux-ppc.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null |
1.15.16
by Colin Watson
Import upstream version 2.00 |
314 |
|
315 |
bootcheck-linux-mipsel: linux-initramfs.mipsel $(GRUB_PAYLOADS_DIR)/linux.mipsel $(srcdir)/grub-core/tests/boot/linux.cfg grub-shell |
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
316 |
./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --files=/initrd=linux-initramfs.mipsel --files=/linux=$(GRUB_PAYLOADS_DIR)/linux.mipsel $(srcdir)/grub-core/tests/boot/linux.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null |
1.15.16
by Colin Watson
Import upstream version 2.00 |
317 |
|
318 |
bootcheck-linux-loongson: linux-initramfs.loongson $(GRUB_PAYLOADS_DIR)/linux.loongson $(srcdir)/grub-core/tests/boot/linux.cfg grub-shell |
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
319 |
./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --files=/initrd=linux-initramfs.loongson --files=/linux=$(GRUB_PAYLOADS_DIR)/linux.loongson $(srcdir)/grub-core/tests/boot/linux.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
320 |
|
321 |
bootcheck-linux16-i386: linux-initramfs.i386 $(GRUB_PAYLOADS_DIR)/linux.i386 $(srcdir)/grub-core/tests/boot/linux.cfg grub-shell |
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
322 |
./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --qemu=$(QEMU32) --files=/initrd=linux-initramfs.i386 --files=/linux=$(GRUB_PAYLOADS_DIR)/linux.i386 $(srcdir)/grub-core/tests/boot/linux16.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
323 |
|
324 |
bootcheck-linux16-x86_64: linux-initramfs.x86_64 $(GRUB_PAYLOADS_DIR)/linux.x86_64 $(srcdir)/grub-core/tests/boot/linux.cfg grub-shell |
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
325 |
./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --qemu=qemu-system-x86_64 --files=/initrd=linux-initramfs.x86_64 --files=/linux=$(GRUB_PAYLOADS_DIR)/linux.x86_64 $(srcdir)/grub-core/tests/boot/linux16.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
326 |
|
327 |
bootcheck-multiboot: multiboot.elf $(srcdir)/grub-core/tests/boot/multiboot.cfg grub-shell |
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
328 |
./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --qemu=$(QEMU32) --files=/multiboot.elf=multiboot.elf $(srcdir)/grub-core/tests/boot/multiboot.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
329 |
|
330 |
bootcheck-multiboot2: multiboot2.elf $(srcdir)/grub-core/tests/boot/multiboot2.cfg grub-shell |
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
331 |
./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --qemu=$(QEMU32) --files=/multiboot2.elf=multiboot2.elf $(srcdir)/grub-core/tests/boot/multiboot2.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
332 |
|
333 |
bootcheck-kfreebsd-aout: kfreebsd.aout $(srcdir)/grub-core/tests/boot/kfreebsd-aout.cfg grub-shell |
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
334 |
./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --qemu=$(QEMU32) --files=/kfreebsd.aout=kfreebsd.aout $(srcdir)/grub-core/tests/boot/kfreebsd-aout.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
335 |
|
336 |
bootcheck-pc-chainloader: pc-chainloader.bin $(srcdir)/grub-core/tests/boot/pc-chainloader.cfg grub-shell |
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
337 |
./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --qemu=$(QEMU32) --files=/pc-chainloader.bin=pc-chainloader.bin $(srcdir)/grub-core/tests/boot/pc-chainloader.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null |
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
338 |
|
339 |
bootcheck-ntldr: ntldr.bin $(srcdir)/grub-core/tests/boot/ntldr.cfg grub-shell |
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
340 |
./grub-shell --timeout=$(BOOTCHECK_TIMEOUT) --qemu=$(QEMU32) --files=/ntldr.bin=ntldr.bin $(srcdir)/grub-core/tests/boot/ntldr.cfg | grep $(SUCCESSFUL_BOOT_STRING) > /dev/null |
1.15.16
by Colin Watson
Import upstream version 2.00 |
341 |
|
342 |
if COND_i386_efi
|
|
343 |
BOOTCHECKS = bootcheck-kfreebsd-aout bootcheck-kopenbsd-i386 bootcheck-kopenbsd-x86_64 bootcheck-multiboot bootcheck-multiboot2 bootcheck-linux-i386 bootcheck-linux-x86_64 bootcheck-knetbsd-x86_64 bootcheck-kfreebsd-x86_64 bootcheck-kfreebsd-i386 |
|
344 |
endif
|
|
345 |
||
346 |
if COND_x86_64_efi
|
|
347 |
BOOTCHECKS = bootcheck-kfreebsd-aout bootcheck-kopenbsd-i386 bootcheck-kopenbsd-x86_64 bootcheck-multiboot bootcheck-multiboot2 bootcheck-linux-i386 bootcheck-linux-x86_64 bootcheck-knetbsd-x86_64 bootcheck-kfreebsd-x86_64 bootcheck-kfreebsd-i386 |
|
348 |
endif
|
|
349 |
||
350 |
if COND_i386_multiboot
|
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
351 |
# FreeBSD requires ACPI
|
1.15.16
by Colin Watson
Import upstream version 2.00 |
352 |
BOOTCHECKS = bootcheck-kfreebsd-aout bootcheck-kopenbsd-i386 bootcheck-kopenbsd-x86_64 bootcheck-multiboot bootcheck-multiboot2 bootcheck-linux-i386 bootcheck-linux-x86_64 bootcheck-knetbsd-x86_64 |
353 |
endif
|
|
354 |
||
355 |
if COND_i386_coreboot
|
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
356 |
# Freebsd requires ACPI
|
357 |
BOOTCHECKS = bootcheck-kfreebsd-aout bootcheck-kopenbsd-i386 bootcheck-kopenbsd-x86_64 bootcheck-multiboot bootcheck-multiboot2 bootcheck-linux-i386 bootcheck-linux-x86_64 bootcheck-knetbsd-x86_64 |
|
1.15.16
by Colin Watson
Import upstream version 2.00 |
358 |
endif
|
359 |
||
360 |
if COND_i386_qemu
|
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
361 |
# FreeBSD requires ACPI
|
1.15.16
by Colin Watson
Import upstream version 2.00 |
362 |
BOOTCHECKS = bootcheck-kfreebsd-aout bootcheck-kopenbsd-i386 bootcheck-kopenbsd-x86_64 bootcheck-multiboot bootcheck-multiboot2 bootcheck-linux-i386 bootcheck-linux-x86_64 bootcheck-knetbsd-x86_64 |
363 |
endif
|
|
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
364 |
|
365 |
if COND_i386_pc
|
|
366 |
#pc chainloader by definition is only for i386-pc
|
|
367 |
#ntldr and bootmgr require BIOS.
|
|
368 |
#legacy protocol makes early BIOS calls.
|
|
1.15.16
by Colin Watson
Import upstream version 2.00 |
369 |
# NetBSD crashes early on non-BIOS
|
370 |
BOOTCHECKS = bootcheck-kfreebsd-aout bootcheck-kopenbsd-i386 bootcheck-kopenbsd-x86_64 bootcheck-multiboot bootcheck-multiboot2 bootcheck-linux-i386 bootcheck-linux-x86_64 bootcheck-knetbsd-x86_64 bootcheck-kfreebsd-x86_64 bootcheck-kfreebsd-i386 bootcheck-pc-chainloader bootcheck-ntldr bootcheck-linux16-i386 bootcheck-linux16-x86_64 bootcheck-knetbsd-i386 |
|
371 |
endif
|
|
372 |
||
373 |
if COND_mips_loongson
|
|
374 |
BOOTCHECKS = bootcheck-linux-loongson |
|
375 |
endif
|
|
376 |
||
377 |
if COND_mipsel
|
|
378 |
if COND_mips_qemu_mips
|
|
379 |
BOOTCHECKS = bootcheck-linux-mipsel |
|
380 |
endif
|
|
381 |
endif
|
|
382 |
if COND_mipseb
|
|
383 |
if COND_mips_qemu_mips
|
|
384 |
BOOTCHECKS = bootcheck-linux-mips |
|
385 |
endif
|
|
386 |
endif
|
|
387 |
||
388 |
if COND_powerpc_ieee1275
|
|
389 |
BOOTCHECKS = bootcheck-linux-ppc |
|
390 |
endif
|
|
391 |
||
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
392 |
.PHONY: bootcheck-linux-i386 bootcheck-linux-x86_64 \ |
393 |
bootcheck-kfreebsd-i386 bootcheck-kfreebsd-x86_64 \ |
|
1.15.16
by Colin Watson
Import upstream version 2.00 |
394 |
bootcheck-knetbsd-i386 bootcheck-knetbsd-x86_64 \ |
395 |
bootcheck-linux-mips |
|
1.26.4
by Colin Watson
Import upstream version 1.99~20101122 |
396 |
|
397 |
# Randomly generated
|
|
398 |
SUCCESSFUL_BOOT_STRING=3e49994fd5d82b7c9298d672d774080d |
|
399 |
# tianocore cd access is very slow
|
|
400 |
BOOTCHECK_TIMEOUT=180 |
|
401 |
||
402 |
bootcheck: $(BOOTCHECKS) |
|
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
403 |
|
404 |
if COND_i386_coreboot
|
|
405 |
default_payload.elf: grub-mkstandalone grub-mkimage |
|
1.15.18
by Colin Watson
Import upstream version 2.02~beta2 |
406 |
pkgdatadir=. ./grub-mkstandalone --grub-mkimage=./grub-mkimage -O i386-coreboot -o $@ --modules='ahci pata ehci uhci ohci usb_keyboard usbms part_msdos xfs ext2 fat at_keyboard part_gpt usbserial_usbdebug cbfs' --install-modules='ls linux search configfile normal cbtime cbls memrw iorw minicmd lsmmap lspci halt reboot hexdump pcidump regexp setpci lsacpi chain test serial' --fonts= --themes= --locales= -d grub-core/ /boot/grub/grub.cfg=$(srcdir)/coreboot.cfg |
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
407 |
endif
|
408 |
||
116
by Colin Watson
* On architectures without a real GRUB port, just build the utilities. |
409 |
endif
|
410 |
||
411 |
EXTRA_DIST += grub-core/tests/boot/kbsd.init-i386.S grub-core/tests/boot/kbsd.init-x86_64.S grub-core/tests/boot/kbsd.spec.txt grub-core/tests/boot/kernel-8086.S grub-core/tests/boot/kernel-i386.S grub-core/tests/boot/kfreebsd-aout.cfg grub-core/tests/boot/kfreebsd.cfg grub-core/tests/boot/kfreebsd.init-i386.S grub-core/tests/boot/kfreebsd.init-x86_64.S grub-core/tests/boot/knetbsd.cfg grub-core/tests/boot/kopenbsd.cfg grub-core/tests/boot/kopenbsdlabel.txt grub-core/tests/boot/linux16.cfg grub-core/tests/boot/linux.cfg grub-core/tests/boot/linux.init-i386.S grub-core/tests/boot/linux.init-mips.S grub-core/tests/boot/linux.init-ppc.S grub-core/tests/boot/linux.init-x86_64.S grub-core/tests/boot/linux-ppc.cfg grub-core/tests/boot/multiboot2.cfg grub-core/tests/boot/multiboot.cfg grub-core/tests/boot/ntldr.cfg grub-core/tests/boot/pc-chainloader.cfg grub-core/tests/boot/qemu-shutdown-x86.S |
|
412 |
||
1.15.17
by Colin Watson
Import upstream version 2.00+20131208 |
413 |
windowsdir=$(top_builddir)/$(PACKAGE)-$(VERSION)-for-windows |
414 |
windowsdir: $(PROGRAMS) $(starfield_DATA) $(platform_DATA) |
|
415 |
test -d $(windowsdir) && rm -rf $(windowsdir) || true |
|
416 |
test -d $(windowsdir) || mkdir $(windowsdir) |
|
417 |
$(MAKE) -C po $(AM_MAKEFLAGS) windowsdir |
|
418 |
$(MAKE) -C grub-core $(AM_MAKEFLAGS) windowsdir |
|
419 |
test -d $(windowsdir)/themes || mkdir $(windowsdir)/themes |
|
420 |
test -d $(windowsdir)/themes/starfield || mkdir $(windowsdir)/themes/starfield |
|
421 |
for x in $(PROGRAMS); do \ |
|
422 |
if [ x$(STRIP) != x ]; then $(STRIP) $$x -o $(windowsdir)/$$x; \
|
|
423 |
else cp -fp $$x $(windowsdir)/$$x; fi; \
|
|
424 |
done
|
|
425 |
for x in $(pkgdata_DATA); do \ |
|
426 |
cp -fp $$x $(windowsdir)/$$x; \ |
|
427 |
done
|
|
428 |
for x in $(starfield_DATA); do \ |
|
429 |
cp -fp $$x $(windowsdir)/themes/starfield/$$(basename $$x); \ |
|
430 |
done
|
|
431 |
||
432 |
windowszip=$(top_builddir)/$(PACKAGE)-$(VERSION)-for-windows.zip |
|
433 |
windowszip: windowsdir |
|
434 |
test -f $(windowszip) && rm $(windowszip) || true |
|
435 |
zip -r $(windowszip) $(windowsdir) |
|
436 |
||
437 |
EXTRA_DIST += linguas.sh |