From ddb020a2968e12d4a0cde2273dbf19c9a4cc17e0 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 17 Feb 2010 22:43:09 +0000 Subject: [PATCH] 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 486d5dacc..085dda66c 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