From 96c03b2f4da3891f5240f14eba219b8a51c3f099 Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Thu, 1 Feb 2018 12:39:35 +0100 Subject: busybox: don't select KERNEL_HEADER The kernel headers in the toolchain a probably sufficient. If not the kernel-header package can be enabled manually. It will be built before all other target packages. Signed-off-by: Michael Olbrich --- rules/busybox.make | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rules/busybox.make') diff --git a/rules/busybox.make b/rules/busybox.make index 13db84d11..6e1108935 100644 --- a/rules/busybox.make +++ b/rules/busybox.make @@ -51,8 +51,10 @@ BUSYBOX_MAKE_OPT := \ SUBARCH=$(PTXCONF_ARCH_STRING) \ CROSS_COMPILE=$(COMPILER_PREFIX) +ifdef PTXCONF_KERNEL_HEADER BUSYBOX_CPPFLAGS := \ -I$(KERNEL_HEADERS_INCLUDE_DIR) +endif BUSYBOX_MAKE_ENV := \ $(CROSS_ENV) \ -- cgit v1.2.3