public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Pratik Solanki <pratik.solanki@timesys.com>
To: Andrew Morton <akpm@osdl.org>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH] Minor cross-compile issues
Date: Mon, 09 Feb 2004 11:39:47 -0500	[thread overview]
Message-ID: <4027B7D3.2020107@timesys.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 250 bytes --]

Attached are 2 patches

asm-boot.patch - Fixes include path for build.c so that it finds 
asm/boot.h. /usr/include/asm/boot.h may not be present when 
cross-compiling on a non-Linux machine.

shell.patch - Use $(CONFIG_SHELL) instead of sh.

Pratik.

[-- Attachment #2: asm-boot.patch --]
[-- Type: text/plain, Size: 384 bytes --]

===== arch/i386/boot/Makefile 1.28 vs edited =====
--- 1.28/arch/i386/boot/Makefile	Thu Sep 11 06:01:23 2003
+++ edited/arch/i386/boot/Makefile	Thu Feb  5 15:56:28 2004
@@ -31,6 +31,8 @@
 
 host-progs	:= tools/build
 
+HOSTCFLAGS_build.o := -I$(TOPDIR)/include
+
 # ---------------------------------------------------------------------------
 
 $(obj)/zImage:  IMAGE_OFFSET := 0x1000

[-- Attachment #3: shell.patch --]
[-- Type: text/plain, Size: 409 bytes --]

===== init/Makefile 1.26 vs edited =====
--- 1.26/init/Makefile	Sat Apr 26 14:43:03 2003
+++ edited/init/Makefile	Thu Feb  5 15:43:29 2004
@@ -23,4 +23,4 @@
 
 include/linux/compile.h: FORCE
 	@echo '  CHK     $@'
-	@sh $(srctree)/scripts/mkcompile_h $@ "$(UTS_MACHINE)" "$(CONFIG_SMP)" "$(CC) $(CFLAGS)"
+	@$(CONFIG_SHELL) $(srctree)/scripts/mkcompile_h $@ "$(UTS_MACHINE)" "$(CONFIG_SMP)" "$(CC) $(CFLAGS)"

             reply	other threads:[~2004-02-09 16:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-09 16:39 Pratik Solanki [this message]
2004-02-16 20:58 ` [PATCH] Minor cross-compile issues Sam Ravnborg
2004-02-17 16:35   ` Pratik Solanki
2004-02-17 17:00     ` Sam Ravnborg
2004-02-17 17:29       ` Pratik Solanki

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=4027B7D3.2020107@timesys.com \
    --to=pratik.solanki@timesys.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.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