2015-02-19 02:12:53

by Magnus Damm

[permalink] [raw]
Subject: [PATCH] x86/vdso: Remove all generated files during clean

From: Magnus Damm <[email protected]>

Make sure the following files are removed as expected during "make clean":
+ arch/x86/vdso/vdso-image-32-int80.c
+ arch/x86/vdso/vdso-image-32-syscall.c
+ arch/x86/vdso/vdso-image-32-sysenter.c
+ arch/x86/vdso/vdso-image-64.c

Signed-off-by: Magnus Damm <[email protected]>
---

arch/x86/vdso/Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

--- 0001/arch/x86/vdso/Makefile
+++ work/arch/x86/vdso/Makefile 2015-02-19 10:50:15.975470639 +0900
@@ -1,3 +1,4 @@
+
#
# Building vDSO images for x86.
#
@@ -206,4 +207,5 @@ $(vdso_img_insttargets): install_%: $(ob
PHONY += vdso_install $(vdso_img_insttargets)
vdso_install: $(vdso_img_insttargets) FORCE

-clean-files := vdso32-syscall* vdso32-sysenter* vdso32-int80* vdso64*
+clean-files := vdso32-syscall* vdso32-sysenter* vdso32-int80* vdso64* \
+ vdso-image-32* vdso-image-64*


2015-02-19 11:06:41

by Sergei Shtylyov

[permalink] [raw]
Subject: Re: [PATCH] x86/vdso: Remove all generated files during clean

Hello.

On 2/19/2015 5:13 AM, Magnus Damm wrote:

> From: Magnus Damm <[email protected]>

> Make sure the following files are removed as expected during "make clean":
> + arch/x86/vdso/vdso-image-32-int80.c
> + arch/x86/vdso/vdso-image-32-syscall.c
> + arch/x86/vdso/vdso-image-32-sysenter.c
> + arch/x86/vdso/vdso-image-64.c

> Signed-off-by: Magnus Damm <[email protected]>
> ---
>
> arch/x86/vdso/Makefile | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)

> --- 0001/arch/x86/vdso/Makefile
> +++ work/arch/x86/vdso/Makefile 2015-02-19 10:50:15.975470639 +0900
> @@ -1,3 +1,4 @@
> +

Stray new line?

> #
> # Building vDSO images for x86.
> #
[...]

WBR, Sergei

2015-02-20 19:22:03

by Andy Lutomirski

[permalink] [raw]
Subject: Re: [PATCH] x86/vdso: Remove all generated files during clean

On 02/18/2015 06:13 PM, Magnus Damm wrote:
> From: Magnus Damm <[email protected]>
>
> Make sure the following files are removed as expected during "make clean":
> + arch/x86/vdso/vdso-image-32-int80.c
> + arch/x86/vdso/vdso-image-32-syscall.c
> + arch/x86/vdso/vdso-image-32-sysenter.c
> + arch/x86/vdso/vdso-image-64.c
>
> Signed-off-by: Magnus Damm <[email protected]>
> ---
>
> arch/x86/vdso/Makefile | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> --- 0001/arch/x86/vdso/Makefile
> +++ work/arch/x86/vdso/Makefile 2015-02-19 10:50:15.975470639 +0900
> @@ -1,3 +1,4 @@
> +
> #
> # Building vDSO images for x86.
> #
> @@ -206,4 +207,5 @@ $(vdso_img_insttargets): install_%: $(ob
> PHONY += vdso_install $(vdso_img_insttargets)
> vdso_install: $(vdso_img_insttargets) FORCE
>
> -clean-files := vdso32-syscall* vdso32-sysenter* vdso32-int80* vdso64*
> +clean-files := vdso32-syscall* vdso32-sysenter* vdso32-int80* vdso64* \
> + vdso-image-32* vdso-image-64*
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sh" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>

Applied, sans the extra newline.

Thanks,
Andy