Browse Source

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>
Lionel Landwerlin 14 years ago
parent
commit
41a1a92095
2 changed files with 2 additions and 3 deletions
  1. 1 1
      CHANGES
  2. 1 2
      package/i2c-tools/i2c-tools.mk

+ 1 - 1
CHANGES

@@ -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

+ 1 - 2
package/i2c-tools/i2c-tools.mk

@@ -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