linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] use $(CONFIG_SHELL instead of . in Makefile
@ 2002-06-05 19:07 Szabolcs Berecz
  2002-06-06 17:21 ` Kai Germaschewski
  0 siblings, 1 reply; 2+ messages in thread
From: Szabolcs Berecz @ 2002-06-05 19:07 UTC (permalink / raw)
  To: kaos; +Cc: linux-kernel


sh ignores parameters when using . , so we should use $(CONFIG_SHELL)
instead.

patch is against 2.5.20

Bye,
Szabi

--- linux-2.5.20/Makefile.orig	Wed Jun  5 16:34:22 2002
+++ linux-2.5.20/Makefile	Wed Jun  5 16:50:18 2002
@@ -231,7 +231,7 @@

 include/linux/version.h: Makefile
 	@echo Generating $@
-	@. scripts/mkversion_h $@ $(KERNELRELEASE) $(VERSION) $(PATCHLEVEL) $(SUBLEVEL)
+	@$(CONFIG_SHELL) scripts/mkversion_h $@ $(KERNELRELEASE) $(VERSION) $(PATCHLEVEL) $(SUBLEVEL)

 # Helpers built in scripts/
 # ---------------------------------------------------------------------------


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

* Re: [PATCH] use $(CONFIG_SHELL instead of . in Makefile
  2002-06-05 19:07 [PATCH] use $(CONFIG_SHELL instead of . in Makefile Szabolcs Berecz
@ 2002-06-06 17:21 ` Kai Germaschewski
  0 siblings, 0 replies; 2+ messages in thread
From: Kai Germaschewski @ 2002-06-06 17:21 UTC (permalink / raw)
  To: Szabolcs Berecz; +Cc: linux-kernel

On Wed, 5 Jun 2002, Szabolcs Berecz wrote:

> sh ignores parameters when using . , so we should use $(CONFIG_SHELL)
> instead.

It's fixed differently in the latest tree (by making mkversion_h 
executable and executing instead of sourcing it).

Thanks, though.

--Kai




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

end of thread, other threads:[~2002-06-06 17:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-05 19:07 [PATCH] use $(CONFIG_SHELL instead of . in Makefile Szabolcs Berecz
2002-06-06 17:21 ` Kai Germaschewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).