[Buildroot] [PATCH for-next 1/3] package/linux-syscall-support: new package

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Dec 17 15:14:56 UTC 2016


Hello,

On Sun, 27 Nov 2016 17:16:38 +0100, Romain Naour wrote:

> +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

There was no reason to use post-install hooks here. Instead,
implementing directly LINUX_SYSCALL_SUPPORT_INSTALL_STAGING_CMDS and
HOST_LINUX_SYSCALL_SUPPORT_INSTALL_CMDS makes a lot more sense, since
it's a generic-package.

I've applied after fixing this, and adding a follow-up commit adding
you to the DEVELOPERS flie for this package.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com


More information about the buildroot mailing list