From c6175d6a56775934a84a080ba81be321b2268fd4 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Thu, 20 Sep 2007 13:35:00 +0000 Subject: [PATCH] Update to copy correctly header-files for RT-Linux. darcs-hash:20070920133520-ff715-48d6661400983b130e4ccd440a118513b177a7fd.gz --- snippets/linux | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/snippets/linux b/snippets/linux index f3faf80..84c23b5 100644 --- a/snippets/linux +++ b/snippets/linux @@ -537,7 +537,7 @@ endif #===================================================================== # Kernel requires its own set of configuration header-files -ifneq ($(kernel_LIBRARIES)$(rtlinux_LIBRARIES)$(kernel_MODULES)$(rtlinux_MODULES)$(kernel_INCLUDES)$(rtlinux_INCLUDES),) +ifneq ($(kernel_LIBRARIES)$(rtlinux_LIBRARIES)$(kernel_MODULES)$(rtlinux_MODULES)$(kernel_HEADERS)$(rtlinux_HEADERS)$(kernel_HEADERS)$(rtlinux_HEADERS)$(nobase_kernel_HEADERS)$(nobase_rtlinux_HEADERS)$(renamed_kernel_HEADERS)$(renamed_rtlinux_HEADERS),) KERN_CONFIG_HEADERS_REQUIRED = y endif @@ -574,6 +574,9 @@ install-local: # TODO include-pass-local: $(call include-pass-template,$(USER_INCLUDE_DIR),include) $(call include-pass-template,$(KERN_INCLUDE_DIR),kernel) +ifeq ($(CONFIG_RTLINUX),y) + $(call include-pass-template,$(KERN_INCLUDE_DIR),rtlinux) +endif ifdef USER_RULE_TEMPLATES -- 2.39.2