diff mbox

Fix cleaning in scripts/mod

Message ID 87sj22zuga.fsf_-_@hase.home (mailing list archive)
State New, archived
Headers show

Commit Message

Andreas Schwab May 4, 2013, 2:32 p.m. UTC
Make sure devicetable-offsets.h is cleaned in the scripts/mod directory

Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
---
 scripts/mod/Makefile | 2 ++
 1 file changed, 2 insertions(+)

Comments

Geert Uytterhoeven May 5, 2013, 8:24 a.m. UTC | #1
On Sat, May 4, 2013 at 4:32 PM, Andreas Schwab <schwab@linux-m68k.org> wrote:
> Make sure devicetable-offsets.h is cleaned in the scripts/mod directory
>
> Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>

Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>

> ---
>  scripts/mod/Makefile | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/scripts/mod/Makefile b/scripts/mod/Makefile
> index 9415b56..75d59fc 100644
> --- a/scripts/mod/Makefile
> +++ b/scripts/mod/Makefile
> @@ -37,6 +37,8 @@ scripts/mod/devicetable-offsets.s: scripts/mod/devicetable-offsets.c FORCE
>  $(obj)/$(devicetable-offsets-file): scripts/mod/devicetable-offsets.s
>         $(call cmd,offsets)
>
> +targets += $(devicetable-offsets-file)
> +
>  # dependencies on generated files need to be listed explicitly
>
>  $(obj)/modpost.o $(obj)/file2alias.o $(obj)/sumversion.o: $(obj)/elfconfig.h

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Michal Marek May 6, 2013, 9:40 p.m. UTC | #2
On Sun, May 05, 2013 at 10:24:43AM +0200, Geert Uytterhoeven wrote:
> On Sat, May 4, 2013 at 4:32 PM, Andreas Schwab <schwab@linux-m68k.org> wrote:
> > Make sure devicetable-offsets.h is cleaned in the scripts/mod directory
> >
> > Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
> 
> Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>

Applied to kbuild.git#kbuild.

Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/scripts/mod/Makefile b/scripts/mod/Makefile
index 9415b56..75d59fc 100644
--- a/scripts/mod/Makefile
+++ b/scripts/mod/Makefile
@@ -37,6 +37,8 @@  scripts/mod/devicetable-offsets.s: scripts/mod/devicetable-offsets.c FORCE
 $(obj)/$(devicetable-offsets-file): scripts/mod/devicetable-offsets.s
 	$(call cmd,offsets)
 
+targets += $(devicetable-offsets-file)
+
 # dependencies on generated files need to be listed explicitly
 
 $(obj)/modpost.o $(obj)/file2alias.o $(obj)/sumversion.o: $(obj)/elfconfig.h