python-pyasn: bump to version 1.6.0b1
[buildroot-gz.git] / package / ti-utils / ti-utils.mk
blobcfb0cb87690c7c6c06a7d2cfb54d7e1c15629e18
1 ################################################################################
3 # ti-utils
5 ################################################################################
7 TI_UTILS_VERSION = 06dbdb2727354b5f3ad7c723897f40051fddee49
8 TI_UTILS_SITE = $(call github,gxk,ti-utils,$(TI_UTILS_VERSION))
9 TI_UTILS_DEPENDENCIES = libnl host-pkgconf
10 TI_UTILS_LICENSE = BSD-3c
11 TI_UTILS_LICENSE_FILES = COPYING
13 TI_UTILS_CFLAGS = `$(PKG_CONFIG_HOST_BINARY) --cflags libnl-genl-3.0`
14 TI_UTILS_LIBS = `$(PKG_CONFIG_HOST_BINARY) --libs libnl-genl-3.0`
16 define TI_UTILS_BUILD_CMDS
17 $(TARGET_MAKE_ENV) $(MAKE1) NFSROOT="$(STAGING_DIR)" \
18 CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) $(TI_UTILS_CFLAGS)" \
19 LIBS="$(TI_UTILS_LIBS)" -C $(@D) all
20 endef
22 define TI_UTILS_INSTALL_TARGET_CMDS
23 $(INSTALL) -m 0755 -D $(@D)/calibrator \
24 $(TARGET_DIR)/usr/bin/calibrator
25 $(INSTALL) -m 0755 -D $(@D)/scripts/go.sh \
26 $(TARGET_DIR)/usr/share/ti-utils/scripts/go.sh
28 cp -r $(@D)/ini_files $(TARGET_DIR)/usr/share/ti-utils
29 endef
31 $(eval $(generic-package))