From 08c68ddd7b27a5f5f43d62d7c8d9d274b559c04c Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 17 Feb 2010 22:43:09 +0000 Subject: [PATCH] [packages] strace: fix compile with external toolchain by adding kernel include dir to cflags (#6695) SVN-Revision: 19693 --- utils/strace/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/utils/strace/Makefile b/utils/strace/Makefile index 486d5daccb..085dda66c7 100644 --- a/utils/strace/Makefile +++ b/utils/strace/Makefile @@ -6,6 +6,7 @@ # include $(TOPDIR)/rules.mk +include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=strace PKG_RELEASE:=2 @@ -29,6 +30,9 @@ include $(INCLUDE_DIR)/package.mk CONFIGURE_VARS += \ ac_cv_header_linux_netlink_h=yes +TARGET_CFLAGS += \ + -I$(LINUX_DIR)/include + define Package/strace SECTION:=utils CATEGORY:=Utilities -- 2.30.2