Commit afce67a9 authored by Yegor Yefremov's avatar Yegor Yefremov Committed by Peter Korsgaard
Browse files

New package: ti-utils

Add the calibrator and other useful utilities for TI wireless solution,
based on wl12xx driver.

See http://linuxwireless.org/en/users/Drivers/wl12xx/calibrator

 for
further details.

[Peter: add libnl Config.in dependency]
Signed-off-by: default avatarYegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent b96193a4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -206,6 +206,7 @@ source "package/sredird/Config.in"
source "package/sshfs/Config.in"
source "package/statserial/Config.in"
source "package/sysstat/Config.in"
source "package/ti-utils/Config.in"
source "package/uboot-tools/Config.in"
source "package/udev/Config.in"
source "package/usb_modeswitch/Config.in"
+8 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_TI_UTILS
	bool "ti-utils"
	select BR2_PACKAGE_LIBNL
	help
	  The calibrator and other useful utilities for TI wireless solution,
	  based on wl12xx driver.

	  http://linuxwireless.org/en/users/Drivers/wl12xx/calibrator
+29 −0
Original line number Diff line number Diff line
#############################################################
#
# ti-utils
#
#############################################################

TI_UTILS_VERSION = fbceab8f228cff80fd29b830bb85a188c69def08
TI_UTILS_SITE = git://github.com/gxk/ti-utils.git
TI_UTILS_DEPENDENCIES = libnl

define TI_UTILS_BUILD_CMDS
	$(MAKE1) NFSROOT="$(STAGING_DIR)" CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS)" \
		-C $(@D) all
endef

define TI_UTILS_INSTALL_TARGET_CMDS
	$(INSTALL) -m 0755 $(@D)/calibrator \
		$(TARGET_DIR)/usr/bin/calibrator
	$(INSTALL) -m 0755 $(@D)/scripts/go.sh \
		$(TARGET_DIR)/usr/bin/go.sh
endef

define TI_UTILS_UNINSTALL_TARGET_CMDS
	rm -f $(TARGET_DIR)/usr/bin/calibrator
	rm -f $(TARGET_DIR)/usr/bin/go.sh
endef

$(eval $(call GENTARGETS,package,ti-utils))