From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/i2c-tools
Date: Tue, 26 Aug 2008 16:03:49 +0200 [thread overview]
Message-ID: <20080826140349.GM2213@mx.loc> (raw)
In-Reply-To: <87prnvew4v.fsf@macbook.be.48ers.dk>
On Tue, Aug 26, 2008 at 03:36:16PM +0200, Peter Korsgaard wrote:
>>>>>> "laird" == laird <laird@uclibc.org> writes:
>
> laird> Author: laird
> laird> Date: 2008-08-26 06:03:05 -0700 (Tue, 26 Aug 2008)
> laird> New Revision: 23205
>
> laird> Log:
> laird> The changes below move i2c-tools.mk to use Makefile.autotools.in
>
>But i2c-tools doesn't use autotools!
> laird> @@ -6,45 +6,22 @@
> laird> I2C_TOOLS_VERSION:=3.0.1
> laird> I2C_TOOLS_SOURCE:=i2c-tools-$(I2C_TOOLS_VERSION).tar.bz2
> laird> I2C_TOOLS_SITE:=http://dl.lm-sensors.org/i2c-tools/releases/
> laird> -I2C_TOOLS_DIR:=$(BUILD_DIR)/i2c-tools-$(I2C_TOOLS_VERSION)
> laird> -I2C_TOOLS_BINARY:=tools/i2cdetect
> laird> -I2C_TOOLS_TARGET_BINARY:=usr/bin/i2cdetect
> laird> +I2C_TOOLS_AUTORECONF = NO
> laird> +I2C_TOOLS_INSTALL_STAGING = YES
>
>Why install into staging (usr/local even)?
>
> laird> +$(I2C_TOOLS_TARGET_INSTALL_TARGET):
> laird> for i in i2cdump i2cget i2cset i2cdetect; \
> laird> do \
> laird> - $(INSTALL) -m 755 $(<D)/$$i $(@D); \
> laird> - $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(@D)/$$i; \
> laird> + $(INSTALL) -m 755 $(I2C_TOOLS_DIR)/tools/$$i $(TARGET_DIR)/usr/bin; \
> laird> + $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/bin/$$i; \
> laird> done
>
>You don't remove these files on -clean.
>
>Sorry, I don't really see this as an improvement.
Folks,
Please think about $(STRIP_STRIP_UNNEEDED) vs. $(STRIP_STRIP_ALL).
Ask yourself:
1) Do i want my libraries be able to load?
If you answer Y here, then use _UNNEEDED
2) Do i want my binaries small?
If you answer Y here, then use _ALL
Read the corresponding manpage for details and try to correct the
incorrectly stripped stuff that accumulated during the last months.
HTH,
next prev parent reply other threads:[~2008-08-26 14:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-26 13:03 [Buildroot] svn commit: trunk/buildroot/package/i2c-tools laird at uclibc.org
2008-08-26 13:36 ` Peter Korsgaard
2008-08-26 14:03 ` Bernhard Reutner-Fischer [this message]
2008-08-26 14:15 ` Peter Korsgaard
-- strict thread matches above, loose matches on Subject: below --
2008-12-01 9:07 jacmet at uclibc.org
2008-08-26 14:01 laird at uclibc.org
2008-08-04 19:08 jacmet at uclibc.org
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=20080826140349.GM2213@mx.loc \
--to=rep.dot.nop@gmail.com \
--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