2016-11-27 17:16:38 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# linux-syscall-support
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2016-11-27 17:16:40 +01:00
|
|
|
# Use the same version that the one used by Google-breakpad (see DEPS file)
|
|
|
|
LINUX_SYSCALL_SUPPORT_VERSION = 3f6478ac95edf86cd3da300c2c0d34a438f5dbeb
|
2016-11-27 17:16:38 +01:00
|
|
|
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))
|