Keith Owens wrote:
>
> >Here's the patches to support the SuperH architecture in kbuild 2.5.
>
> kbuild-2.5-core-8 would be better, it has a couple of bug fixes from -6.
Coming up in the next few days.
While we're here, can you shed some light on this issue?
If I apply the SuperH kbuild patch to the SuperH dropin tree
($KBUILD_SRCTREE_001) instead of applying to the mainline tree
($KBUILD_SRCTREE_000) I get the following messages when I make
oldconfig:
gnb@marduk 1086> set | grep KBUILD
KBUILD_OBJTREE=/somedir/obj/
KBUILD_SRCTREE_000=/somedir/linux-2.5.8/
KBUILD_SRCTREE_001=/somedir/linuxsh-20020421/
gnb@marduk 1087> make -f $KBUILD_SRCTREE_000/Makefile-2.5 \
> ARCH=sh CROSS_COMPILE=sh-unknown-linux-gnu- oldconfig
/somedir/linux-2.5.8//Makefile-2.5:250:
/somedir/linux-2.5.8/arch/sh/Makefile.defs.noconfig: No such file or directory
/somedir/linux-2.5.8/scripts/Makefile-2.5:470:
/somedir/linux-2.5.8/arch/sh/Makefile.defs.config: No such file or directory
/somedir/linux-2.5.8//Makefile-2.5:250:
/somedir/linux-2.5.8/arch/sh/Makefile.defs.noconfig: No such file or directory
/somedir/linux-2.5.8/scripts/Makefile-2.5:470:
/somedir/linux-2.5.8/arch/sh/Makefile.defs.config: No such file or directory
Using ARCH='sh' AS='sh-unknown-linux-gnu-as' LD='sh-unknown-linux-gnu-ld'
CC='sh-unknown-linux-gnu-gcc'
CPP='sh-unknown-linux-gnu-gcc -E' AR='sh-unknown-linux-gnu-ar' HOSTAS='as'
HOSTLD='gcc' HOSTCC='gcc' HOSTAR='ar'
Generating global Makefile
[...]
SuperH development work uses a drop-in tree for the SuperH arch code.
This tree is controlled in CVS and periodically synced with Linus.
Obviously, between syncs the CVS advances so that files in the drop-in
tree are in general newer than files in the Linus tree. If kbuild looks
for Makefile.defs.{no,}config in $KBUILD_SRCTREE_000 only, or even first,
there are going to be problems when those files change in the drop-in
tree.
So what's the story, was I doing something wrong?
Greg.
--
the price of civilisation today is a courageous willingness to prevail,
with force, if necessary, against whatever vicious and uncomprehending
enemies try to strike it down. - Roger Sandall, The Age, 28Sep2001.
_______________________________________________
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel