Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v4 1/2] ti-gfx: add new package
Date: Fri, 12 Jul 2013 18:23:05 +0200	[thread overview]
Message-ID: <20130712162305.GA3329@free.fr> (raw)
In-Reply-To: <CAEBucnAmh-ihLbEvCV+P81kcRYkC7EacYz+HQ6NkUg+tidMtGw@mail.gmail.com>

Spenser, All,

On 2013-07-11 11:07 -0500, Spenser Gilliland spake thusly:
[--SNIP--]
> >> +define TI_GFX_INSTALL_LIBS_CMDS
> >> +     # create symlinks and install libraries.  these libraries do not have a
> >> +     # SONAME defined; therefore, they will not be automatically renamed and
> >> +     # must be renamed manually.
> >
> > I still don't understand this "automatically renamed" comment here.
> 
> i remember hearing that in some rootfs fixup, the libraries are
> renamed with symlinks according to the SONAME.  However, I can't find
> it in the code so maybe this was just bad information.

No, that's not done.

I suggested the idea that, by renaming the libraries to their SONAME, we
could get rid of the symlinks (since we do not need them at runtime), and
thus reduce the number of inodes needed (since symlinks take one inode
each), and thus reduce the filesystem size.

But the gain would be small, and almost un-noticeable on large
filesystem with biggish libs (Qt, Xorg...), so doing it in Buildroot has
been deemed too complex given the small size it would gain.

If anyone wants to do it, it would be fit for a post-build script.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

      reply	other threads:[~2013-07-12 16:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-10 18:09 [Buildroot] [PATCH v4 1/2] ti-gfx: add new package Spenser Gilliland
2013-07-10 18:09 ` Spenser Gilliland
2013-07-11  9:41 ` Thomas Petazzoni
2013-07-11 16:07   ` Spenser Gilliland
2013-07-12 16:23     ` Yann E. MORIN [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130712162305.GA3329@free.fr \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox