Skip to contentSkip to conversation

New package: ti-utils

PATCH New Yegor Yefremov 2 participants 3 messages Apr 27, 2011 – Jul 25, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

package/Config.in +1 -0
Index: b/package/Config.in
===================================================================
@@ -203,6 +203,7 @@
 source "package/squashfs3/Config.in"
 source "package/sshfs/Config.in"
 source "package/sysstat/Config.in"
+source "package/ti-utils/Config.in"
 source "package/udev/Config.in"
 source "package/usb_modeswitch/Config.in"
 source "package/usbmount/Config.in"
package/ti-utils/Config.in new file +8 -0
Index: b/package/ti-utils/Config.in
===================================================================
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_TI_UTILS
+	bool "ti-utils"
+	help
+	  The calibrator and other useful utilities for TI wireless solution,
+	  based on wl12xx driver.
+
+	  http://linuxwireless.org/en/users/Drivers/wl12xx/calibrator
+
package/ti-utils/ti-utils.mk new file +29 -0
Index: b/package/ti-utils/ti-utils.mk
===================================================================
@@ -0,0 +1,29 @@
+#############################################################
+#
+# 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))
+
#1 lore raw

PATCH 1/1 New package: ti-utils

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yegor" == Yegor Yefremov <[email protected]> writes:

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

Yegor> See http://linuxwireless.org/en/users/Drivers/wl12xx/calibrator for Yegor> further details.

You missed the 'select BR2_PACKAGE_LIBNL', but I've fixed that - Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH 1/1 New package: ti-utils

Am 25.07.2011 13:34, schrieb Peter Korsgaard:

Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yegor" == Yegor Yefremov <[email protected]> writes:

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

Yegor> See http://linuxwireless.org/en/users/Drivers/wl12xx/calibrator for Yegor> further details.

You missed the 'select BR2_PACKAGE_LIBNL', but I've fixed that - Committed, thanks.

Thanks. I'm testing the latest version and will post an update soon.

Yegor