This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: crosstools should create linux/autoconf.h


Rafael Ávila de Espíndola wrote:

I wrote:

> I tried to cross-compile mac-fdisk from a Mac OS X 3.3 host to powerpc-linux-gnu, using a cross-
> compiler built with crosstool.
> [...]
> Maybe crosstool should create autoconf.h by default?


running "make defconfig" or "yes "" | make config" when there isn't a .config
also works.
Rafael

Yes this works also, but I think configuring the kernel just to have a (meaningless) autoconf.h is not necessary. I suggest the following patch:


--- crosstool-0.28-rc4/crosstool.sh.bak Sat Apr 17 17:25:10 2004
+++ crosstool-0.28-rc4/crosstool.sh     Sat Apr 17 23:26:16 2004
@@ -156,6 +156,7 @@
 esac

 mkdir -p $HEADERDIR
+touch include/linux/autoconf.h
 cp -r include/linux $HEADERDIR
 cp -r include/asm-${ARCH} $HEADERDIR/asm
 cp -r include/asm-generic $HEADERDIR/asm-generic


------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]