![Thomas Petazzoni](/assets/img/avatar_default.png)
Our package infrastructure uses inheritance of a number of values from the target package to the host package, which assumes the target package is defined before the host package. In addition, future changes are going to make this requirement even more important. Therefore, let's fix the android-tools, gauche, lcms2, linux-syscall-support and pngquant packages, so that they declare their target variant before their host variant, like all other packages in Buildroot. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
30 lines
1 KiB
Makefile
30 lines
1 KiB
Makefile
################################################################################
|
|
#
|
|
# linux-syscall-support
|
|
#
|
|
################################################################################
|
|
|
|
# Use the same version that the one used by Google-breakpad (see DEPS file)
|
|
LINUX_SYSCALL_SUPPORT_VERSION = 3f6478ac95edf86cd3da300c2c0d34a438f5dbeb
|
|
LINUX_SYSCALL_SUPPORT_SITE = https://chromium.googlesource.com/linux-syscall-support
|
|
LINUX_SYSCALL_SUPPORT_SITE_METHOD = git
|
|
LINUX_SYSCALL_SUPPORT_LICENSE = BSD-3-Clause
|
|
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)/include/linux_syscall_support.h
|
|
endef
|
|
|
|
$(eval $(generic-package))
|
|
$(eval $(host-generic-package))
|