libsoc: add new package
PATCH 1/1 libsoc: add new package
From: Yegor Yefremov <[email protected]>
--- package/Config.in | 1 + package/libsoc/Config.in | 7 +++++++ package/libsoc/libsoc.mk | 12 ++++++++++++ 3 files changed, 20 insertions(+), 0 deletions(-) create mode 100644 package/libsoc/Config.in create mode 100644 package/libsoc/libsoc.mk
package/Config.in +1 -0
@@ -518,6 +518,7 @@ source "package/libnfc/Config.in" source "package/libnfc-llcp/Config.in" source "package/libqmi/Config.in" source "package/libserial/Config.in" +source "package/libsoc/Config.in" source "package/libusb/Config.in" source "package/libusb-compat/Config.in" source "package/libv4l/Config.in"
package/libsoc/Config.in new file +7 -0
@@ -0,0 +1,7 @@ +config BR2_PACKAGE_LIBSOC + bool "libsoc" + depends on BR2_USE_MMU # fork() + help + libsoc: C library for interfacing with common SoC peripherals through generic kernel interfaces + + https://github.com/jackmitch/libsoc
package/libsoc/libsoc.mk new file +12 -0
@@ -0,0 +1,12 @@ +############################################################# +# +# libsoc +# +############################################################# +LIBSOC_VERSION = 356760dcb93b22d6c67c5232cde2ade8c968c932 +LIBSOC_SITE = http://github.com/jackmitch/libsoc/tarball/$(LIBSOC_VERSION) +LIBSOC_AUTORECONF = YES +LIBSOC_INSTALL_STAGING = YES + +$(eval $(autotools-package)) +
Signature · 1 line
1.7.7
PATCH 1/1 libsoc: add new package
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"yegorslists" == yegorslists <[email protected]> writes:
yegorslists> From: Yegor Yefremov <[email protected]> yegorslists> Signed-off-by: Yegor Yefremov <[email protected]>
Committed with some fixes (see below) - Thanks.
yegorslists> diff --git a/package/Config.in b/package/Config.in yegorslists> index a94cb62..45d81df 100644
yegorslists> --- a/package/Config.in
yegorslists> +++ b/package/Config.in
yegorslists> @@ -518,6 +518,7 @@ source "package/libnfc/Config.in"
yegorslists> source "package/libnfc-llcp/Config.in" yegorslists> source "package/libqmi/Config.in" yegorslists> source "package/libserial/Config.in" yegorslists> +source "package/libsoc/Config.in" yegorslists> source "package/libusb/Config.in" yegorslists> source "package/libusb-compat/Config.in" yegorslists> source "package/libv4l/Config.in"
yegorslists> diff --git a/package/libsoc/Config.in b/package/libsoc/Config.in yegorslists> new file mode 100644
yegorslists> index 0000000..911ba7a
yegorslists> --- /dev/null
yegorslists> +++ b/package/libsoc/Config.in
yegorslists> @@ -0,0 +1,7 @@
yegorslists> +config BR2_PACKAGE_LIBSOC
yegorslists> + bool "libsoc"
yegorslists> + depends on BR2_USE_MMU # fork()
It's only the test program that uses fork(), and it doesn't get built by default so we can drop this dependency.
yegorslists> + help
yegorslists> + libsoc: C library for interfacing with common SoC peripherals through generic kernel interfaces
Please wrap help text after ~70 chars so they fit in a normal 80col menuconfig.
yegorslists> +
yegorslists> + https://github.com/jackmitch/libsoc
yegorslists> diff --git a/package/libsoc/libsoc.mk b/package/libsoc/libsoc.mk yegorslists> new file mode 100644
yegorslists> index 0000000..1d751cd
yegorslists> --- /dev/null
yegorslists> +++ b/package/libsoc/libsoc.mk
yegorslists> @@ -0,0 +1,12 @@
yegorslists> +############################################################# yegorslists> +#
yegorslists> +# libsoc
yegorslists> +#
yegorslists> +#############################################################
The ##### lines should be 80 chars wide and an empty line before the LIBSOC_ variables.
yegorslists> +LIBSOC_VERSION = 356760dcb93b22d6c67c5232cde2ade8c968c932 yegorslists> +LIBSOC_SITE = http://github.com/jackmitch/libsoc/tarball/$(LIBSOC_VERSION)
Please remember _LICENSE / _LICENSE_FILES tags for new packages (LGPLv2.1 in this case).
yegorslists> +LIBSOC_AUTORECONF = YES
yegorslists> +LIBSOC_INSTALL_STAGING = YES
yegorslists> +
yegorslists> +$(eval $(autotools-package))
yegorslists> +
No empty lines after autotools-package, thanks.
Signature · 1 line
Bye, Peter Korsgaard