public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Perl in the toolchain
@ 2003-01-31 18:39 Pete Zaitcev
  2003-01-31 19:41 ` Kai Germaschewski
  0 siblings, 1 reply; 22+ messages in thread
From: Pete Zaitcev @ 2003-01-31 18:39 UTC (permalink / raw)
  To: kai; +Cc: linux-kernel

Kai, what's your opinion? I suspect you missed my posing to l-k
http://www.uwsg.indiana.edu/hypermail/linux/kernel/0301.3/1203.html

-- Pete

Date: Thu, 30 Jan 2003 14:53:59 +0100
From: Konrad Eisele <eiselekd@web.de>
To: "PeteZaitcev" <zaitcev@redhat.com>
Subject: Adding sparc-leon linux to sourcetree

.....
There is also one change I have made on the buildsystem. Because I'm using some 
perl inline scripts in the $cmd_xxx the >'<  and >$< signs in the inline perl scripts 
cause trouble (perl -e '...$x=....'), the >'< because of the echo command, the >$< when
rereading from the xxx..cmd files. Could this be applied to the original file?

scripts/Makefile.lib:
+-------------------------------+

# ===========================================================================
# Generic stuff
# ===========================================================================

# function to only execute the passed command if necessary
# the ' -> '\'' and $ to $$ substitution are done if $(cmd_$(1)) includes a inline perlscript

if_changed = $(if $(strip $? \
		          $(filter-out $(cmd_$(1)),$(cmd_$@))\
			  $(filter-out $(cmd_$@),$(cmd_$(1)))),\
	@set -e; \
	$(if $($(quiet)cmd_$(1)),echo '  $(subst ','\'',$($(quiet)cmd_$(1)))';) \
	$(cmd_$(1)); \
	echo 'cmd_$@ := $(subst $$,$$$$,$(subst ','\'',$(cmd_$(1))))' > $(@D)/.$(@F).cmd)

----- End forwarded message -----

^ permalink raw reply	[flat|nested] 22+ messages in thread
* RE: Perl in the toolchain
@ 2003-01-31 20:13 Ed Vance
  2003-02-01  3:28 ` Scott Robert Ladd
  0 siblings, 1 reply; 22+ messages in thread
From: Ed Vance @ 2003-01-31 20:13 UTC (permalink / raw)
  To: 'Jeff Garzik', Kai Germaschewski
  Cc: Pete Zaitcev, linux-kernel, Konrad Eisele

On Fri, Jan 31, 2003 at 11:49 AM, Jeff Garzik wrote:
> 
> On Fri, Jan 31, 2003 at 01:41:26PM -0600, Kai Germaschewski wrote:
> > Generally, we've been trying to not make perl a prequisite 
> > for the kernel build, and I'd like to keep it that way. 
> > Except for some arch specific 
> 
> That's pretty much out the window when klibc gets merged, so perl will
> indeed be a build requirement for all platforms...
> 

The solution is obvious:
Write a perl interpreter in Python!
of course, to avoid merely moving the problem, Python then would be
implemented in a bash script ... 

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

end of thread, other threads:[~2003-02-01 12:02 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-31 18:39 Perl in the toolchain Pete Zaitcev
2003-01-31 19:41 ` Kai Germaschewski
2003-01-31 19:48   ` Jeff Garzik
2003-01-31 19:55     ` Mr. James W. Laferriere
2003-01-31 20:41     ` Sam Ravnborg
2003-01-31 22:50       ` Ben Greear
2003-01-31 21:38     ` J.A. Magallon
2003-01-31 22:22       ` Sam Ravnborg
2003-01-31 23:23         ` Jeff Garzik
2003-02-01  0:29           ` H. Peter Anvin
2003-02-01 12:12           ` Sam Ravnborg
2003-01-31 23:40         ` J.A. Magallon
     [not found]         ` <mailman.1044055681.1939.linux-kernel2news@redhat.com>
2003-02-01  1:06           ` Pete Zaitcev
2003-02-01  6:02             ` Ryan Anderson
2003-01-31 22:51       ` Roman Zippel
2003-01-31 23:27       ` Jeff Garzik
2003-01-31 23:40         ` J.A. Magallon
2003-01-31 23:40           ` Jeff Garzik
2003-02-01  0:01           ` Roman Zippel
2003-02-01  0:05             ` J.A. Magallon
  -- strict thread matches above, loose matches on Subject: below --
2003-01-31 20:13 Ed Vance
2003-02-01  3:28 ` Scott Robert Ladd

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