Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Dec 2014 09:28:35 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Rui Paulo <rpaulo@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r275395 - head/usr.sbin/gpioctl
Message-ID:  <20141202082835.GA35285@ivaldir.etoilebsd.net>
In-Reply-To: <201412020611.sB26BXoI018937@svn.freebsd.org>
References:  <201412020611.sB26BXoI018937@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--17pEHd4RhPHOinZp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
>=20
> Log:
>   Rewrite parts of gpioctl(8) to use the gpio(3) library.
>=20
> Modified:
>   head/usr.sbin/gpioctl/Makefile
>   head/usr.sbin/gpioctl/gpioctl.c
>=20
> Modified: head/usr.sbin/gpioctl/Makefile
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- 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=3D	gpioctl
>  MAN=3D	gpioctl.8
> =20
> +CFLAGS+=3D -I${.CURDIR}/../../lib/libgpio
> +
> +DPADD+=3D	${LIBGPIO}
> +LDADD+=3D -lgpio
> +

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

Bapt

--17pEHd4RhPHOinZp
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEABECAAYFAlR9eDAACgkQ8kTtMUmk6EyCEQCcCp0qdyydo8L0vZtWCV1CCshk
kV0AoLJFgkAxzgWopL8uTBNONU8DK0vv
=YLP7
-----END PGP SIGNATURE-----

--17pEHd4RhPHOinZp--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141202082835.GA35285>