From: Daniel Kiper Date: Tue, 7 May 2013 15:02:00 +0000 (+0200) Subject: x86: Fix efi directory cleanup X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=6f3059e0e05b72c3cc7246f3e6e81f80761b98cb;p=people%2Faperard%2Fxen-arm.git x86: Fix efi directory cleanup clean target is never called from xen/arch/x86/efi/Makefile. Move all needed stuff to xen/arch/x86/Makefile and additionally remove efi.lds. Signed-off-by: Daniel Kiper --- diff --git a/xen/arch/x86/Makefile b/xen/arch/x86/Makefile index 0fe547b313..d502bdf302 100644 --- a/xen/arch/x86/Makefile +++ b/xen/arch/x86/Makefile @@ -166,7 +166,7 @@ efi/mkreloc: efi/mkreloc.c .PHONY: clean clean:: - rm -f asm-offsets.s xen.lds boot/*.o boot/*~ boot/core boot/mkelf32 + rm -f asm-offsets.s *.lds boot/*.o boot/*~ boot/core boot/mkelf32 rm -f $(BASEDIR)/.xen-syms.[0-9]* boot/.*.d - rm -f $(BASEDIR)/.xen.efi.[0-9]* efi/*.o efi/mkreloc efi/.*.d + rm -f $(BASEDIR)/.xen.efi.[0-9]* efi/*.o efi/.*.d efi/*.efi efi/disabled efi/mkreloc rm -f boot/reloc.S boot/reloc.lnk boot/reloc.bin diff --git a/xen/arch/x86/efi/Makefile b/xen/arch/x86/efi/Makefile index 514dba0871..1daa7ac777 100644 --- a/xen/arch/x86/efi/Makefile +++ b/xen/arch/x86/efi/Makefile @@ -12,6 +12,3 @@ efi := $(if $(efi),$(shell rm disabled)y,$(shell $(call create,boot.init.o); $(c extra-$(efi) += boot.init.o relocs-dummy.o runtime.o compat.o stub.o: $(extra-y) - -clean:: - rm -f disabled *.efi