[email protected] wrote: > From: Carsten Schlote <[email protected]> > > Signed-off-by: Carsten Schlote <[email protected]>
applied, cheers, Marc > --- > rules/libsysfs.in | 15 ++++++++++++++- > rules/libsysfs.make | 4 ++++ > 2 files changed, 18 insertions(+), 1 deletions(-) > > diff --git a/rules/libsysfs.in b/rules/libsysfs.in > index 501410d..399435d 100644 > --- a/rules/libsysfs.in > +++ b/rules/libsysfs.in > @@ -1,6 +1,6 @@ > ## SECTION=system_libraries > > -config LIBSYSFS > +menuconfig LIBSYSFS > tristate > prompt "libsysfs" > help > @@ -8,3 +8,16 @@ config LIBSYSFS > provides a tree of system devices. libsysfs provides a > stable programming interface to sysfs and eases querying > system devices and their attributes. > + > +if LIBSYSFS > + > +config LIBSYSFS_SYSTOOL > + bool > + prompt "install sysfs systool" > + help > + Enable this tio get the program 'systool' > + to query sysfs entries: it can list devices > + by bus, class, and topology. > + > +endif > + > diff --git a/rules/libsysfs.make b/rules/libsysfs.make > index 123a304..f12eabc 100644 > --- a/rules/libsysfs.make > +++ b/rules/libsysfs.make > @@ -64,6 +64,10 @@ $(STATEDIR)/libsysfs.targetinstall: > @$(call install_link, libsysfs, libsysfs.so.2.0.1, > /usr/lib/libsysfs.so.2) > @$(call install_link, libsysfs, libsysfs.so.2.0.1, /usr/lib/libsysfs.so) > > +ifdef PTXCONF_LIBSYSFS_SYSTOOL > + @$(call install_copy, libsysfs, 0, 0, 0775, -, /usr/bin/systool) > +endif > + > @$(call install_finish, libsysfs) > > @$(call touch) -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
signature.asc
Description: OpenPGP digital signature
-- ptxdist mailing list [email protected]
