svn commit: r275395 - head/usr.sbin/gpioctl

Baptiste Daroussin bapt at FreeBSD.org
Tue Dec 2 08:28:41 UTC 2014


On Tue, Dec 02, 2014 at 06:11:33AM +0000, Rui Paulo wrote:
> Author: rpaulo
> Date: Tue Dec  2 06:11:32 2014
> New Revision: 275395
> URL: https://svnweb.freebsd.org/changeset/base/275395
> 
> Log:
>   Rewrite parts of gpioctl(8) to use the gpio(3) library.
> 
> Modified:
>   head/usr.sbin/gpioctl/Makefile
>   head/usr.sbin/gpioctl/gpioctl.c
> 
> Modified: head/usr.sbin/gpioctl/Makefile
> ==============================================================================
> --- head/usr.sbin/gpioctl/Makefile	Tue Dec  2 05:41:03 2014	(r275394)
> +++ head/usr.sbin/gpioctl/Makefile	Tue Dec  2 06:11:32 2014	(r275395)
> @@ -3,4 +3,9 @@
>  PROG=	gpioctl
>  MAN=	gpioctl.8
>  
> +CFLAGS+= -I${.CURDIR}/../../lib/libgpio
> +
> +DPADD+=	${LIBGPIO}
> +LDADD+= -lgpio
> +

I have spent a lot of time on adding LIBADD, too bad you are not using it :(

Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20141202/ac8c2379/attachment.sig>


More information about the svn-src-all mailing list