[PATCH] ARM: zImage: Skip relinking if nothing changes

Sam Ravnborg sam at ravnborg.org
Sat Aug 13 02:34:09 EDT 2011


On Fri, Aug 12, 2011 at 06:17:25PM -0400, Arnaud Lacombe wrote:
> Hi,
> 
> On Fri, Aug 12, 2011 at 6:03 PM, Sam Ravnborg <sam at ravnborg.org> wrote:
> >>
> >> I suspect this would have done the job:
> >>
> >> $(obj)/font.o: $(srctree)/drivers/video/console/font_acorn_8x8.c
> >>         $(cmd,cc_o_c)'
> >
> > I prefer using $(call,shipped) and let kbuild figure out how
> > build an .o file from a .c file.
> >
> > In other words - avoiding use of the internal to Makefile.build
> > variables in various places.
> >
> indeed, but I'd argue that 1) this would not be the first Makefile
> using these internal macros (alpha and ia64 are using such construct
> for aliasing) and 2) the `cmd_shipped' stuff is as internal than other
> functions :-)
A quick grep in Documentation/kbuild will show that only the shipped
variant is documented.

We could implement a general copy command - this is needed in some places
like this.

	Sam



More information about the linux-arm-kernel mailing list