[PATCH] make rpm target fix in Makefile (linux-2.4.13-pre5)

From: Davide Inglima - limaCAT (limacat@libero.it)
Date: Sat Oct 20 2001 - 11:08:42 EST


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; \
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 23 2001 - 21:00:26 EST