public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Matthieu CASTET <matthieu.castet@parrot.com>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: Tom <fivemiletom@gmail.com>,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.arm.linux.org.uk
Subject: Re: RE : Building kernel 2.6.21.3 for arm on cygwin
Date: Fri, 08 Jun 2007 17:57:18 +0200	[thread overview]
Message-ID: <46697C5E.9060607@parrot.com> (raw)
In-Reply-To: <20070607204707.GB16634@uranus.ravnborg.org>

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

Hi,

Sam Ravnborg a écrit :
> On Mon, Jun 04, 2007 at 11:45:29AM -0700, Tom wrote:
>> Hi Sam
>>
>>
>> enclosed is the 'k_smf.patch' which modifies three files to enable the 
>> kernel 2.6.21.3 to be built under cygwin:
>> host:  cygwin 1.5.24, hostcc= gcc 3.4.4
>> cross: arm-linux-uclibcgnueabi-gcc (GCC) 4.1.2
>> cmd:   make ARCH=arm CROSS_COMPILE=arm-linux- \
>>        HOST_LOADLIBES="-lcurses -lintl" at91rm9200dk_defconfig
>>
>> I verified that this does not break building on a linux-host on this config:
>> host:  FC5, gcc 4.1.1-1
>> cross: arm-none-linux-gnueabi-gcc 4.1.1
>> cmd:   make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
>>
>>
>> Let me know if I can help any further.
> Hi Tom.
> 
> Patch looks good. The last bit touching sumversion.c is not
> needed in latest kernel - we already include limits.h.
> 
What about something like that for ncurses stuff ?


Matthieu

[-- Attachment #2: cygwin.patch --]
[-- Type: text/x-patch, Size: 1260 bytes --]

Index: scripts/kconfig/Makefile
===================================================================
RCS file: /soft/cvs/Linux/kernel/linux/scripts/kconfig/Makefile,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- scripts/kconfig/Makefile	5 Mar 2007 13:02:59 -0000	1.1.1.1
+++ scripts/kconfig/Makefile	6 Mar 2007 10:08:36 -0000	1.2
@@ -148,6 +148,13 @@
      else echo no ; fi)
 ifeq ($(KBUILD_HAVE_NLS),no)
 HOSTCFLAGS	+= -DKBUILD_NO_NLS
+else
+HOST_OS := $(shell uname -o)
+ifeq ($(HOST_OS),Cygwin)
+HOSTLOADLIBES_conf	= -lintl
+endif
+
+
 endif
 
 # generated files seem to need this to find local include files
Index: scripts/kconfig/lxdialog/check-lxdialog.sh
===================================================================
RCS file: /soft/cvs/Linux/kernel/linux/scripts/kconfig/lxdialog/check-lxdialog.sh,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- scripts/kconfig/lxdialog/check-lxdialog.sh	5 Mar 2007 13:02:59 -0000	1.1.1.1
+++ scripts/kconfig/lxdialog/check-lxdialog.sh	6 Mar 2007 10:08:36 -0000	1.2
@@ -19,6 +19,11 @@
 		echo '-lcurses'
 		exit
 	fi
+	$cc -print-file-name=libncurses.a | grep -q /
+	if [ $? -eq 0 ]; then
+		echo '-lintl -lncurses'
+		exit
+	fi
 	exit 1
 }
 

  reply	other threads:[~2007-06-08 16:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <46608757.4020503@gmail.com>
     [not found] ` <20070601212208.GA4559@uranus.ravnborg.org>
     [not found]   ` <4660971E.5020609@gmail.com>
     [not found]     ` <12D4B80525C5B744A216276E209921D9CE8016@MIAMI.xi-lite.lan>
2007-06-04 18:45       ` RE : Building kernel 2.6.21.3 for arm on cygwin Tom
2007-06-07 20:47         ` Sam Ravnborg
2007-06-08 15:57           ` Matthieu CASTET [this message]
2007-06-08 22:10             ` Sam Ravnborg
2007-06-09  7:51               ` Jan Engelhardt
2007-06-11  7:25               ` Matthieu CASTET
2007-06-08 18:32           ` [PATCH 2.6.21.3] kbuild: fix build for cygwin Tom
2007-06-08 20:15             ` Sam Ravnborg
2007-06-09  1:47               ` Tom
2007-08-28 19:34             ` Sam Ravnborg

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=46697C5E.9060607@parrot.com \
    --to=matthieu.castet@parrot.com \
    --cc=fivemiletom@gmail.com \
    --cc=linux-arm-kernel@lists.arm.linux.org.uk \
    --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