From: Jo-Philipp Wich Date: Wed, 17 Feb 2010 22:43:09 +0000 (+0000) Subject: strace: fix compile with external toolchain by adding kernel include dir to cflags... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ddb020a2968e12d4a0cde2273dbf19c9a4cc17e0;p=openwrt%2Fsvn-archive%2Fpackages.git strace: fix compile with external toolchain by adding kernel include dir to cflags (#6695) SVN-Revision: 19693 --- 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