debuggers.hg

annotate stubdom/Makefile @ 18114:a8603b2fb786

stubdom: use lwip 1.3.0 release + patch instead of checking out from cvs

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Jul 17 15:37:09 2008 +0100 (2008-07-17)
parents 6f82840f173b
children 226b04f0f1f9
rev   line source
keir@17066 1 XEN_ROOT = ..
keir@17905 2 MINI_OS = $(XEN_ROOT)/extras/mini-os
keir@17066 3
keir@17070 4 export XEN_OS=MiniOS
keir@17070 5
keir@18055 6 CONFIG_QEMU=ioemu
keir@18055 7
keir@17066 8 export stubdom=y
keir@17066 9 export debug=y
keir@18007 10 include $(XEN_ROOT)/Config.mk
keir@17066 11
keir@18055 12 IOEMU_OPTIONS=--disable-sdl --disable-opengl --disable-gfx-check --disable-vnc-tls --disable-brlapi --disable-kqemu
keir@17066 13 ZLIB_VERSION=1.2.3
keir@17066 14 LIBPCI_VERSION=2.2.9
keir@18034 15 NEWLIB_VERSION=1.16.0
keir@18114 16 LWIP_VERSION=1.3.0
keir@18113 17 GRUB_VERSION=0.97
keir@17066 18
keir@17066 19 WGET=wget -c
keir@17066 20
keir@17066 21 GNU_TARGET_ARCH:=$(XEN_TARGET_ARCH)
keir@17066 22 ifeq ($(XEN_TARGET_ARCH),x86_32)
keir@17066 23 GNU_TARGET_ARCH:=i686
keir@17066 24 endif
keir@17066 25
keir@17066 26 ifeq ($(GNU_TARGET_ARCH), i686)
keir@17066 27 TARGET_CFLAGS=
keir@17830 28 NEWLIB_CFLAGS+=-D_I386MACH_ALLOW_HW_INTERRUPTS
keir@18034 29 STUBDOM_SUPPORTED=1
keir@17066 30 endif
keir@17066 31 ifeq ($(GNU_TARGET_ARCH), x86_64)
keir@17066 32 TARGET_CFLAGS=-mno-red-zone
keir@17830 33 NEWLIB_CFLAGS+=-D_I386MACH_ALLOW_HW_INTERRUPTS
keir@18034 34 STUBDOM_SUPPORTED=1
keir@17066 35 endif
keir@17066 36 ifeq ($(GNU_TARGET_ARCH), ia64)
keir@17066 37 TARGET_CFLAGS=-mconstant-gp
keir@17066 38 endif
keir@17066 39
keir@17066 40 CROSS_ROOT=cross-root-$(GNU_TARGET_ARCH)
keir@17066 41 CROSS_PREFIX=$(CURDIR)/$(CROSS_ROOT)
keir@18007 42
keir@18007 43 # Disable PIE/SSP if GCC supports them. They can break us.
keir@18007 44 TARGET_CFLAGS += $(CFLAGS)
keir@18007 45 TARGET_CPPFLAGS += $(CPPFLAGS)
keir@18007 46 TARGET_CFLAGS += $(call cc-option,$(CC),-nopie,)
keir@18007 47 TARGET_CFLAGS += $(call cc-option,$(CC),-fno-stack-protector,)
keir@18007 48 TARGET_CFLAGS += $(call cc-option,$(CC),-fno-stack-protector-all,)
keir@18007 49
keir@18007 50 # Do not use host headers and libs
keir@18007 51 GCC_INSTALL = $(shell gcc -print-search-dirs | sed -n -e 's/install: \(.*\)/\1/p')
keir@18007 52 TARGET_CPPFLAGS += -U __linux__ -U __FreeBSD__ -U __sun__
keir@18055 53 TARGET_CPPFLAGS += -nostdinc
keir@18069 54 TARGET_CPPFLAGS += -isystem $(CURDIR)/$(MINI_OS)/include/posix
keir@18007 55 TARGET_CPPFLAGS += -isystem $(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf/include
keir@18007 56 TARGET_CPPFLAGS += -isystem $(GCC_INSTALL)include
keir@18114 57 TARGET_CPPFLAGS += -isystem $(CURDIR)/lwip/src/include
keir@18114 58 TARGET_CPPFLAGS += -isystem $(CURDIR)/lwip/src/include/ipv4
keir@18044 59 TARGET_CPPFLAGS += -I$(CURDIR)/include
keir@18007 60
keir@18007 61 TARGET_LDFLAGS += -nostdlib -L$(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf/lib
keir@17066 62
keir@17909 63 TARGETS=ioemu c caml grub
keir@17905 64
keir@17066 65 .PHONY: all
keir@18034 66 all: build
keir@18034 67 ifeq ($(STUBDOM_SUPPORTED),1)
keir@18034 68 build: ioemu-stubdom c-stubdom pv-grub
keir@18034 69 else
keir@18034 70 build:
keir@18034 71 endif
keir@17066 72
keir@17066 73 ##############
keir@17066 74 # Cross-newlib
keir@17066 75 ##############
keir@17066 76
keir@18034 77 newlib-$(NEWLIB_VERSION).tar.gz:
keir@18113 78 $(WGET) ftp://sources.redhat.com/pub/newlib/$@
keir@18034 79
keir@18034 80 newlib-$(NEWLIB_VERSION): newlib-$(NEWLIB_VERSION).tar.gz
keir@18034 81 tar xzf $<
keir@17905 82 patch -d $@ -p0 < newlib.patch
keir@18034 83 touch $@
keir@17066 84
keir@17066 85 NEWLIB_STAMPFILE=$(CROSS_ROOT)/$(GNU_TARGET_ARCH)-xen-elf/lib/libc.a
keir@17066 86 .PHONY: cross-newlib
keir@17066 87 cross-newlib: $(NEWLIB_STAMPFILE)
keir@18034 88 $(NEWLIB_STAMPFILE): newlib-$(NEWLIB_VERSION)
keir@17071 89 mkdir -p newlib-build
keir@17071 90 ( cd newlib-build && \
keir@18034 91 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 && \
keir@17066 92 $(MAKE) && \
keir@18034 93 DESTDIR= $(MAKE) install )
keir@17066 94
keir@17066 95 ############
keir@17066 96 # Cross-zlib
keir@17066 97 ############
keir@17066 98
keir@17066 99 zlib-$(ZLIB_VERSION).tar.gz:
keir@18113 100 $(WGET) http://www.zlib.net/$@
keir@17066 101
keir@17066 102 ZLIB_STAMPFILE=$(CROSS_ROOT)/$(GNU_TARGET_ARCH)-xen-elf/lib/libz.a
keir@17066 103 .PHONY: cross-zlib
keir@17066 104 cross-zlib: $(ZLIB_STAMPFILE)
keir@17066 105 $(ZLIB_STAMPFILE): zlib-$(ZLIB_VERSION).tar.gz $(NEWLIB_STAMPFILE)
keir@17066 106 tar xzf $<
keir@17066 107 ( cd zlib-$(ZLIB_VERSION) && \
keir@18007 108 CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" CC=$(CC) ./configure --prefix=$(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf && \
keir@17066 109 $(MAKE) libz.a && \
keir@17066 110 $(MAKE) install )
keir@17066 111
keir@17066 112 ##############
keir@17066 113 # Cross-libpci
keir@17066 114 ##############
keir@17066 115
keir@17066 116 pciutils-$(LIBPCI_VERSION).tar.bz2:
keir@18113 117 $(WGET) http://www.kernel.org/pub/software/utils/pciutils/$@
keir@17066 118
keir@17984 119 pciutils-$(LIBPCI_VERSION): pciutils-$(LIBPCI_VERSION).tar.bz2
keir@17984 120 tar xjf $<
keir@17984 121 patch -d $@ -p1 < pciutils.patch
keir@17984 122 touch $@
keir@17984 123
keir@17066 124 LIBPCI_STAMPFILE=$(CROSS_ROOT)/$(GNU_TARGET_ARCH)-xen-elf/lib/libpci.a
keir@17066 125 .PHONY: cross-libpci
keir@17066 126 cross-libpci: $(LIBPCI_STAMPFILE)
keir@17984 127 $(LIBPCI_STAMPFILE): pciutils-$(LIBPCI_VERSION) $(NEWLIB_STAMPFILE) $(ZLIB_STAMPFILE)
keir@17066 128 ( cd pciutils-$(LIBPCI_VERSION) && \
keir@17066 129 cp ../libpci.config.h lib/config.h && \
keir@17066 130 echo '#define PCILIB_VERSION "$(LIBPCI_VERSION)"' >> lib/config.h && \
keir@17066 131 cp ../libpci.config.mak lib/config.mk && \
keir@18007 132 $(MAKE) CC="$(CC) $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) -I$(realpath $(MINI_OS)/include)" lib/libpci.a && \
keir@17066 133 $(INSTALL_DATA) lib/libpci.a $(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf/lib/ && \
keir@17066 134 $(INSTALL_DIR) $(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf/include/pci && \
keir@17066 135 $(INSTALL_DATA) lib/{config,header,pci,types}.h $(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf/include/pci/ \
keir@17066 136 )
keir@17066 137
keir@17066 138 ######
keir@17066 139 # lwIP
keir@17066 140 ######
keir@17066 141
keir@18114 142 lwip-$(LWIP_VERSION).tar.gz:
keir@18114 143 $(WGET) http://download.savannah.gnu.org/releases/lwip/$@
keir@18114 144
keir@18114 145 lwip: lwip-$(LWIP_VERSION).tar.gz
keir@18114 146 tar xzf $<
keir@18114 147 patch -d $@ -p0 < lwip.patch-cvs
keir@18114 148 touch $@
keir@17066 149
keir@17066 150 #######
keir@17066 151 # Links
keir@17066 152 #######
keir@17066 153
keir@17066 154 .PHONY: $(CROSS_ROOT)
keir@17066 155 $(CROSS_ROOT): cross-newlib cross-zlib cross-libpci
keir@17066 156
keir@18044 157 .PHONY: mk-headers
keir@18044 158 mk-headers:
keir@18044 159 mkdir -p include/xen && \
keir@18044 160 ln -sf $(addprefix ../../,$(wildcard $(XEN_ROOT)/xen/include/public/*.h)) include/xen && \
keir@18055 161 ln -sf $(addprefix ../../$(XEN_ROOT)/xen/include/public/,arch-ia64 arch-x86 hvm io xsm) include/xen && \
keir@18044 162 ( [ -h include/xen/sys ] || ln -sf ../../$(XEN_ROOT)/tools/include/xen-sys/MiniOS include/xen/sys ) && \
keir@18044 163 mkdir -p include/xen-foreign && \
keir@18044 164 ln -sf $(addprefix ../../,$(wildcard $(XEN_ROOT)/tools/include/xen-foreign/*)) include/xen-foreign/ && \
keir@18044 165 $(MAKE) -C include/xen-foreign/ && \
keir@18044 166 ( [ -h include/xen/foreign ] || ln -sf ../xen-foreign include/xen/foreign )
keir@17066 167 mkdir -p libxc
keir@17066 168 [ -h libxc/Makefile ] || ( cd libxc && \
keir@17905 169 ln -sf ../$(XEN_ROOT)/tools/libxc/*.h . && \
keir@17905 170 ln -sf ../$(XEN_ROOT)/tools/libxc/*.c . && \
keir@17905 171 ln -sf ../$(XEN_ROOT)/tools/libxc/Makefile . )
keir@17066 172 mkdir -p libxc/$(XEN_TARGET_ARCH)
keir@17066 173 [ -h libxc/$(XEN_TARGET_ARCH) ] || ( cd libxc/$(XEN_TARGET_ARCH) && \
keir@17905 174 ln -sf ../$(XEN_ROOT)/tools/libxc/$(XEN_TARGET_ARCH)/*.c . && \
keir@17905 175 ln -sf ../$(XEN_ROOT)/tools/libxc/$(XEN_TARGET_ARCH)/*.h . && \
keir@17905 176 ln -sf ../$(XEN_ROOT)/tools/libxc/$(XEN_TARGET_ARCH)/Makefile . )
keir@17066 177 mkdir -p ioemu
keir@18055 178 ifeq ($(CONFIG_QEMU),ioemu)
keir@17066 179 [ -h ioemu/Makefile ] || ( cd ioemu && \
keir@18055 180 ln -sf ../$(XEN_ROOT)/tools/ioemu/* .)
keir@18055 181 else
keir@18055 182 [ -h ioemu/Makefile ] || ( cd ioemu && \
keir@18055 183 ln -sf $(CONFIG_QEMU)/* . && \
keir@18055 184 rm -fr i386-dm && \
keir@18055 185 rm -fr i386-stubdom && \
keir@18055 186 mkdir i386-dm && \
keir@18055 187 mkdir i386-stubdom && \
keir@18055 188 ln -sf $(CONFIG_QEMU)/i386-dm/* i386-dm/ && \
keir@18055 189 ln -sf $(CONFIG_QEMU)/i386-stubdom/* i386-stubdom/ )
keir@18055 190 endif
keir@18055 191 [ ! -h ioemu/config-host.h ] || rm -f ioemu/config-host.h
keir@18055 192 [ ! -h ioemu/config-host.mak ] || rm -f ioemu/config-host.mak
keir@17905 193 $(MAKE) -C $(MINI_OS) links
keir@17905 194
keir@17905 195 TARGETS_MINIOS=$(addprefix mini-os-,$(TARGETS))
keir@17905 196 $(TARGETS_MINIOS): mini-os-%:
keir@17905 197 [ -d $@ ] || \
keir@17905 198 for i in $$(cd $(MINI_OS) ; find . -type d) ; do \
keir@17905 199 mkdir -p $@/$$i ; \
keir@17905 200 done
keir@17066 201
keir@17066 202 #######
keir@17066 203 # libxc
keir@17066 204 #######
keir@17066 205
keir@17066 206 .PHONY: libxc
keir@17905 207 libxc: libxc/libxenctrl.a libxc/libxenguest.a
keir@18044 208 libxc/libxenctrl.a libxc/libxenguest.a:: cross-zlib mk-headers
keir@18007 209 CPPFLAGS="$(TARGET_CPPFLAGS)" CFLAGS="$(TARGET_CFLAGS)" $(MAKE) -C libxc
keir@17066 210
keir@17066 211 #######
keir@17066 212 # ioemu
keir@17066 213 #######
keir@17066 214
keir@17066 215 .PHONY: ioemu
keir@18044 216 ioemu: cross-zlib cross-libpci mk-headers libxc
keir@18055 217 ifeq ($(CONFIG_QEMU),ioemu)
keir@17066 218 [ -f ioemu/config-host.mak ] || \
keir@18007 219 ( cd ioemu ; \
keir@18007 220 XEN_TARGET_ARCH=$(XEN_TARGET_ARCH) CFLAGS="$(TARGET_CFLAGS)" sh configure --prefix=/usr --enable-stubdom $(IOEMU_OPTIONS))
keir@18114 221 CPPFLAGS="$(TARGET_CPPFLAGS)" $(MAKE) -C ioemu LWIPDIR=$(CURDIR)/lwip TOOLS=
keir@18055 222 else
keir@18055 223 [ -f ioemu/config-host.mak ] || \
keir@18055 224 ( cd ioemu ; \
keir@18055 225 CONFIG_STUBDOM=yes XEN_ROOT=$(abspath $(XEN_ROOT)) XEN_TARGET_ARCH=$(XEN_TARGET_ARCH) CFLAGS="$(TARGET_CFLAGS)" sh ./xen-setup --cc=$(CC) --disable-gcc-check $(IOEMU_OPTIONS))
keir@18114 226 CPPFLAGS= TARGET_CPPFLAGS="$(TARGET_CPPFLAGS)" $(MAKE) -C ioemu LWIPDIR=$(CURDIR)/lwip TOOLS= CONFIG_STUBDOM=yes
keir@18055 227 endif
keir@17066 228
keir@17066 229 ######
keir@17066 230 # caml
keir@17066 231 ######
keir@17066 232
keir@17066 233 .PHONY: caml
keir@18044 234 caml: cross-newlib mk-headers
keir@18114 235 CPPFLAGS="$(TARGET_CPPFLAGS)" CFLAGS="$(TARGET_CFLAGS)" $(MAKE) -C $@ LWIPDIR=$(CURDIR)/lwip
keir@17066 236
keir@17299 237 ###
keir@17299 238 # C
keir@17299 239 ###
keir@17299 240
keir@17299 241 .PHONY: c
keir@18044 242 c: cross-newlib mk-headers
keir@18114 243 CPPFLAGS="$(TARGET_CPPFLAGS)" CFLAGS="$(TARGET_CFLAGS)" $(MAKE) -C $@ LWIPDIR=$(CURDIR)/lwip
keir@17299 244
keir@17909 245 ######
keir@17909 246 # Grub
keir@17909 247 ######
keir@17909 248
keir@18113 249 grub-$(GRUB_VERSION).tar.gz:
keir@18113 250 $(WGET) ftp://alpha.gnu.org/gnu/grub/$@
keir@18113 251
keir@18113 252 grub-upstream: grub-$(GRUB_VERSION).tar.gz
keir@18113 253 tar xzf $<
keir@18113 254 mv grub-$(GRUB_VERSION) $@
keir@17909 255 for i in grub.patches/* ; do \
keir@17909 256 patch -d $@ -p1 < $$i ; \
keir@17909 257 done
keir@17909 258
keir@17909 259 .PHONY: grub
keir@18113 260 grub: grub-upstream cross-newlib mk-headers
keir@18007 261 CPPFLAGS="$(TARGET_CPPFLAGS)" CFLAGS="$(TARGET_CFLAGS)" $(MAKE) -C $@
keir@17909 262
keir@17066 263 ########
keir@17066 264 # minios
keir@17066 265 ########
keir@17066 266
keir@17778 267 .PHONY: ioemu-stubdom
keir@18055 268 ifeq ($(CONFIG_QEMU),ioemu)
keir@18055 269 ioemu-stubdom: APP_OBJS=$(CURDIR)/ioemu/i386-dm-stubdom/qemu.a $(CURDIR)/ioemu/i386-dm-stubdom/libqemu.a
keir@18055 270 else
keir@18055 271 ioemu-stubdom: APP_OBJS=$(CURDIR)/ioemu/i386-stubdom/qemu.a $(CURDIR)/ioemu/i386-stubdom/libqemu.a $(CURDIR)/ioemu/libqemu_common.a
keir@18055 272 endif
keir@18114 273 ioemu-stubdom: mini-os-ioemu lwip libxc ioemu
keir@18114 274 DEF_CPPFLAGS="$(TARGET_CPPFLAGS)" DEF_CFLAGS="-DCONFIG_QEMU $(TARGET_CFLAGS)" DEF_LDFLAGS="$(TARGET_LDFLAGS)" $(MAKE) -C $(MINI_OS) OBJ_DIR=$(CURDIR)/$< LWIPDIR=$(CURDIR)/lwip APP_OBJS="$(APP_OBJS)"
keir@17066 275
keir@17778 276 CAMLLIB = $(shell ocamlc -where)
keir@17066 277 .PHONY: caml-stubdom
keir@18114 278 caml-stubdom: mini-os-caml lwip libxc caml
keir@18114 279 DEF_CPPFLAGS="$(TARGET_CPPFLAGS)" DEF_CFLAGS="-DCONFIG_CAML $(TARGET_CFLAGS)" DEF_LDFLAGS="$(TARGET_LDFLAGS)" $(MAKE) -C $(MINI_OS) OBJ_DIR=$(CURDIR)/$< LWIPDIR=$(CURDIR)/lwip APP_OBJS="$(CURDIR)/caml/main-caml.o $(CURDIR)/caml/caml.o $(CAMLLIB)/libasmrun.a"
keir@17299 280
keir@17299 281 .PHONY: c-stubdom
keir@18114 282 c-stubdom: mini-os-c lwip libxc c
keir@18114 283 DEF_CPPFLAGS="$(TARGET_CPPFLAGS)" DEF_CFLAGS="-DCONFIG_C $(TARGET_CFLAGS)" DEF_LDFLAGS="$(TARGET_LDFLAGS)" $(MAKE) -C $(MINI_OS) OBJ_DIR=$(CURDIR)/$< LWIPDIR=$(CURDIR)/lwip APP_OBJS=$(CURDIR)/c/main.a
keir@17909 284
keir@17909 285 .PHONY: pv-grub
keir@17909 286 pv-grub: mini-os-grub libxc grub
keir@18007 287 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/main.a
keir@17066 288
keir@17066 289 #########
keir@17066 290 # install
keir@17066 291 #########
keir@17066 292
keir@18034 293 ifeq ($(STUBDOM_SUPPORTED),1)
keir@17909 294 install: install-ioemu install-grub
keir@18034 295 else
keir@18034 296 install:
keir@18034 297 endif
keir@17909 298
keir@18034 299 install-ioemu: ioemu-stubdom
keir@18034 300 $(INSTALL_DIR) "$(DESTDIR)/usr/lib/xen/bin"
keir@17066 301 $(INSTALL_PROG) stubdom-dm "$(DESTDIR)/usr/lib/xen/bin"
keir@18034 302 $(INSTALL_DIR) "$(DESTDIR)/usr/lib/xen/boot"
keir@18034 303 $(INSTALL_PROG) mini-os-ioemu/mini-os.gz "$(DESTDIR)/usr/lib/xen/boot/ioemu-stubdom.gz"
keir@17909 304
keir@18034 305 install-grub: pv-grub
keir@18034 306 $(INSTALL_DIR) "$(DESTDIR)/usr/lib/xen/boot"
keir@18034 307 $(INSTALL_PROG) mini-os-grub/mini-os.gz "$(DESTDIR)/usr/lib/xen/boot/pv-grub.gz"
keir@17066 308
keir@17066 309 #######
keir@17066 310 # clean
keir@17066 311 #######
keir@17066 312
keir@17066 313 # Only clean the libxc/ioemu/mini-os part
keir@17066 314 .PHONY: clean
keir@17066 315 clean:
keir@17905 316 rm -fr mini-os-ioemu
keir@17905 317 rm -fr mini-os-c
keir@17905 318 rm -fr mini-os-caml
keir@17909 319 rm -fr mini-os-grub
keir@17066 320 $(MAKE) -C caml clean
keir@17778 321 $(MAKE) -C c clean
keir@17909 322 $(MAKE) -C grub clean
keir@17066 323 rm -fr libxc ioemu mini-os include
keir@17066 324
keir@17066 325 # clean the cross-compilation result
keir@17066 326 .PHONY: crossclean
keir@17066 327 crossclean: clean
keir@17066 328 rm -fr $(CROSS_ROOT)
keir@18007 329 rm -fr newlib-build
keir@17066 330 rm -fr zlib-$(ZLIB_VERSION) pciutils-$(LIBPCI_VERSION)
keir@17066 331
keir@17066 332 # clean patched sources
keir@17066 333 .PHONY: patchclean
keir@17066 334 patchclean: crossclean
keir@18034 335 rm -fr newlib-$(NEWLIB_VERSION)
keir@18114 336 rm -fr lwip
keir@18113 337 rm -fr grub-upstream
keir@17066 338
keir@17066 339 # clean downloads
keir@17066 340 .PHONY: downloadclean
keir@17066 341 downloadclean: patchclean
keir@18055 342 rm -f newlib-$(NEWLIB_VERSION).tar.gz
keir@17066 343 rm -f zlib-$(ZLIB_VERSION).tar.gz
keir@17066 344 rm -f pciutils-$(LIBPCI_VERSION).tar.bz2
keir@18114 345 rm -f grub-$(GRUB_VERSION).tar.gz
keir@18114 346 rm -f lwip-$(LWIP_VERSION).tar.gz
keir@17066 347
keir@17066 348 .PHONY: distclean
keir@17066 349 distclean: downloadclean