From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] New package: gpio9260
Date: Wed, 8 Feb 2012 10:10:43 +0100 [thread overview]
Message-ID: <20120208091043.GB19413@game.jcrosoft.org> (raw)
In-Reply-To: <1328559215-12206-1-git-send-email-jwoltz@gmail.com>
On 15:13 Mon 06 Feb , J.C. Woltz wrote:
> From: "J.C. Woltz" <jwoltz@gmail.com>
>
> gpio9260 is an utility used to read and set gpio states on
> the at91sam9260 and at91sam9g20 CPUs
why dont u use the kernel instead via sysfs
If this need kernel modification I don't think it will go mainline
Best Regards,
J.
>
> Signed-off-by: J.C. Woltz <jwoltz@gmail.com>
> ---
> package/Config.in | 1 +
> package/gpio9260/Config.in | 5 +++++
> package/gpio9260/gpio9260.mk | 23 +++++++++++++++++++++++
> 3 files changed, 29 insertions(+), 0 deletions(-)
> create mode 100644 package/gpio9260/Config.in
> create mode 100644 package/gpio9260/gpio9260.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index 66ee266..c083bfc 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -177,6 +177,7 @@ source "package/gadgetfs-test/Config.in"
> source "package/gdisk/Config.in"
> source "package/genext2fs/Config.in"
> source "package/genromfs/Config.in"
> +source "package/gpio9260/Config.in"
> source "package/gpsd/Config.in"
> source "package/gvfs/Config.in"
> if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
> diff --git a/package/gpio9260/Config.in b/package/gpio9260/Config.in
> new file mode 100644
> index 0000000..088b11e
> --- /dev/null
> +++ b/package/gpio9260/Config.in
> @@ -0,0 +1,5 @@
> +config BR2_PACKAGE_GPIO9260
> + bool "gpio9260"
> + help
> + gpio9260 is a program to interact with at91sam9260
> + and at91sam9g20 GPIOs.
> diff --git a/package/gpio9260/gpio9260.mk b/package/gpio9260/gpio9260.mk
> new file mode 100644
> index 0000000..b9adb41
> --- /dev/null
> +++ b/package/gpio9260/gpio9260.mk
> @@ -0,0 +1,23 @@
> +#############################################################
> +#
> +# gpio9260
> +#
> +#############################################################
> +GPIO9260_VERSION = 1.0
> +GPIO9260_SOURCE = gpio9260-$(GPIO9260_VERSION).tar.gz
> +GPIO9260_SITE = https://www.jcwoltz.com/e10
> +GPIO9260_INSTALL_STAGING = YES
> +
> +define GPIO9260_BUILD_CMDS
> + $(MAKE) CC=$(TARGET_CC) LD=$(TARGET_LD) -C $(@D) all
> +endef
> +
> +define GPIO9260_INSTALL_STAGING_CMDS
> + $(INSTALL) -D -m 0755 $(@D)/gpio9260 $(STAGING_DIR)/usr/bin
> +endef
> +
> +define GPIO9260_INSTALL_TARGET_CMDS
> + $(INSTALL) -D -m 0755 $(@D)/gpio9260 $(TARGET_DIR)/usr/bin
> +endef
> +
> +$(eval $(call GENTARGETS,package,gpio9260))
> --
> 1.7.5.4
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
next prev parent reply other threads:[~2012-02-08 9:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-06 20:13 [Buildroot] [PATCH] New package: gpio9260 J.C. Woltz
2012-02-06 21:06 ` Peter Korsgaard
2012-02-06 21:43 ` J.C. Woltz
2012-02-08 9:12 ` Jean-Christophe PLAGNIOL-VILLARD
2012-02-08 9:10 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2012-02-08 9:34 ` Peter Korsgaard
2012-02-08 13:27 ` Jean-Christophe PLAGNIOL-VILLARD
[not found] <1450339669-1328562959-cardhu_decombobulator_blackberry.rim.net-667609737-@b26.c30.bise6.blackberry>
2012-02-06 21:32 ` Peter Korsgaard
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=20120208091043.GB19413@game.jcrosoft.org \
--to=plagnioj@jcrosoft.com \
--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