Patchwork Makefile: Remove linux-headers/asm symlink on distclean

login
register
mail settings
Submitter Peter Maydell
Date Feb. 1, 2012, 6:50 p.m.
Message ID <1328122242-18230-1-git-send-email-peter.maydell@linaro.org>
Download mbox | patch
Permalink /patch/138963/
State New
Headers show

Comments

Peter Maydell - Feb. 1, 2012, 6:50 p.m.
configure creates a linux-headers/asm symlink. Remove this when
doing a distclean.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
 Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Anthony Liguori - Feb. 1, 2012, 10:12 p.m.
On 02/01/2012 12:50 PM, Peter Maydell wrote:
> configure creates a linux-headers/asm symlink. Remove this when
> doing a distclean.
>
> Signed-off-by: Peter Maydell<peter.maydell@linaro.org>

Applied.  Thanks.

Regards,

Anthony Liguori

> ---
>   Makefile |    1 +
>   1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index d172cbf..2560b59 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -233,6 +233,7 @@ distclean: clean
>   	rm -f qemu-doc.log qemu-doc.pdf qemu-doc.pg qemu-doc.toc qemu-doc.tp
>   	rm -f qemu-doc.vr
>   	rm -f config.log
> +	rm -f linux-headers/asm
>   	rm -f qemu-tech.info qemu-tech.aux qemu-tech.cp qemu-tech.dvi qemu-tech.fn qemu-tech.info qemu-tech.ky qemu-tech.log qemu-tech.pdf qemu-tech.pg qemu-tech.toc qemu-tech.tp qemu-tech.vr
>   	for d in $(TARGET_DIRS) $(QEMULIBS); do \
>   	rm -rf $$d || exit 1 ; \

Patch

diff --git a/Makefile b/Makefile
index d172cbf..2560b59 100644
--- a/Makefile
+++ b/Makefile
@@ -233,6 +233,7 @@  distclean: clean
 	rm -f qemu-doc.log qemu-doc.pdf qemu-doc.pg qemu-doc.toc qemu-doc.tp
 	rm -f qemu-doc.vr
 	rm -f config.log
+	rm -f linux-headers/asm
 	rm -f qemu-tech.info qemu-tech.aux qemu-tech.cp qemu-tech.dvi qemu-tech.fn qemu-tech.info qemu-tech.ky qemu-tech.log qemu-tech.pdf qemu-tech.pg qemu-tech.toc qemu-tech.tp qemu-tech.vr
 	for d in $(TARGET_DIRS) $(QEMULIBS); do \
 	rm -rf $$d || exit 1 ; \