Skip to contentSkip to conversation

Announce: Kernel Build for 2.5, Release 1.11 is available

DISCUSSION Keith Owens 2 participants 5 messages Dec 17, 2001 – Dec 18, 2001 Kbuild

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Content-Type: text/plain; charset=us-ascii

Release 1.11 of kernel build for kernel 2.5 (kbuild 2.5) is available.
http://sourceforge.net/projects/kbuild/, Package kbuild-2.5, download release 1.11.

This is ready to go to Linus for inclusion in 2.5.[12]. There is one item on the todo list but it is not a show stopper, the code works as is. The sooner this is in 2.5 and other architectures the better, otherwise I will just be chasing releases and getting no useful work done.

kbuild 2.5 currently supports i386 (2.4.16, 2.5.1), ia64 (2.4.16-011214), sparc32 (2.4.16), sparc64 (2.4.16). Alpha is in progress.

The sparc support is against Linus's 2.4.16 kernel, not against the vger tree, the latter is moving too fast. I expect that some tweaking will be required for the vger sparc changes, in particular the removal of config options for netlink. Release 1.11 does not contain any changes to the sparc patches, use the release 1.10 patches for sparc.

http://marc.theaimsgroup.com/?l=linux-kernel&m=99725412902968&w=2
contains information about the base release of kbuild 2.5.

Changelog:

Add standard targets for vmlinux.srec and .bin, David Woodhouse.

New variables KERNELFULLNAME and KERNELBASENAME for config options and install scripts.

New variable KERNEL_INCLUDELIST for host compiles within kbuild that need to read the current kernel headers.

New optional target to flatten the shadow trees into a single source tree. make $(KBUILD_OBJTREE).tmp_src

Changes to setup() targets are detected during the build that changes them, instead of being delayed until the next build. Nothing uses setup() yet.

make clean and mrproper no longer require a working .config, you no longer have to make oldconfig before make clean or mrproper. The clean and mrproper lists are still automatically generated, no manual definitions for us.

CML2 support now works, it requires CML2 1.9.9 or better. For the moment, CML2 is distributed separately so kbuild does not have to change when ESR update CML2. See http://www.tuxedo.org/~esr/kbuild/
and the instructions in Documentation/kbuild/kbuild-2.5.txt. Only i386 and ia64 have the arch specific CML2 files, other architectures are easy to add.

Any change to a CML file ([Cc]onfig.in, Configure.help, rules*.cml, symbols*.cml) requires the user to rerun make *config. This helps to ensure that the build is from a valid config.

extra_{c,a,ld}flags support a STRIP option to strip selected flags from the global flags. Useful when a small set of sources cannot be compiled with certain options.

As always, Documentation/kbuild/kbuild-2.5.txt is your friend.

TODO:

Rewrite core code to improve performance.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Exmh version 2.1.1 10/15/1999

iD8DBQE8HXz1i4UHNye0ZOoRAu6sAJ9MUv7bUlQx2VhSyDAhGjblSaYS0ACbBL7I zE+nfa0msvPA1R3efLJS9EI=
=buWJ
-----END PGP SIGNATURE-----

#1 lore raw
Quoted 7 lines · Keith Owens

The sparc support is against Linus's 2.4.16 kernel, not against the vger tree, the latter is moving too fast. I expect that some tweaking will be required for the vger sparc changes, in particular the removal of config options for netlink. Release 1.11 does not contain any changes to the sparc patches, use the release 1.10 patches for sparc.

If anyone needs them, I can provide a small diff for the sparc/sparc64 Vger CVS changes to apply on top of the main kbuild-2.5 patch. Very minor change (hint, in Vger, netlink is compiled unconditionally now).

Ben

Signature · 4 lines
 .----------=======-=-======-=========-----------=====------------=-=-----.
/                   Ben Collins    --    Debian GNU/Linux                  \
`  [email protected]  --  [email protected]  --  [email protected]  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'
#2 lore raw
Quoted 3 lines · Ben Collins

If anyone needs them, I can provide a small diff for the sparc/sparc64 Vger CVS changes to apply on top of the main kbuild-2.5 patch. Very minor change (hint, in Vger, netlink is compiled unconditionally now).

Since they are small, mail them to linux-{kernel,kbuild} and maybe the sparc lists as well.

#3 lore raw
In reply to Ben Collins
Quoted 8 lines · Keith Owens
Quoted 3 lines · Ben Collins

If anyone needs them, I can provide a small diff for the sparc/sparc64 Vger CVS changes to apply on top of the main kbuild-2.5 patch. Very minor change (hint, in Vger, netlink is compiled unconditionally now).

Since they are small, mail them to linux-{kernel,kbuild} and maybe the sparc lists as well.

Note, I have not updated to your current tree, so hopefully net/netlink/Makefile.in hasn't changed. The patch is pretty easy to apply by hand of course :)

Ben

Signature · 4 lines
 .----------=======-=-======-=========-----------=====------------=-=-----.
/                   Ben Collins    --    Debian GNU/Linux                  \
`  [email protected]  --  [email protected]  --  [email protected]  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'
Makefile.in renamed from Makefile.in~ +1 -1
@@ -5,4 +5,4 @@
 expsyms(af_netlink.o)
 objlink(netlink.o af_netlink.o)
 select(CONFIG_NETLINK_DEV netlink_dev.o)
-select(CONFIG_NETLINK netlink.o)
+select(netlink.o)
#4 lore raw
In reply to Keith Owens

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Content-Type: text/plain; charset=us-ascii

Patch for IA64 support using kbuild 2.5 for 2.4.16-ia64-011214. Build the kbuild 2.5 for ia64-011214 tree in this order:

Linus's 2.4.16 kernel.
kbuild-2.5-2.4.16-2 (common and ix86 patches). linux-2.4.16-ia64-011214.diff (ia64 changes from Linus's tree). kbuild-2.5-2.4.16-ia64-011214-2 (ia64 specific kbuild 2.5 patches).

Then proceed with kbuild 2.5, see Documentation/kbuild/kbuild-2.5.txt.

If you are still using 2.4.16-ia64-011128 you can patch in this order:

Linus's 2.4.16 kernel.
kbuild-2.5-2.4.16-2 (common and ix86 patches). linux-2.4.16-ia64-011128.diff (older ia64 changes from Linus's tree). kbuild-2.5-2.4.16-ia64-011214-2 (the current ia64 kbuild patch). Manually edit arch/ia64/kernel/Makefile.in to remove salinfo.o from the select list.

NOTE: The previous kbuild 2.5 ia64 patch prevented the use of kbuild
2.4, this patch attempts to preserve the use of kbuild 2.4 on ia64. It makes the patch quite a bit uglier but is probably worth the effort.

This conversion to kbuild 2.5 has only been tested with CONFIG_IA64_DIG=y. I could not test with CONFIG_IA64_HP_SIM=y (compile and build errors), CONFIG_IA64_SGI_SN[12]=y (no asm/mmzone.h) or CONFIG_IA64_GENERIC=y (all the problems of each platform).

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Exmh version 2.1.1 10/15/1999

iD8DBQE8HtAzi4UHNye0ZOoRAhEGAKDy9ekVxfNGbkCBdvBBeBG+IZgAUQCg5MLU LaQF7+Dll48XejzyEXDZdTk=
=Ky+a
-----END PGP SIGNATURE-----