i2c-tools: ensure binaries are installed in the right place

And remove unneeded explicit stripping of target binaries

[Peter: use install -D]
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Lionel Landwerlin 2010-12-09 10:55:03 +01:00 committed by Peter Korsgaard
parent e826187355
commit 41a1a92095
2 changed files with 2 additions and 3 deletions

View File

@ -4,7 +4,7 @@
compilation, and cache is stored in ~/.buildroot-ccache.
Updated/fixed packages: busybox, dbus, cloop, gdk-pixbuf,
hostapd, libconfig, m4, openssh, openssl, qt, usbutils, xz,
hostapd, i2c-tools, libconfig, m4, openssh, openssl, qt, usbutils, xz,
zlib
New packages: dhrystone, lsuio, rsh-redone, whetstone

View File

@ -14,8 +14,7 @@ endef
define I2C_TOOLS_INSTALL_TARGET_CMDS
for i in i2cdump i2cget i2cset i2cdetect; \
do \
$(INSTALL) -m 755 $(@D)/tools/$$i $(TARGET_DIR)/usr/bin/$$i; \
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/bin/$$i; \
$(INSTALL) -m 755 -D $(@D)/tools/$$i $(TARGET_DIR)/usr/bin/$$i; \
done
endef