fixing bbox build system

Bernhard Fischer rep.nop at aon.at
Wed Oct 4 12:11:14 UTC 2006


On Wed, Oct 04, 2006 at 12:15:24PM +0200, Denis Vlasenko wrote:
>Hello folks,
>
>I am trying to replace bbox's somewhat buggy build system
>with Linux kernel's one. I believe bbox build system is
>just an older version of the same.
[]
>scripts/config is replaced by scripts/kconfig from kernel
>scripts/basic from kernel is also added.
>
>It builds for me. I see one problem currently: for some mysterious reason
>linker fails to garbage collect unneeded sections from libpwdgrp/pwd_grp.c
>(the rest of the tree is ok).
>
>I will take a deeper look into it.
>
>Also some more peculiar build modes (CONFIG_BUILD_LIBBUSYBOX,
>CONFIG_BUILD_AT_ONCE) may be broken.

Let's drop CONFIG_BUILD_LIBBUSYBOX for now. CONFIG_BUILD_AT_ONCE is
something i want to keep since it creates a smaller binary. Doesn't the
kernel support this too, perhaps under a different name?
>
>Comments?

Well, please let's not use the kernel's makesystem but klibc's as
suggested by Sam Ravnborg here:
http://busybox.net/lists/busybox/2006-September/024081.html

Or did you do that already and i somehow overread it?

For your convenience:
http://www.kernel.org/pub/linux/libs/klibc/Testing/klibc-1.4.29.tar.bz2



More information about the busybox mailing list