summaryrefslogtreecommitdiffstats
path: root/package/linux-syscall-support/linux-syscall-support.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/linux-syscall-support/linux-syscall-support.mk')
-rw-r--r--package/linux-syscall-support/linux-syscall-support.mk29
1 files changed, 29 insertions, 0 deletions
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 0000000000..6ff4508bc4
--- /dev/null
+++ b/package/linux-syscall-support/linux-syscall-support.mk
@@ -0,0 +1,29 @@
+################################################################################
+#
+# 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_INSTALL_STAGING_CMDS
+ $(INSTALL) -D -m 0644 $(@D)/linux_syscall_support.h \
+ $(STAGING_DIR)/usr/include/linux_syscall_support.h
+endef
+
+define HOST_LINUX_SYSCALL_SUPPORT_INSTALL_CMDS
+ $(INSTALL) -D -m 0644 $(@D)/linux_syscall_support.h \
+ $(HOST_DIR)/usr/include/linux_syscall_support.h
+endef
+
+$(eval $(host-generic-package))
+$(eval $(generic-package))
OpenPOWER on IntegriCloud