lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 13 Aug 2011 12:02:32 -0400
From:	Arnaud Lacombe <lacombar@...il.com>
To:	Sam Ravnborg <sam@...nborg.org>
Cc:	Russell King - ARM Linux <linux@....linux.org.uk>,
	Stephen Boyd <sboyd@...eaurora.org>,
	linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
	linux-kbuild@...r.kernel.org
Subject: Re: [PATCH] ARM: zImage: Skip relinking if nothing changes

Hi,

On Sat, Aug 13, 2011 at 2:34 AM, Sam Ravnborg <sam@...nborg.org> wrote:
> 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@...nborg.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.
>
I was more thinking of a way to use a single source file, for multiple
target, built in different location, without having to make useless
copy or cross-subdirectory target dependencies, and removing all
non-internal use of cc_c_o, and friends.

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ