All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH for-next 1/3] package/linux-syscall-support: new package
@ 2016-11-27 16:16 Romain Naour
  2016-11-27 16:16 ` [Buildroot] [PATCH for-next 2/3] package/google-breakpad: switch to the new git repository Romain Naour
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Romain Naour @ 2016-11-27 16:16 UTC (permalink / raw)
  To: buildroot

This package provide a header file which will be used by
Google-breakpad package. This avoid using depot-tools script to fetch
all third parties used by Google-breakpad.

Use the version corresponding to the Google-breakpad svn revision 1373:
http://linux-syscall-support.googlecode.com/svn/trunk/lss at 24 829466d3-f3f5-3ae4-62ad-de35cf9bba21

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Pascal Huerst <pascal.huerst@gmail.com>
Cc: Frank Hunleth <fhunleth@troodon-software.com>
---
 package/Config.in                                  |  1 +
 package/linux-syscall-support/Config.in            |  8 ++++++
 .../linux-syscall-support.hash                     |  2 ++
 .../linux-syscall-support/linux-syscall-support.mk | 31 ++++++++++++++++++++++
 4 files changed, 42 insertions(+)
 create mode 100644 package/linux-syscall-support/Config.in
 create mode 100644 package/linux-syscall-support/linux-syscall-support.hash
 create mode 100644 package/linux-syscall-support/linux-syscall-support.mk

diff --git a/package/Config.in b/package/Config.in
index b076dfd..d7632c5 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1413,6 +1413,7 @@ menu "Miscellaneous"
 	source "package/gr-osmosdr/Config.in"
 	source "package/gsettings-desktop-schemas/Config.in"
 	source "package/haveged/Config.in"
+	source "package/linux-syscall-support/Config.in"
 	source "package/mcrypt/Config.in"
 	source "package/mobile-broadband-provider-info/Config.in"
 	source "package/qemu/Config.in"
diff --git a/package/linux-syscall-support/Config.in b/package/linux-syscall-support/Config.in
new file mode 100644
index 0000000..323dfbd
--- /dev/null
+++ b/package/linux-syscall-support/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_LINUX_SYSCALL_SUPPORT
+	bool "linux-syscall-support (lss)"
+	help
+	  This project provides a header file that can be included into
+	  your application whenever you need to make direct system
+	  calls.
+
+	  https://chromium.googlesource.com/linux-syscall-support/
diff --git a/package/linux-syscall-support/linux-syscall-support.hash b/package/linux-syscall-support/linux-syscall-support.hash
new file mode 100644
index 0000000..e800e8a
--- /dev/null
+++ b/package/linux-syscall-support/linux-syscall-support.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 3ac36d3f3cef7a3a111ea61b04b470282ec15ccc27d03a117e13ac0ab9973ba8  linux-syscall-support-e6c7682c40c27527894fbb8bcba38f77edbbb6b7.tar.gz
diff --git a/package/linux-syscall-support/linux-syscall-support.mk b/package/linux-syscall-support/linux-syscall-support.mk
new file mode 100644
index 0000000..010b8f0
--- /dev/null
+++ b/package/linux-syscall-support/linux-syscall-support.mk
@@ -0,0 +1,31 @@
+################################################################################
+#
+# linux-syscall-support
+#
+################################################################################
+
+# Use the same version that the one used by Google-breakpad 1373
+LINUX_SYSCALL_SUPPORT_VERSION = e6c7682c40c27527894fbb8bcba38f77edbbb6b7
+LINUX_SYSCALL_SUPPORT_SITE = https://chromium.googlesource.com/linux-syscall-support
+LINUX_SYSCALL_SUPPORT_SITE_METHOD = git
+LINUX_SYSCALL_SUPPORT_LICENSE = BSD-3c
+LINUX_SYSCALL_SUPPORT_LICENSE_FILES = linux_syscall_support.h
+
+# Provide only one header file.
+LINUX_SYSCALL_SUPPORT_INSTALL_TARGET = NO
+LINUX_SYSCALL_SUPPORT_INSTALL_STAGING = YES
+
+define LINUX_SYSCALL_SUPPORT_HOST_INSTALL
+	$(INSTALL) -D -m 0644 $(@D)/linux_syscall_support.h \
+		$(HOST_DIR)/usr/include/linux_syscall_support.h
+endef
+HOST_LINUX_SYSCALL_SUPPORT_POST_INSTALL_HOOKS += LINUX_SYSCALL_SUPPORT_HOST_INSTALL
+
+define LINUX_SYSCALL_SUPPORT_STAGING_INSTALL
+	$(INSTALL) -D -m 0644 $(@D)/linux_syscall_support.h \
+		$(STAGING_DIR)/usr/include/linux_syscall_support.h
+endef
+LINUX_SYSCALL_SUPPORT_POST_INSTALL_STAGING_HOOKS += LINUX_SYSCALL_SUPPORT_STAGING_INSTALL
+
+$(eval $(host-generic-package))
+$(eval $(generic-package))
-- 
2.5.5

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-05-28 20:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-27 16:16 [Buildroot] [PATCH for-next 1/3] package/linux-syscall-support: new package Romain Naour
2016-11-27 16:16 ` [Buildroot] [PATCH for-next 2/3] package/google-breakpad: switch to the new git repository Romain Naour
2016-11-28 19:37   ` Romain Naour
2016-12-17 15:33   ` Thomas Petazzoni
2017-05-28 18:14   ` Bernd Kuhls
2017-05-28 18:51     ` Romain Naour
2017-05-28 20:17     ` Thomas Petazzoni
2016-11-27 16:16 ` [Buildroot] [PATCH for-next 3/3] package/google-breakpad: bump to the latest version Romain Naour
2016-12-17 15:34   ` Thomas Petazzoni
2016-12-17 15:14 ` [Buildroot] [PATCH for-next 1/3] package/linux-syscall-support: new package Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.