i2c-tools: install binaries to /usr/sbin
Upstream i2c-tools executables are installed to /usr/sbin by default. Make buildroot match this behavior. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
4ab7312e1f
commit
484fd99092
@ -53,7 +53,7 @@ endef
|
||||
define I2C_TOOLS_INSTALL_TARGET_CMDS
|
||||
for i in i2cdump i2cget i2cset i2cdetect; \
|
||||
do \
|
||||
$(INSTALL) -m 755 -D $(@D)/tools/$$i $(TARGET_DIR)/usr/bin/$$i; \
|
||||
$(INSTALL) -m 755 -D $(@D)/tools/$$i $(TARGET_DIR)/usr/sbin/$$i; \
|
||||
done
|
||||
$(I2C_TOOLS_INSTALL_PYSMBUS)
|
||||
endef
|
||||
|
Loading…
Reference in New Issue
Block a user