All of lore.kernel.org
 help / color / mirror / Atom feed
From: Davide Inglima - limaCAT <limacat@libero.it>
To: torvalds@transmeta.com
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] make rpm target fix in Makefile (linux-2.4.13-pre5)
Date: Sat, 20 Oct 2001 18:08:42 +0200	[thread overview]
Message-ID: <01102018084200.07924@even> (raw)


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; \

                 reply	other threads:[~2001-10-20 16:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=01102018084200.07924@even \
    --to=limacat@libero.it \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.