All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Hering <olh@suse.de>
To: Andreas Kleen <ak@suse.de>, Sam Ravnborg <sam@ravnborg.org>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] fix cross compile on x86_64
Date: Wed, 20 Oct 2004 20:35:04 +0200	[thread overview]
Message-ID: <20041020183504.GA11821@suse.de> (raw)


make all fails while building a helper app:

arch/x86_64/boot/tools/build.c:36:22: asm/boot.h: No such file or directory

Possible that make O=$foo did never work on x86_64.

This patch fixes it for me.

diff -purN linux-2.6.9-bk4.orig/arch/x86_64/boot/Makefile linux-2.6.9/arch/x86_64/boot/Makefile
--- linux-2.6.9-bk4.orig/arch/x86_64/boot/Makefile	2004-10-18 23:53:51.000000000 +0200
+++ linux-2.6.9/arch/x86_64/boot/Makefile	2004-10-20 20:29:31.368618554 +0200
@@ -31,6 +31,7 @@ targets		:= vmlinux.bin bootsect bootsec
 EXTRA_CFLAGS := -m32
 
 hostprogs-y	:= tools/build
+HOST_EXTRACFLAGS += $(LINUXINCLUDE)
 subdir-		:= compressed/	#Let make clean descend in compressed/
 # ---------------------------------------------------------------------------
 
-- 
USB is for mice, FireWire is for men!

sUse lINUX ag, nÜRNBERG

             reply	other threads:[~2004-10-20 18:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-20 18:35 Olaf Hering [this message]
2004-10-20 19:16 ` [PATCH] fix cross compile on x86_64 Andi Kleen

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=20041020183504.GA11821@suse.de \
    --to=olh@suse.de \
    --cc=ak@suse.de \
    --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 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.