The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] kbuild: Allow HOSTLOADLIBES_foo for single-object foo
@ 2004-06-18  9:43 Matthias Urlichs
  2004-06-18 20:54 ` Sam Ravnborg
  0 siblings, 1 reply; 2+ messages in thread
From: Matthias Urlichs @ 2004-06-18  9:43 UTC (permalink / raw)
  To: linux-kernel, torvalds

Self-explanatory (I hope ;-) and tested.

NB: Thanks to whoever convinced off-source-tree and separate-binary Make
    runs just work. Magic.


You can import this changeset into BK by piping this whole message to:
'| bk receive [path to repository]' or apply the patch as usual.

===================================================================


ChangeSet@1.1785, 2004-06-18 11:13:27+02:00, smurf@smurf.noris.de
  The HOSTLOADLIBES_target variable did not work for single-object host binaries.
  
  Signed-Off-By: Matthias Urlichs <smurf@smurf.noris.de>


 Makefile.build |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


diff -Nru a/scripts/Makefile.build b/scripts/Makefile.build
--- a/scripts/Makefile.build	2004-06-18 11:38:49 +02:00
+++ b/scripts/Makefile.build	2004-06-18 11:38:49 +02:00
@@ -305,7 +305,8 @@
 # Create executable from a single .c file
 # host-csingle -> Executable
 quiet_cmd_host-csingle 	= HOSTCC  $@
-      cmd_host-csingle	= $(HOSTCC) $(hostc_flags) $(HOST_LOADLIBES) -o $@ $<
+      cmd_host-csingle	= $(HOSTCC) $(hostc_flags) -o $@ $< \
+			  $(HOST_LOADLIBES) $(HOSTLOADLIBES_$(@F))
 $(host-csingle): %: %.c FORCE
 	$(call if_changed_dep,host-csingle)
 

===================================================================


This BitKeeper patch contains the following changesets:
1.1785
## Wrapped with gzip_uu ##


makepatch: ChangeSet 
makepatch: scripts/Makefile.build 
makepatch: patch contains 2 revisions from 2 files
M'XL( "FXTD   [64;4_;,!#'7]>?XB3Z@@HEL1,G32.*"H4--% 1A5?;5#FV
MVV1-X\IV04CY\'/+0X7HD#8-QU*<\_ER=_]?L@=W1NJL918K/45[<*Z,?7[R
M:Z5+XPOIS#=*.7,@F)5U8#0/YE+7L@I"/_&[R#E<,\L+N)?:9"WB1Z\6^[B4
M6>OF[.O=Y?$-0OT^# M6S^186NCWD57ZGE7"#)@M*E7[5K/:+*1E/E>+YM6U
M"3$.W163;H3CI"$)IMV&$T$(HT0*'-(TH=MHRR7O=;&OC*A\I6=O U&<N/,N
ME M!HAX.T2D0GW33&# -<!*0% C)2)2%W0,<9AC#IA^#MUV! P(>1B?P?VL8
M(@ZWA83ST?CV<G1\>GEQ<C:>6*9GKF/W3)<LKR2(4D"M+#PH/8>ITF#*>E9)
M3^6_)+=0.!4A+VOG+HWO(KHY+F>U%-YH.O5.'C.X8M86)3-PIZN2%P8.=Q5Y
MA+X!B>*XAZZWPB'O+P="F&%T!'-6#NR2^'I5:&]5EUZN>+%:N/<TANMR:4UP
MQ>9R6E;2SU=E)38](ZXS3K40DX9@2J)&3'M)+*(DS-,DC]AN>3Z(N 8@Q3T2
MA;BA48R3#9>[_=>0?E+:B,V7B\$+H]]?,/KY8>8124A,:-QK*$EIO$&7TG?@
MX@_!#<$CGP+N<56IA]WHOH?T:<,XPIY$&(&G'S;3$7/]!SW^@;W3"+N^H(OU
M+42P&7PA)NN/Q.-/.;7ZT-Y?YST<=MQJO<4GTXK-3 <\!>T!M _A!VJU6O#L
G.'FML/-LV9;<WA]\Z72VOT5>2#XWJT6_2P5-(\G1;S-X615W!0  
 
-- 
Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  smurf@smurf.noris.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] kbuild: Allow HOSTLOADLIBES_foo for single-object foo
  2004-06-18  9:43 [PATCH] kbuild: Allow HOSTLOADLIBES_foo for single-object foo Matthias Urlichs
@ 2004-06-18 20:54 ` Sam Ravnborg
  0 siblings, 0 replies; 2+ messages in thread
From: Sam Ravnborg @ 2004-06-18 20:54 UTC (permalink / raw)
  To: Matthias Urlichs; +Cc: linux-kernel, torvalds

On Fri, Jun 18, 2004 at 11:43:00AM +0200, Matthias Urlichs wrote:
> Self-explanatory (I hope ;-) and tested.

Looks good.
Please add description of this feature to
Documentation/kbuild/makefiles.txt
and post with a descriptive changelog in usual diff format.

	Sam

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-06-18 20:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-18  9:43 [PATCH] kbuild: Allow HOSTLOADLIBES_foo for single-object foo Matthias Urlichs
2004-06-18 20:54 ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox