crosstools should create linux/autoconf.h
Daniel Kegel
dank@kegel.com
Mon Apr 19 16:47:00 GMT 2004
Martin Schaffner wrote:
>> running "make defconfig" or "yes "" | make config" when there isn't a
>> .config also works.
>
> 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
None of these approaches will work for all architectures,
I fear. Some actually require autoconf.h to set
things like PAGESIZE.
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list