mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 06:36:34 +00:00
ti-utils: bump version and clean up
[Peter: fixup whitespace, simplify target install] Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
01281da457
commit
efd5ca7b26
@ -4,26 +4,28 @@
|
|||||||
#
|
#
|
||||||
#############################################################
|
#############################################################
|
||||||
|
|
||||||
TI_UTILS_VERSION = fbceab8f228cff80fd29b830bb85a188c69def08
|
TI_UTILS_VERSION = 06dbdb2727354b5f3ad7c723897f40051fddee49
|
||||||
TI_UTILS_SITE = git://github.com/gxk/ti-utils.git
|
TI_UTILS_SITE = git://github.com/gxk/ti-utils.git
|
||||||
TI_UTILS_DEPENDENCIES = libnl
|
TI_UTILS_DEPENDENCIES = libnl
|
||||||
|
|
||||||
define TI_UTILS_BUILD_CMDS
|
define TI_UTILS_BUILD_CMDS
|
||||||
$(MAKE1) NFSROOT="$(STAGING_DIR)" CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS)" \
|
$(MAKE1) NFSROOT="$(STAGING_DIR)" \
|
||||||
|
CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS)" \
|
||||||
-C $(@D) all
|
-C $(@D) all
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define TI_UTILS_INSTALL_TARGET_CMDS
|
define TI_UTILS_INSTALL_TARGET_CMDS
|
||||||
$(INSTALL) -m 0755 $(@D)/calibrator \
|
$(INSTALL) -m 0755 -D $(@D)/calibrator \
|
||||||
$(TARGET_DIR)/usr/bin/calibrator
|
$(TARGET_DIR)/usr/bin/calibrator
|
||||||
$(INSTALL) -m 0755 $(@D)/scripts/go.sh \
|
$(INSTALL) -m 0755 -D $(@D)/scripts/go.sh \
|
||||||
$(TARGET_DIR)/usr/bin/go.sh
|
$(TARGET_DIR)/usr/share/ti-utils/scripts/go.sh
|
||||||
|
|
||||||
|
cp -r $(@D)/ini_files $(TARGET_DIR)/usr/share/ti-utils
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define TI_UTILS_UNINSTALL_TARGET_CMDS
|
define TI_UTILS_UNINSTALL_TARGET_CMDS
|
||||||
rm -f $(TARGET_DIR)/usr/bin/calibrator
|
rm -f $(TARGET_DIR)/usr/bin/calibrator
|
||||||
rm -f $(TARGET_DIR)/usr/bin/go.sh
|
rm -fr $(TARGET_DIR)/usr/share/ti-utils
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call GENTARGETS,package,ti-utils))
|
$(eval $(call GENTARGETS,package,ti-utils))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user