ia64/xen-unstable

view stubdom/Makefile @ 19828:180ae4bca33e

VT-d: don't disable VT-d engine in suspend for security purpose

force_iommu option is used to force enabling and using IOMMU for
security purpose. So when force_iommu is set, it shouldn't disable
VT-d engines in suspend.

Signed-off-by: Weidong Han <weidong.han@intel.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Jun 24 11:15:31 2009 +0100 (2009-06-24)
parents 415505139333
children e94691561b48
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
76 TARGET_LDFLAGS += -nostdlib -L$(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf/lib
78 TARGETS=ioemu c caml grub
80 STUBDOMPATH="stubdompath.sh"
81 genpath-target = $(call buildmakevars2file,$(STUBDOMPATH))
82 $(eval $(genpath-target))
84 .PHONY: all
85 all: genpath build
86 ifeq ($(STUBDOM_SUPPORTED),1)
87 build: ioemu-stubdom c-stubdom pv-grub
88 else
89 build:
90 endif
92 ##############
93 # Cross-newlib
94 ##############
96 newlib-$(NEWLIB_VERSION).tar.gz:
97 $(WGET) $(NEWLIB_URL)/$@
99 newlib-$(NEWLIB_VERSION): newlib-$(NEWLIB_VERSION).tar.gz
100 tar xzf $<
101 patch -d $@ -p0 < newlib.patch
102 patch -d $@ -p0 < newlib-chk.patch
103 touch $@
105 NEWLIB_STAMPFILE=$(CROSS_ROOT)/$(GNU_TARGET_ARCH)-xen-elf/lib/libc.a
106 .PHONY: cross-newlib
107 cross-newlib: $(NEWLIB_STAMPFILE)
108 $(NEWLIB_STAMPFILE): mk-headers-$(XEN_TARGET_ARCH) newlib-$(NEWLIB_VERSION)
109 mkdir -p newlib-$(XEN_TARGET_ARCH)
110 ( cd newlib-$(XEN_TARGET_ARCH) && \
111 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 && \
112 $(MAKE) && \
113 DESTDIR= $(MAKE) install )
115 ############
116 # Cross-zlib
117 ############
119 zlib-$(ZLIB_VERSION).tar.gz:
120 $(WGET) $(ZLIB_URL)/$@
122 zlib-$(XEN_TARGET_ARCH): zlib-$(ZLIB_VERSION).tar.gz
123 tar xzf $<
124 mv zlib-$(ZLIB_VERSION) $@
126 ZLIB_STAMPFILE=$(CROSS_ROOT)/$(GNU_TARGET_ARCH)-xen-elf/lib/libz.a
127 .PHONY: cross-zlib
128 cross-zlib: $(ZLIB_STAMPFILE)
129 $(ZLIB_STAMPFILE): zlib-$(XEN_TARGET_ARCH) $(NEWLIB_STAMPFILE)
130 ( cd $< && \
131 CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" CC=$(CC) ./configure --prefix=$(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf && \
132 $(MAKE) libz.a && \
133 $(MAKE) install )
135 ##############
136 # Cross-libpci
137 ##############
139 pciutils-$(LIBPCI_VERSION).tar.bz2:
140 $(WGET) $(LIBPCI_URL)/$@
142 pciutils-$(XEN_TARGET_ARCH): pciutils-$(LIBPCI_VERSION).tar.bz2
143 tar xjf $<
144 mv pciutils-$(LIBPCI_VERSION) $@
145 patch -d $@ -p1 < pciutils.patch
146 touch $@
148 LIBPCI_STAMPFILE=$(CROSS_ROOT)/$(GNU_TARGET_ARCH)-xen-elf/lib/libpci.a
149 .PHONY: cross-libpci
150 cross-libpci: $(LIBPCI_STAMPFILE)
151 $(LIBPCI_STAMPFILE): pciutils-$(XEN_TARGET_ARCH) $(NEWLIB_STAMPFILE) $(ZLIB_STAMPFILE)
152 ( cd $< && \
153 cp ../libpci.config.h lib/config.h && \
154 echo '#define PCILIB_VERSION "$(LIBPCI_VERSION)"' >> lib/config.h && \
155 cp ../libpci.config.mak lib/config.mk && \
156 $(MAKE) CC="$(CC) $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) -I$(realpath $(MINI_OS)/include)" lib/libpci.a && \
157 $(INSTALL_DATA) lib/libpci.a $(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf/lib/ && \
158 $(INSTALL_DIR) $(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf/include/pci && \
159 $(INSTALL_DATA) lib/config.h lib/header.h lib/pci.h lib/types.h $(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf/include/pci/ \
160 )
162 ######
163 # lwIP
164 ######
166 lwip-$(LWIP_VERSION).tar.gz:
167 $(WGET) $(LWIP_URL)/$@
169 lwip-$(XEN_TARGET_ARCH): lwip-$(LWIP_VERSION).tar.gz
170 tar xzf $<
171 mv lwip $@
172 patch -d $@ -p0 < lwip.patch-cvs
173 touch $@
175 #############
176 # Cross-ocaml
177 #############
179 CAMLLIB = $(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf/lib/ocaml
180 OCAML_STAMPFILE=$(CAMLLIB)/.dirstamp
182 ocaml-$(OCAML_VERSION).tar.gz:
183 $(WGET) $(OCAML_URL)/$@
185 ocaml-$(XEN_TARGET_ARCH)/.dirstamp: ocaml-$(OCAML_VERSION).tar.gz ocaml.patch
186 tar xzf $<
187 cd ocaml-$(OCAML_VERSION) && patch -p0 < ../ocaml.patch
188 rm -rf ocaml-$(XEN_TARGET_ARCH)
189 mv ocaml-$(OCAML_VERSION) ocaml-$(XEN_TARGET_ARCH)
190 touch $@
192 MINIOS_HASNOT=IPV6 INET_ATON
194 .PHONY: cross-ocaml
195 cross-ocaml: $(OCAML_STAMPFILE)
196 $(OCAML_STAMPFILE): ocaml-$(XEN_TARGET_ARCH)/.dirstamp
197 cd ocaml-$(XEN_TARGET_ARCH) && ./configure -prefix $(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf \
198 -no-pthread -no-shared-libs -no-tk -no-curses \
199 -cc "$(CC) -U_FORTIFY_SOURCE -fno-stack-protector"
200 $(foreach i,$(MINIOS_HASNOT),sed -i 's,^\(#define HAS_$(i)\),//\1,' ocaml-$(XEN_TARGET_ARCH)/config/s.h ; )
201 $(MAKE) -C ocaml-$(XEN_TARGET_ARCH) world
202 $(MAKE) -C ocaml-$(XEN_TARGET_ARCH) opt
203 $(MAKE) -C ocaml-$(XEN_TARGET_ARCH) install
204 touch $@
206 #######
207 # Links
208 #######
210 .PHONY: $(CROSS_ROOT)
211 $(CROSS_ROOT): cross-newlib cross-zlib cross-libpci
213 $(XEN_ROOT)/tools/ioemu-dir:
214 make -C $(XEN_ROOT)/tools ioemu-dir-find
216 ioemu/linkfarm.stamp: $(XEN_ROOT)/tools/ioemu-dir
217 mkdir -p ioemu
218 set -e; \
219 $(absolutify_xen_root); \
220 cd ioemu; \
221 src="$$XEN_ROOT/tools/ioemu-dir"; export src; \
222 (cd $$src && find * -type d -print) | xargs mkdir -p; \
223 (cd $$src && find * ! -type l -type f $(addprefix ! -name , \
224 '*.[oda1]' 'config-*' config.mak qemu-dm qemu-img-xen \
225 '*.html' '*.pod' \
226 )) | \
227 while read f; do rm -f "$$f"; ln -s "$$src/$$f" "$$f"; done
228 touch ioemu/linkfarm.stamp
230 mk-headers-$(XEN_TARGET_ARCH): ioemu/linkfarm.stamp
231 mkdir -p include/xen && \
232 ln -sf $(addprefix ../../,$(wildcard $(XEN_ROOT)/xen/include/public/*.h)) include/xen && \
233 ln -sf $(addprefix ../../$(XEN_ROOT)/xen/include/public/,arch-ia64 arch-x86 hvm io xsm) include/xen && \
234 ( [ -h include/xen/sys ] || ln -sf ../../$(XEN_ROOT)/tools/include/xen-sys/MiniOS include/xen/sys ) && \
235 ( [ -h include/xen/libelf ] || ln -sf ../../$(XEN_ROOT)/tools/include/xen/libelf include/xen/libelf ) && \
236 mkdir -p include/xen-foreign && \
237 ln -sf $(addprefix ../../,$(wildcard $(XEN_ROOT)/tools/include/xen-foreign/*)) include/xen-foreign/ && \
238 $(MAKE) -C include/xen-foreign/ && \
239 ( [ -h include/xen/foreign ] || ln -sf ../xen-foreign include/xen/foreign )
240 mkdir -p libxc-$(XEN_TARGET_ARCH)
241 [ -h libxc-$(XEN_TARGET_ARCH)/Makefile ] || ( cd libxc-$(XEN_TARGET_ARCH) && \
242 ln -sf ../$(XEN_ROOT)/tools/libxc/*.h . && \
243 ln -sf ../$(XEN_ROOT)/tools/libxc/*.c . && \
244 ln -sf ../$(XEN_ROOT)/tools/libxc/Makefile . )
245 mkdir -p libxc-$(XEN_TARGET_ARCH)/$(XEN_TARGET_ARCH)
246 [ -h libxc-$(XEN_TARGET_ARCH)/$(XEN_TARGET_ARCH) ] || ( cd libxc-$(XEN_TARGET_ARCH)/$(XEN_TARGET_ARCH) && \
247 ln -sf ../$(XEN_ROOT)/tools/libxc/$(XEN_TARGET_ARCH)/*.c . && \
248 ln -sf ../$(XEN_ROOT)/tools/libxc/$(XEN_TARGET_ARCH)/*.h . && \
249 ln -sf ../$(XEN_ROOT)/tools/libxc/$(XEN_TARGET_ARCH)/Makefile . )
250 $(MAKE) -C $(MINI_OS) links
251 touch mk-headers-$(XEN_TARGET_ARCH)
253 TARGETS_MINIOS=$(addprefix mini-os-$(XEN_TARGET_ARCH)-,$(TARGETS))
254 $(TARGETS_MINIOS): mini-os-%:
255 [ -d $@ ] || \
256 for i in $$(cd $(MINI_OS) ; find . -type d) ; do \
257 mkdir -p $@/$$i ; \
258 done
260 #######
261 # libxc
262 #######
264 .PHONY: libxc
265 libxc: libxc-$(XEN_TARGET_ARCH)/libxenctrl.a libxc-$(XEN_TARGET_ARCH)/libxenguest.a
266 libxc-$(XEN_TARGET_ARCH)/libxenctrl.a libxc-$(XEN_TARGET_ARCH)/libxenguest.a:: cross-zlib
267 CPPFLAGS="$(TARGET_CPPFLAGS)" CFLAGS="$(TARGET_CFLAGS)" $(MAKE) -C libxc-$(XEN_TARGET_ARCH)
269 #######
270 # ioemu
271 #######
273 .PHONY: ioemu
274 ioemu: cross-zlib cross-libpci libxc
275 [ -f ioemu/config-host.mak ] || \
276 ( $(absolutify_xen_root); \
277 $(buildmakevars2shellvars); \
278 cd ioemu ; \
279 LWIPDIR=$(CURDIR)/lwip-$(XEN_TARGET_ARCH) \
280 TARGET_CPPFLAGS="$(TARGET_CPPFLAGS)" \
281 TARGET_CFLAGS="$(TARGET_CFLAGS)" \
282 TARGET_LDFLAGS="$(TARGET_LDFLAGS)" \
283 ./xen-setup-stubdom )
284 $(MAKE) -C ioemu
286 ######
287 # caml
288 ######
290 .PHONY: caml
291 caml: $(CROSS_ROOT)
292 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/
294 ###
295 # C
296 ###
298 .PHONY: c
299 c: $(CROSS_ROOT)
300 CPPFLAGS="$(TARGET_CPPFLAGS)" CFLAGS="$(TARGET_CFLAGS)" $(MAKE) -C $@ LWIPDIR=$(CURDIR)/lwip-$(XEN_TARGET_ARCH)
302 ######
303 # Grub
304 ######
306 grub-$(GRUB_VERSION).tar.gz:
307 $(WGET) $(GRUB_URL)/$@
309 grub-upstream: grub-$(GRUB_VERSION).tar.gz
310 tar xzf $<
311 mv grub-$(GRUB_VERSION) $@
312 for i in grub.patches/* ; do \
313 patch -d $@ -p1 < $$i ; \
314 done
316 .PHONY: grub
317 grub: grub-upstream $(CROSS_ROOT)
318 mkdir -p grub-$(XEN_TARGET_ARCH)
319 CPPFLAGS="$(TARGET_CPPFLAGS)" CFLAGS="$(TARGET_CFLAGS)" $(MAKE) -C $@ OBJ_DIR=$(CURDIR)/grub-$(XEN_TARGET_ARCH)
321 ########
322 # minios
323 ########
325 .PHONY: ioemu-stubdom
326 ioemu-stubdom: APP_OBJS=$(CURDIR)/ioemu/i386-stubdom/qemu.a $(CURDIR)/ioemu/i386-stubdom/libqemu.a $(CURDIR)/ioemu/libqemu_common.a
327 ioemu-stubdom: mini-os-$(XEN_TARGET_ARCH)-ioemu lwip-$(XEN_TARGET_ARCH) libxc ioemu
328 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)"
330 .PHONY: caml-stubdom
331 caml-stubdom: mini-os-$(XEN_TARGET_ARCH)-caml lwip-$(XEN_TARGET_ARCH) libxc caml
332 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"
334 .PHONY: c-stubdom
335 c-stubdom: mini-os-$(XEN_TARGET_ARCH)-c lwip-$(XEN_TARGET_ARCH) libxc c
336 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
338 .PHONY: pv-grub
339 pv-grub: mini-os-$(XEN_TARGET_ARCH)-grub libxc grub
340 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
342 #########
343 # install
344 #########
346 ifeq ($(STUBDOM_SUPPORTED),1)
347 install: install-readme install-ioemu install-grub
348 else
349 install:
350 endif
352 install-readme:
353 $(INSTALL_DIR) $(DESTDIR)$(DOCDIR)
354 $(INSTALL_DATA) README $(DESTDIR)$(DOCDIR)/README.stubdom
356 install-ioemu: ioemu-stubdom
357 $(INSTALL_DIR) "$(DESTDIR)$(LIBEXEC)"
358 $(INSTALL_PROG) stubdom-dm "$(DESTDIR)$(LIBEXEC)"
359 $(INSTALL_DIR) "$(DESTDIR)$(LIBDIR_x86_32)/xen/boot"
360 $(INSTALL_DATA) mini-os-$(XEN_TARGET_ARCH)-ioemu/mini-os.gz "$(DESTDIR)$(LIBDIR_x86_32)/xen/boot/ioemu-stubdom.gz"
362 install-grub: pv-grub
363 $(INSTALL_DIR) "$(DESTDIR)$(LIBDIR_x86_32)/xen/boot"
364 $(INSTALL_DATA) mini-os-$(XEN_TARGET_ARCH)-grub/mini-os.gz "$(DESTDIR)$(LIBDIR_x86_32)/xen/boot/pv-grub-$(XEN_TARGET_ARCH).gz"
366 #######
367 # clean
368 #######
370 # Only clean the libxc/ioemu/mini-os part
371 .PHONY: clean
372 clean:
373 rm -fr mini-os-$(XEN_TARGET_ARCH)-ioemu
374 rm -fr mini-os-$(XEN_TARGET_ARCH)-c
375 rm -fr mini-os-$(XEN_TARGET_ARCH)-caml
376 rm -fr mini-os-$(XEN_TARGET_ARCH)-grub
377 $(MAKE) -C caml clean
378 $(MAKE) -C c clean
379 rm -fr grub-$(XEN_TARGET_ARCH)
380 rm -f $(STUBDOMPATH)
381 [ ! -d libxc-$(XEN_TARGET_ARCH) ] || $(MAKE) -C libxc-$(XEN_TARGET_ARCH) clean
382 -[ ! -d ioemu ] || $(MAKE) -C ioemu clean
384 # clean the cross-compilation result
385 .PHONY: crossclean
386 crossclean: clean
387 rm -fr $(CROSS_ROOT)
388 rm -fr newlib-$(XEN_TARGET_ARCH)
389 rm -fr zlib-$(XEN_TARGET_ARCH) pciutils-$(XEN_TARGET_ARCH)
390 rm -fr libxc-$(XEN_TARGET_ARCH) ioemu
391 rm -f mk-headers-$(XEN_TARGET_ARCH)
392 rm -fr ocaml-$(XEN_TARGET_ARCH)
394 # clean patched sources
395 .PHONY: patchclean
396 patchclean: crossclean
397 rm -fr newlib-$(NEWLIB_VERSION)
398 rm -fr lwip-$(XEN_TARGET_ARCH)
399 rm -fr grub-upstream
401 # clean downloads
402 .PHONY: downloadclean
403 downloadclean: patchclean
404 rm -f newlib-$(NEWLIB_VERSION).tar.gz
405 rm -f zlib-$(ZLIB_VERSION).tar.gz
406 rm -f pciutils-$(LIBPCI_VERSION).tar.bz2
407 rm -f grub-$(GRUB_VERSION).tar.gz
408 rm -f lwip-$(LWIP_VERSION).tar.gz
409 rm -f ocaml-$(OCAML_VERSION).tar.gz
411 .PHONY: distclean
412 distclean: downloadclean