Re: [PATCH 1/2] kbuild: asm-generic support

From: Sam Ravnborg
Date: Mon Jan 10 2011 - 11:27:12 EST


Hi Guan (I will try to spell you name correct fom now on!)

> > + During the prepare phase of the build a wrapper include
> > + file is generated in the directory:
> > +
> > + arch/$(ARCH)/include/generated/asm
> IMHO, the directory could be include/generated/asm

We have moved all the arch specific files away from include/*
which is why I invented arch/$(ARCH)/include/generated.

I was actually considering:

arch/$(ARCH)/generated.

But using include/generated just seems wrong.

> >
> > # Work out what needs to be removed
> > @@ -47,8 +54,12 @@ quiet_cmd_install = INSTALL $(printdir) ($(words $(all-files))\
> > cmd_install = \
> > $(PERL) $< $(srctree)/$(obj) $(install) $(SRCARCH) $(header-y); \
> > $(PERL) $< $(objtree)/$(obj) $(install) $(SRCARCH) $(objhdr-y); \
> > + for F in $(wrapper-files); do \
> > + echo "\#include <asm-generic/$$F>" > $(install)/$$F; \
> > + done; \
> > touch $@
> >
> > +
> Empty line.
>

Will fix.

As noticed in another mail the patchset has the same issue with rebuilding.
This will likewise be included in next version.

Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/