debuggers.hg

view stubdom/Makefile @ 21067:b4a1832a916f

Update Xen version to 4.0.0-rc6
author Keir Fraser <keir.fraser@citrix.com>
date Tue Mar 09 18:18:05 2010 +0000 (2010-03-09)
parents 8f98581c2dd1
children 3ffdb094c2c0
line source
1 XEN_ROOT = ..
2 MINI_OS = $(XEN_ROOT)/extras/mini-os
4 export XEN_OS=MiniOS
6 export stubdom=y
7 export debug=y
8 include $(XEN_ROOT)/Config.mk
10 #ZLIB_URL?=http://www.zlib.net
11 ZLIB_URL=$(XEN_EXTFILES_URL)
12 ZLIB_VERSION=1.2.3
14 #LIBPCI_URL?=http://www.kernel.org/pub/software/utils/pciutils
15 LIBPCI_URL?=$(XEN_EXTFILES_URL)
16 LIBPCI_VERSION=2.2.9
18 #NEWLIB_URL?=ftp://sources.redhat.com/pub/newlib
19 NEWLIB_URL?=$(XEN_EXTFILES_URL)
20 NEWLIB_VERSION=1.16.0
22 #LWIP_URL?=http://download.savannah.gnu.org/releases/lwip
23 LWIP_URL?=$(XEN_EXTFILES_URL)
24 LWIP_VERSION=1.3.0
26 #GRUB_URL?=http://alpha.gnu.org/gnu/grub
27 GRUB_URL?=$(XEN_EXTFILES_URL)
28 GRUB_VERSION=0.97
30 #OCAML_URL?=$(XEN_EXTFILES_URL)
31 OCAML_URL?=http://caml.inria.fr/pub/distrib/ocaml-3.11
32 OCAML_VERSION=3.11.0
34 WGET=wget -c
36 GNU_TARGET_ARCH:=$(XEN_TARGET_ARCH)
37 ifeq ($(XEN_TARGET_ARCH),x86_32)
38 GNU_TARGET_ARCH:=i686
39 endif
41 ifeq ($(GNU_TARGET_ARCH), i686)
42 TARGET_CFLAGS=
43 NEWLIB_CFLAGS+=-D_I386MACH_ALLOW_HW_INTERRUPTS
44 STUBDOM_SUPPORTED=1
45 endif
46 ifeq ($(GNU_TARGET_ARCH), x86_64)
47 TARGET_CFLAGS=-mno-red-zone
48 NEWLIB_CFLAGS+=-D_I386MACH_ALLOW_HW_INTERRUPTS
49 STUBDOM_SUPPORTED=1
50 endif
51 ifeq ($(GNU_TARGET_ARCH), ia64)
52 TARGET_CFLAGS=-mconstant-gp
53 endif
55 CROSS_ROOT=cross-root-$(GNU_TARGET_ARCH)
56 CROSS_PREFIX=$(CURDIR)/$(CROSS_ROOT)
58 # Disable PIE/SSP if GCC supports them. They can break us.
59 TARGET_CFLAGS += $(CFLAGS)
60 TARGET_CPPFLAGS += $(CPPFLAGS)
61 TARGET_CFLAGS += $(call cc-option,$(CC),-nopie,)
62 TARGET_CFLAGS += $(call cc-option,$(CC),-fno-stack-protector,)
63 TARGET_CFLAGS += $(call cc-option,$(CC),-fno-stack-protector-all,)
65 # Do not use host headers and libs
66 GCC_INSTALL = $(shell LANG=C gcc -print-search-dirs | sed -n -e 's/install: \(.*\)/\1/p')
67 TARGET_CPPFLAGS += -U __linux__ -U __FreeBSD__ -U __sun__
68 TARGET_CPPFLAGS += -nostdinc
69 TARGET_CPPFLAGS += -isystem $(CURDIR)/$(MINI_OS)/include/posix
70 TARGET_CPPFLAGS += -isystem $(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf/include
71 TARGET_CPPFLAGS += -isystem $(GCC_INSTALL)include
72 TARGET_CPPFLAGS += -isystem $(CURDIR)/lwip-$(XEN_TARGET_ARCH)/src/include
73 TARGET_CPPFLAGS += -isystem $(CURDIR)/lwip-$(XEN_TARGET_ARCH)/src/include/ipv4
74 TARGET_CPPFLAGS += -I$(CURDIR)/include
75 TARGET_CPPFLAGS += -I$(XEN_ROOT)/xen/include
77 TARGET_LDFLAGS += -nostdlib -L$(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf/lib
79 TARGETS=ioemu c caml grub
81 STUBDOMPATH="stubdompath.sh"
82 genpath-target = $(call buildmakevars2file,$(STUBDOMPATH))
83 $(eval $(genpath-target))
85 .PHONY: all
86 all: build
87 ifeq ($(STUBDOM_SUPPORTED),1)
88 build: genpath ioemu-stubdom c-stubdom pv-grub
89 else
90 build: genpath
91 endif
93 ##############
94 # Cross-newlib
95 ##############
97 newlib-$(NEWLIB_VERSION).tar.gz:
98 $(WGET) $(NEWLIB_URL)/$@
100 newlib-$(NEWLIB_VERSION): newlib-$(NEWLIB_VERSION).tar.gz
101 tar xzf $<
102 patch -d $@ -p0 < newlib.patch
103 patch -d $@ -p0 < newlib-chk.patch
104 patch -d $@ -p1 < newlib-stdint-size_max-fix-from-1.17.0.patch
105 touch $@
107 NEWLIB_STAMPFILE=$(CROSS_ROOT)/$(GNU_TARGET_ARCH)-xen-elf/lib/libc.a
108 .PHONY: cross-newlib
109 cross-newlib: $(NEWLIB_STAMPFILE)
110 $(NEWLIB_STAMPFILE): mk-headers-$(XEN_TARGET_ARCH) newlib-$(NEWLIB_VERSION)
111 mkdir -p newlib-$(XEN_TARGET_ARCH)
112 ( cd newlib-$(XEN_TARGET_ARCH) && \
113 CC_FOR_TARGET="$(CC) $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) $(NEWLIB_CFLAGS)" AR_FOR_TARGET=$(AR) LD_FOR_TARGET=$(LD) RANLIB_FOR_TARGET=$(RANLIB) ../newlib-$(NEWLIB_VERSION)/configure --prefix=$(CROSS_PREFIX) --verbose --target=$(GNU_TARGET_ARCH)-xen-elf --enable-newlib-io-long-long --disable-multilib && \
114 $(MAKE) && \
115 DESTDIR= $(MAKE) install )
117 ############
118 # Cross-zlib
119 ############
121 zlib-$(ZLIB_VERSION).tar.gz:
122 $(WGET) $(ZLIB_URL)/$@
124 zlib-$(XEN_TARGET_ARCH): zlib-$(ZLIB_VERSION).tar.gz
125 tar xzf $<
126 mv zlib-$(ZLIB_VERSION) $@
128 ZLIB_STAMPFILE=$(CROSS_ROOT)/$(GNU_TARGET_ARCH)-xen-elf/lib/libz.a
129 .PHONY: cross-zlib
130 cross-zlib: $(ZLIB_STAMPFILE)
131 $(ZLIB_STAMPFILE): zlib-$(XEN_TARGET_ARCH) $(NEWLIB_STAMPFILE)
132 ( cd $< && \
133 CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" CC=$(CC) ./configure --prefix=$(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf && \
134 $(MAKE) libz.a && \
135 $(MAKE) install )
137 ##############
138 # Cross-libpci
139 ##############
141 pciutils-$(LIBPCI_VERSION).tar.bz2:
142 $(WGET) $(LIBPCI_URL)/$@
144 pciutils-$(XEN_TARGET_ARCH): pciutils-$(LIBPCI_VERSION).tar.bz2
145 tar xjf $<
146 mv pciutils-$(LIBPCI_VERSION) $@
147 patch -d $@ -p1 < pciutils.patch
148 touch $@
150 LIBPCI_STAMPFILE=$(CROSS_ROOT)/$(GNU_TARGET_ARCH)-xen-elf/lib/libpci.a
151 .PHONY: cross-libpci
152 cross-libpci: $(LIBPCI_STAMPFILE)
153 $(LIBPCI_STAMPFILE): pciutils-$(XEN_TARGET_ARCH) $(NEWLIB_STAMPFILE) $(ZLIB_STAMPFILE)
154 ( cd $< && \
155 cp ../libpci.config.h lib/config.h && \
156 echo '#define PCILIB_VERSION "$(LIBPCI_VERSION)"' >> lib/config.h && \
157 cp ../libpci.config.mak lib/config.mk && \
158 $(MAKE) CC="$(CC) $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) -I$(realpath $(MINI_OS)/include)" lib/libpci.a && \
159 $(INSTALL_DATA) lib/libpci.a $(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf/lib/ && \
160 $(INSTALL_DIR) $(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf/include/pci && \
161 $(INSTALL_DATA) lib/config.h lib/header.h lib/pci.h lib/types.h $(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf/include/pci/ \
162 )
164 ######
165 # lwIP
166 ######
168 lwip-$(LWIP_VERSION).tar.gz:
169 $(WGET) $(LWIP_URL)/$@
171 lwip-$(XEN_TARGET_ARCH): lwip-$(LWIP_VERSION).tar.gz
172 tar xzf $<
173 mv lwip $@
174 patch -d $@ -p0 < lwip.patch-cvs
175 touch $@
177 #############
178 # Cross-ocaml
179 #############
181 CAMLLIB = $(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf/lib/ocaml
182 OCAML_STAMPFILE=$(CAMLLIB)/.dirstamp
184 ocaml-$(OCAML_VERSION).tar.gz:
185 $(WGET) $(OCAML_URL)/$@
187 ocaml-$(XEN_TARGET_ARCH)/.dirstamp: ocaml-$(OCAML_VERSION).tar.gz ocaml.patch
188 tar xzf $<
189 cd ocaml-$(OCAML_VERSION) && patch -p0 < ../ocaml.patch
190 rm -rf ocaml-$(XEN_TARGET_ARCH)
191 mv ocaml-$(OCAML_VERSION) ocaml-$(XEN_TARGET_ARCH)
192 touch $@
194 MINIOS_HASNOT=IPV6 INET_ATON
196 .PHONY: cross-ocaml
197 cross-ocaml: $(OCAML_STAMPFILE)
198 $(OCAML_STAMPFILE): ocaml-$(XEN_TARGET_ARCH)/.dirstamp
199 cd ocaml-$(XEN_TARGET_ARCH) && ./configure -prefix $(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf \
200 -no-pthread -no-shared-libs -no-tk -no-curses \
201 -cc "$(CC) -U_FORTIFY_SOURCE -fno-stack-protector"
202 $(foreach i,$(MINIOS_HASNOT),sed -i 's,^\(#define HAS_$(i)\),//\1,' ocaml-$(XEN_TARGET_ARCH)/config/s.h ; )
203 $(MAKE) -C ocaml-$(XEN_TARGET_ARCH) world
204 $(MAKE) -C ocaml-$(XEN_TARGET_ARCH) opt
205 $(MAKE) -C ocaml-$(XEN_TARGET_ARCH) install
206 touch $@
208 #######
209 # Links
210 #######
212 .PHONY: $(CROSS_ROOT)
213 $(CROSS_ROOT): cross-newlib cross-zlib cross-libpci
215 $(XEN_ROOT)/tools/ioemu-dir:
216 $(MAKE) -C $(XEN_ROOT)/tools ioemu-dir-find
218 ioemu/linkfarm.stamp: $(XEN_ROOT)/tools/ioemu-dir
219 mkdir -p ioemu
220 set -e; \
221 $(absolutify_xen_root); \
222 cd ioemu; \
223 src="$$XEN_ROOT/tools/ioemu-dir"; export src; \
224 (cd $$src && find * -type d -print) | xargs mkdir -p; \
225 (cd $$src && find * ! -type l -type f $(addprefix ! -name , \
226 '*.[oda1]' 'config-*' config.mak qemu-dm qemu-img-xen \
227 '*.html' '*.pod' \
228 )) | \
229 while read f; do rm -f "$$f"; ln -s "$$src/$$f" "$$f"; done
230 touch ioemu/linkfarm.stamp
232 mk-headers-$(XEN_TARGET_ARCH): ioemu/linkfarm.stamp
233 mkdir -p include/xen && \
234 ln -sf $(addprefix ../../,$(wildcard $(XEN_ROOT)/xen/include/public/*.h)) include/xen && \
235 ln -sf $(addprefix ../../$(XEN_ROOT)/xen/include/public/,arch-ia64 arch-x86 hvm io xsm) include/xen && \
236 ( [ -h include/xen/sys ] || ln -sf ../../$(XEN_ROOT)/tools/include/xen-sys/MiniOS include/xen/sys ) && \
237 ( [ -h include/xen/libelf ] || ln -sf ../../$(XEN_ROOT)/tools/include/xen/libelf include/xen/libelf ) && \
238 mkdir -p include/xen-foreign && \
239 ln -sf $(addprefix ../../,$(wildcard $(XEN_ROOT)/tools/include/xen-foreign/*)) include/xen-foreign/ && \
240 $(MAKE) -C include/xen-foreign/ && \
241 ( [ -h include/xen/foreign ] || ln -sf ../xen-foreign include/xen/foreign )
242 mkdir -p libxc-$(XEN_TARGET_ARCH)
243 [ -h libxc-$(XEN_TARGET_ARCH)/Makefile ] || ( cd libxc-$(XEN_TARGET_ARCH) && \
244 ln -sf ../$(XEN_ROOT)/tools/libxc/*.h . && \
245 ln -sf ../$(XEN_ROOT)/tools/libxc/*.c . && \
246 ln -sf ../$(XEN_ROOT)/tools/libxc/Makefile . )
247 mkdir -p libxc-$(XEN_TARGET_ARCH)/$(XEN_TARGET_ARCH)
248 [ -h libxc-$(XEN_TARGET_ARCH)/$(XEN_TARGET_ARCH) ] || ( cd libxc-$(XEN_TARGET_ARCH)/$(XEN_TARGET_ARCH) && \
249 ln -sf ../$(XEN_ROOT)/tools/libxc/$(XEN_TARGET_ARCH)/*.c . && \
250 ln -sf ../$(XEN_ROOT)/tools/libxc/$(XEN_TARGET_ARCH)/*.h . && \
251 ln -sf ../$(XEN_ROOT)/tools/libxc/$(XEN_TARGET_ARCH)/Makefile . )
252 $(MAKE) -C $(MINI_OS) links
253 touch mk-headers-$(XEN_TARGET_ARCH)
255 TARGETS_MINIOS=$(addprefix mini-os-$(XEN_TARGET_ARCH)-,$(TARGETS))
256 $(TARGETS_MINIOS): mini-os-%:
257 [ -d $@ ] || \
258 for i in $$(cd $(MINI_OS) ; find . -type d) ; do \
259 mkdir -p $@/$$i ; \
260 done
262 #######
263 # libxc
264 #######
266 .PHONY: libxc
267 libxc: libxc-$(XEN_TARGET_ARCH)/libxenctrl.a libxc-$(XEN_TARGET_ARCH)/libxenguest.a
268 libxc-$(XEN_TARGET_ARCH)/libxenctrl.a: cross-zlib
269 CPPFLAGS="$(TARGET_CPPFLAGS)" CFLAGS="$(TARGET_CFLAGS)" $(MAKE) -C libxc-$(XEN_TARGET_ARCH)
271 libxc-$(XEN_TARGET_ARCH)/libxenguest.a: libxc-$(XEN_TARGET_ARCH)/libxenctrl.a
273 #######
274 # ioemu
275 #######
277 .PHONY: ioemu
278 ioemu: cross-zlib cross-libpci libxc
279 [ -f ioemu/config-host.mak ] || \
280 ( $(absolutify_xen_root); \
281 $(buildmakevars2shellvars); \
282 cd ioemu ; \
283 LWIPDIR=$(CURDIR)/lwip-$(XEN_TARGET_ARCH) \
284 TARGET_CPPFLAGS="$(TARGET_CPPFLAGS)" \
285 TARGET_CFLAGS="$(TARGET_CFLAGS)" \
286 TARGET_LDFLAGS="$(TARGET_LDFLAGS)" \
287 ./xen-setup-stubdom )
288 $(MAKE) -C ioemu
290 ######
291 # caml
292 ######
294 .PHONY: caml
295 caml: $(CROSS_ROOT)
296 CPPFLAGS="$(TARGET_CPPFLAGS)" CFLAGS="$(TARGET_CFLAGS)" $(MAKE) -C $@ LWIPDIR=$(CURDIR)/lwip-$(XEN_TARGET_ARCH) OCAMLC_CROSS_PREFIX=$(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf/bin/
298 ###
299 # C
300 ###
302 .PHONY: c
303 c: $(CROSS_ROOT)
304 CPPFLAGS="$(TARGET_CPPFLAGS)" CFLAGS="$(TARGET_CFLAGS)" $(MAKE) -C $@ LWIPDIR=$(CURDIR)/lwip-$(XEN_TARGET_ARCH)
306 ######
307 # Grub
308 ######
310 grub-$(GRUB_VERSION).tar.gz:
311 $(WGET) $(GRUB_URL)/$@
313 grub-upstream: grub-$(GRUB_VERSION).tar.gz
314 tar xzf $<
315 mv grub-$(GRUB_VERSION) $@
316 for i in grub.patches/* ; do \
317 patch -d $@ -p1 < $$i ; \
318 done
320 .PHONY: grub
321 grub: grub-upstream $(CROSS_ROOT)
322 mkdir -p grub-$(XEN_TARGET_ARCH)
323 CPPFLAGS="$(TARGET_CPPFLAGS)" CFLAGS="$(TARGET_CFLAGS)" $(MAKE) -C $@ OBJ_DIR=$(CURDIR)/grub-$(XEN_TARGET_ARCH)
325 ########
326 # minios
327 ########
329 .PHONY: ioemu-stubdom
330 ioemu-stubdom: APP_OBJS=$(CURDIR)/ioemu/i386-stubdom/qemu.a $(CURDIR)/ioemu/i386-stubdom/libqemu.a $(CURDIR)/ioemu/libqemu_common.a
331 ioemu-stubdom: mini-os-$(XEN_TARGET_ARCH)-ioemu lwip-$(XEN_TARGET_ARCH) libxc ioemu
332 DEF_CPPFLAGS="$(TARGET_CPPFLAGS)" DEF_CFLAGS="-DCONFIG_QEMU $(TARGET_CFLAGS)" DEF_LDFLAGS="$(TARGET_LDFLAGS)" $(MAKE) -C $(MINI_OS) OBJ_DIR=$(CURDIR)/$< LWIPDIR=$(CURDIR)/lwip-$(XEN_TARGET_ARCH) APP_OBJS="$(APP_OBJS)"
334 .PHONY: caml-stubdom
335 caml-stubdom: mini-os-$(XEN_TARGET_ARCH)-caml lwip-$(XEN_TARGET_ARCH) libxc caml
336 DEF_CPPFLAGS="$(TARGET_CPPFLAGS)" DEF_CFLAGS="-DCONFIG_CAML $(TARGET_CFLAGS)" DEF_LDFLAGS="$(TARGET_LDFLAGS)" $(MAKE) -C $(MINI_OS) OBJ_DIR=$(CURDIR)/$< LWIPDIR=$(CURDIR)/lwip-$(XEN_TARGET_ARCH) APP_OBJS="$(CURDIR)/caml/main-caml.o $(CURDIR)/caml/caml.o $(CAMLLIB)/libasmrun.a"
338 .PHONY: c-stubdom
339 c-stubdom: mini-os-$(XEN_TARGET_ARCH)-c lwip-$(XEN_TARGET_ARCH) libxc c
340 DEF_CPPFLAGS="$(TARGET_CPPFLAGS)" DEF_CFLAGS="-DCONFIG_C $(TARGET_CFLAGS)" DEF_LDFLAGS="$(TARGET_LDFLAGS)" $(MAKE) -C $(MINI_OS) OBJ_DIR=$(CURDIR)/$< LWIPDIR=$(CURDIR)/lwip-$(XEN_TARGET_ARCH) APP_OBJS=$(CURDIR)/c/main.a
342 .PHONY: pv-grub
343 pv-grub: mini-os-$(XEN_TARGET_ARCH)-grub libxc grub
344 DEF_CPPFLAGS="$(TARGET_CPPFLAGS)" DEF_CFLAGS="-DCONFIG_GRUB $(TARGET_CFLAGS)" DEF_LDFLAGS="$(TARGET_LDFLAGS)" $(MAKE) -C $(MINI_OS) OBJ_DIR=$(CURDIR)/$< APP_OBJS=$(CURDIR)/grub-$(XEN_TARGET_ARCH)/main.a
346 #########
347 # install
348 #########
350 ifeq ($(STUBDOM_SUPPORTED),1)
351 install: genpath install-readme install-ioemu install-grub
352 else
353 install: genpath
354 endif
356 install-readme:
357 $(INSTALL_DIR) $(DESTDIR)$(DOCDIR)
358 $(INSTALL_DATA) README $(DESTDIR)$(DOCDIR)/README.stubdom
360 install-ioemu: ioemu-stubdom
361 $(INSTALL_DIR) "$(DESTDIR)$(LIBEXEC)"
362 $(INSTALL_PROG) stubdompath.sh stubdom-dm "$(DESTDIR)$(LIBEXEC)"
363 $(INSTALL_DIR) "$(DESTDIR)$(XENFIRMWAREDIR)"
364 $(INSTALL_DATA) mini-os-$(XEN_TARGET_ARCH)-ioemu/mini-os.gz "$(DESTDIR)$(XENFIRMWAREDIR)/ioemu-stubdom.gz"
366 install-grub: pv-grub
367 $(INSTALL_DIR) "$(DESTDIR)$(XENFIRMWAREDIR)"
368 $(INSTALL_DATA) mini-os-$(XEN_TARGET_ARCH)-grub/mini-os.gz "$(DESTDIR)$(XENFIRMWAREDIR)/pv-grub-$(XEN_TARGET_ARCH).gz"
370 #######
371 # clean
372 #######
374 # Only clean the libxc/ioemu/mini-os part
375 .PHONY: clean
376 clean:
377 rm -fr mini-os-$(XEN_TARGET_ARCH)-ioemu
378 rm -fr mini-os-$(XEN_TARGET_ARCH)-c
379 rm -fr mini-os-$(XEN_TARGET_ARCH)-caml
380 rm -fr mini-os-$(XEN_TARGET_ARCH)-grub
381 $(MAKE) -C caml clean
382 $(MAKE) -C c clean
383 rm -fr grub-$(XEN_TARGET_ARCH)
384 rm -f $(STUBDOMPATH)
385 [ ! -d libxc-$(XEN_TARGET_ARCH) ] || $(MAKE) -C libxc-$(XEN_TARGET_ARCH) clean
386 -[ ! -d ioemu ] || $(MAKE) -C ioemu clean
388 # clean the cross-compilation result
389 .PHONY: crossclean
390 crossclean: clean
391 rm -fr $(CROSS_ROOT)
392 rm -fr newlib-$(XEN_TARGET_ARCH)
393 rm -fr zlib-$(XEN_TARGET_ARCH) pciutils-$(XEN_TARGET_ARCH)
394 rm -fr libxc-$(XEN_TARGET_ARCH) ioemu
395 rm -f mk-headers-$(XEN_TARGET_ARCH)
396 rm -fr ocaml-$(XEN_TARGET_ARCH)
397 rm -fr include
399 # clean patched sources
400 .PHONY: patchclean
401 patchclean: crossclean
402 rm -fr newlib-$(NEWLIB_VERSION)
403 rm -fr lwip-$(XEN_TARGET_ARCH)
404 rm -fr grub-upstream
406 # clean downloads
407 .PHONY: downloadclean
408 downloadclean: patchclean
409 rm -f newlib-$(NEWLIB_VERSION).tar.gz
410 rm -f zlib-$(ZLIB_VERSION).tar.gz
411 rm -f pciutils-$(LIBPCI_VERSION).tar.bz2
412 rm -f grub-$(GRUB_VERSION).tar.gz
413 rm -f lwip-$(LWIP_VERSION).tar.gz
414 rm -f ocaml-$(OCAML_VERSION).tar.gz
416 .PHONY: distclean
417 distclean: downloadclean