mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: Greg Edwards <edwardsg@sgi.com>
Cc: kai@germaschewski.name, sam@ravnborg.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] add ia64 support to rpm Makefile target
Date: Fri, 30 Jul 2004 01:52:01 +0200	[thread overview]
Message-ID: <jek6wmz80u.fsf@sykes.suse.de> (raw)
In-Reply-To: <20040729180732.GA15920@sgi.com> (Greg Edwards's message of "Thu, 29 Jul 2004 13:07:32 -0500")

Greg Edwards <edwardsg@sgi.com> writes:

> diff -Nru a/scripts/package/mkspec b/scripts/package/mkspec
> --- a/scripts/package/mkspec	2004-07-29 13:04:34 -05:00
> +++ b/scripts/package/mkspec	2004-07-29 13:04:34 -05:00
> @@ -43,10 +43,21 @@
>  echo "make clean && make"
>  echo ""
>  echo "%install"
> -echo 'mkdir -p $RPM_BUILD_ROOT/boot $RPM_BUILD_ROOT/lib $RPM_BUILD_ROOT/lib/modules'
> +
> +if [[ "$ARCH" != "ia64" ]]; then
> +	echo 'mkdir -p $RPM_BUILD_ROOT/boot $RPM_BUILD_ROOT/lib $RPM_BUILD_ROOT/lib/modules'
> +else
> +	echo 'mkdir -p $RPM_BUILD_ROOT/boot/efi $RPM_BUILD_ROOT/lib $RPM_BUILD_ROOT/lib/modules'
> +fi

How about using %ifarch ia64 in the generated spec file?

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

  reply	other threads:[~2004-07-30  0:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-29 18:07 Greg Edwards
2004-07-29 23:52 ` Andreas Schwab [this message]
2004-07-30 15:11   ` Greg Edwards

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=jek6wmz80u.fsf@sykes.suse.de \
    --to=schwab@suse.de \
    --cc=edwardsg@sgi.com \
    --cc=kai@germaschewski.name \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sam@ravnborg.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®