public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] make rpm target fix in Makefile (linux-2.4.13-pre5)
@ 2001-10-20 16:08 Davide Inglima - limaCAT
  0 siblings, 0 replies; only message in thread
From: Davide Inglima - limaCAT @ 2001-10-20 16:08 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel


in short:
- the rpm target in linus tree doesn't work: it refuses to compile since it needs the "KERNELPATH"
  environment variable set as well... otherwise it would fail to create the .tar.gz file needed by the
  rpm-compile process.
solution:
- copy the "KERNELPATH=..." directive from Alan's Makefile. Now it works.

Enjoy!

--- Makefile.orig       Sat Oct 20 17:54:46 2001
+++ Makefile    Sat Oct 20 17:46:47 2001
@@ -6,6 +6,7 @@
 KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
 
 ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/)
+KERNELPATH=kernel-$(shell echo $(KERNELRELEASE) | sed -e "s/-//")
 
 CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
          else if [ -x /bin/bash ]; then echo /bin/bash; \

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-10-20 16:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-20 16:08 [PATCH] make rpm target fix in Makefile (linux-2.4.13-pre5) Davide Inglima - limaCAT

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