Re: [RTnet-developers] adding a new discipline to the Kconfig script
Brought to you by:
bet-frogger,
kiszka
|
From: Jan K. <jan...@we...> - 2007-07-04 08:15:06
|
Giammarco Zacheo wrote:
> I feel very dumb asking...
>=20
> I would like to do some modifications to the tdma discipline, but
> without overwriting the existing one, so I tried to add a new menu
> entry into the Kconfig script of rtnet.
>=20
> I cloned the tdma folder, renaming it and everything into it with a
> new name, e.g. tdmb, then modified Kconfig and GNUmakefile.am. Done
> the same into the rtmac folder, adding in OPTDIRS the tdmb options,
> and finally modified configure.ac in the main folder. Ready to go, at
> least I thought: runned autoconf, automake, make menuconfig. All fine.
> The configure script seems to be correctly built, but when make enters
> the tdmb folder it complains about tdmb.c missing. I am not really a
> Make fan (my fault, I know) but I don't understand why it turns to a
> default target. Tried make -p, -d --debug with various arguments. but
> did not found a clue.
>=20
> What's wrong with this?
Can't tell, need code. Most interesting are likely the GNUmakefile.am
and Makefile.kbuild in the tdmb folder. Hmm, did you actually patched
Makefile.kbuild as well ("tdmb-objs")?
Yeah, RTnet's build system is "a bit" complex due to layering autotools
on top of the kernel module build system.
Jan
|