mirror of https://github.com/OpenIPC/firmware.git
update motors makefile with new ingenic-motors name (#1199)
Co-authored-by: cronyx <xcronyx@gmail.com>pull/1201/head
parent
9aecc4c243
commit
4a86bd10c2
|
@ -21,7 +21,7 @@ define MOTORS_BUILD_CMDS
|
|||
(cd $(@D)/i2c-motor; $(TARGET_CC) -Os -s main.c -o i2c-motor)
|
||||
(cd $(@D)/xm-kmotor; $(TARGET_CC) -Os -s main.c -o xm-kmotor)
|
||||
(cd $(@D)/xm-uart; $(TARGET_CC) -Os -s main.c -o xm-uart)
|
||||
(cd $(@D)/t31-kmotor; $(TARGET_CC) -Os -s main.c -o t31-kmotor)
|
||||
(cd $(@D)/ingenic-motor; $(TARGET_CC) -Os -s main.c -o ingenic-motor)
|
||||
endef
|
||||
|
||||
define MOTORS_INSTALL_TARGET_CMDS
|
||||
|
@ -29,7 +29,7 @@ define MOTORS_INSTALL_TARGET_CMDS
|
|||
$(INSTALL) -m 0755 -D $(@D)/i2c-motor/i2c-motor $(TARGET_DIR)/usr/bin/i2c-motor
|
||||
$(INSTALL) -m 0755 -D $(@D)/xm-kmotor/xm-kmotor $(TARGET_DIR)/usr/bin/xm-kmotor
|
||||
$(INSTALL) -m 0755 -D $(@D)/xm-uart/xm-uart $(TARGET_DIR)/usr/bin/xm-uart
|
||||
$(INSTALL) -m 0755 -D $(@D)/t31-kmotor/t31-kmotor $(TARGET_DIR)/usr/bin/t31-kmotor
|
||||
$(INSTALL) -m 0755 -D $(@D)/ingenic-motor/ingenic-motor $(TARGET_DIR)/usr/bin/ingenic-motor
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
|
Loading…
Reference in New Issue