[klibc] [klibc:master] README.klibc: update build information

maximilian attems maks at stro.at
Wed Aug 21 11:10:26 PDT 2013


On Wed, Aug 21, 2013 at 01:33:08PM -0400, Neal Murphy wrote:
> On Wednesday, August 21, 2013 11:36:03 AM klibc-bot for maximilian attems 
> wrote:
> > Commit-ID:  25a66fa8d8623fae267f6807b56438cd7c40e034
> > Gitweb:    
> > http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=25a66fa8d8623fae2
> > 67f6807b56438cd7c40e034 Author:     maximilian attems <max at stro.at>
> > AuthorDate: Wed, 21 Aug 2013 17:31:25 +0200
> > Committer:  maximilian attems <max at stro.at>
> > CommitDate: Wed, 21 Aug 2013 17:32:16 +0200
> > 
> > README.klibc: update build information
> > 
> > It seems this file was still conveying the old way to build klibc
> > and hence confusing the users, simplify and reword build instructions.
> > 
> > Signed-off-by: maximilian attems <max at stro.at>
> > 
> > ---
> >  usr/klibc/README.klibc | 17 +++++++----------
> >  1 file changed, 7 insertions(+), 10 deletions(-)
> > 
> > diff --git a/usr/klibc/README.klibc b/usr/klibc/README.klibc
> > index 47618ec..7de5fea 100644
> > --- a/usr/klibc/README.klibc
> > +++ b/usr/klibc/README.klibc
> > @@ -7,13 +7,12 @@ work in progress, and a lot of things are still missing.
> >  The build procedure is not very polished yet, but it should work like
> >  this:
> > 
> > -a) In the source root directory (the directory above the one in which
> > -   this file is found) create a symlink called "linux" pointing to the
> > -   target of "make headers_install" from a recent Linux kernel tree.
> > -   This can be done by extracting the Linux kernel into a directory,
> > -   running "make headers_install" for the appropriate architecture,
> > -   and then making a symlink to the "usr" subdirectory of that directory
> > -   tree.
> > +a) Extract a recent Linux kernel into a directory and run
> > +   "make headers_install".
> > +   Now enter the klibc dir and point KLIBCKERNELSRC to the
> > +   path of the configured linux tree
> > +   "make  KLIBCKERNELSRC=`pwd`/../linux/usr/".
> > +
> 
> If I may, this is still too confusing; the bit about making the symlink to the 
> kernel headers is gone.  And the symlink must be in the klibc source root dir 
> (usr/klibc/../..), not in "usr/klibc/..". The problem is that the makefile 
> uses -nostdinc (which should prevent the host from polluting the build).

the text about the symlink is wrong, that is why it is gone.
 
> I think I understand how the build works now. It is inconsistent. As a first 
> proposal, how about:

nope.
 
> ==========
> 
 
> The install make rule is also wrong because KLIBCKERNELSRC really should 
> default to the symlink created to compile the pkg. If those headers were good 
> enough to compile, they should be good enough to install.

again, no symlink!

 
> As I said above, my suggestion is a proposal because more changes are needed 
> to tidy the build.

again doubly wrong.
To tidy the build a sync with current Kbuild Linux >= 3.3  is needed.

please reread old archives, thanks.

-- 
maks


More information about the klibc mailing list