mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-26 12:00:48 -09:00
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:
committed by
Peter Korsgaard
parent
e826187355
commit
41a1a92095
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user