2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2011-04-27 10:32:48 +02:00
|
|
|
#
|
|
|
|
# ti-utils
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2011-04-27 10:32:48 +02:00
|
|
|
|
2013-11-02 15:57:28 +01:00
|
|
|
TI_UTILS_VERSION = 06dbdb2727354b5f3ad7c723897f40051fddee49
|
2014-01-01 12:11:34 +01:00
|
|
|
TI_UTILS_SITE = $(call github,gxk,ti-utils,$(TI_UTILS_VERSION))
|
2011-04-27 10:32:48 +02:00
|
|
|
TI_UTILS_DEPENDENCIES = libnl
|
2014-06-24 20:55:59 +02:00
|
|
|
TI_UTILS_LICENSE = BSD-3c
|
|
|
|
TI_UTILS_LICENSE_FILES = COPYING
|
2011-04-27 10:32:48 +02:00
|
|
|
|
|
|
|
define TI_UTILS_BUILD_CMDS
|
2011-08-08 09:10:29 +02:00
|
|
|
$(MAKE1) NFSROOT="$(STAGING_DIR)" \
|
2011-12-26 19:33:43 +01:00
|
|
|
CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) -I$(STAGING_DIR)/usr/include/libnl3" \
|
2014-10-07 17:24:08 +02:00
|
|
|
LIBS="-lnl-3 -lnl-genl-3 -lpthread -lm" -C $(@D) all
|
2011-04-27 10:32:48 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define TI_UTILS_INSTALL_TARGET_CMDS
|
2011-08-08 09:10:29 +02:00
|
|
|
$(INSTALL) -m 0755 -D $(@D)/calibrator \
|
2011-04-27 10:32:48 +02:00
|
|
|
$(TARGET_DIR)/usr/bin/calibrator
|
2011-08-08 09:10:29 +02:00
|
|
|
$(INSTALL) -m 0755 -D $(@D)/scripts/go.sh \
|
|
|
|
$(TARGET_DIR)/usr/share/ti-utils/scripts/go.sh
|
|
|
|
|
|
|
|
cp -r $(@D)/ini_files $(TARGET_DIR)/usr/share/ti-utils
|
2011-04-27 10:32:48 +02:00
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|