Commit 41a1a920 authored by Lionel Landwerlin's avatar Lionel Landwerlin Committed by Peter Korsgaard
Browse files

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: default avatarLionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent e8261873
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
Original line number Diff line number Diff line
@@ -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