kumquat-buildroot/package/linux-syscall-support/linux-syscall-support.mk
Romain Naour a069c16526 package/linux-syscall-support: new package
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@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>
[Thomas: directly implement installation in the install commands, rather
than using post-install hooks.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-12-17 16:13:02 +01:00

30 lines
1.0 KiB
Makefile

################################################################################
#
# 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))