Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yegor Yefremov <yegor_sub1@visionsystems.de>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] New package: ti-utils
Date: Wed, 27 Apr 2011 10:32:48 +0200	[thread overview]
Message-ID: <4DB7D4B0.9020905@visionsystems.de> (raw)

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.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>

Index: b/package/Config.in
===================================================================
--- a/package/Config.in	2011-04-26 02:04:14.130276675 -0700
+++ b/package/Config.in	2011-04-26 03:52:58.106277378 -0700
@@ -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"
Index: b/package/ti-utils/Config.in
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ b/package/ti-utils/Config.in	2011-04-27 00:58:58.674284049 -0700
@@ -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
+
Index: b/package/ti-utils/ti-utils.mk
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ b/package/ti-utils/ti-utils.mk	2011-04-27 00:57:53.546282739 -0700
@@ -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))
+

             reply	other threads:[~2011-04-27  8:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-27  8:32 Yegor Yefremov [this message]
2011-07-25 11:34 ` [Buildroot] [PATCH] New package: ti-utils Peter Korsgaard
2011-07-25 12:10   ` Yegor Yefremov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DB7D4B0.9020905@visionsystems.de \
    --to=yegor_sub1@visionsystems.de \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox