From ec88f2dc1a37d97f4d270dd866e1c0c1baa57fab Mon Sep 17 00:00:00 2001 From: Luka Perkov Date: Sun, 15 Dec 2013 21:12:47 +0000 Subject: [PATCH] i2c-tools: fix TARGET_CPPFLAGS Fixes #13546 and #13857. Signed-off-by John Vogel SVN-Revision: 39069 --- utils/i2c-tools/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/i2c-tools/Makefile b/utils/i2c-tools/Makefile index 7085dd582..51dc0104f 100644 --- a/utils/i2c-tools/Makefile +++ b/utils/i2c-tools/Makefile @@ -62,7 +62,7 @@ define Package/python-smbus/description This package contain the python bindings for Linux SMBus access through i2c-dev. endef -TARGET_CPPFLAGS += -I$(LINUX_DIR)/include +TARGET_CPPFLAGS += -I$(PKG_BUILD_DIR)/include ifdef CONFIG_PACKAGE_python-smbus define Build/Compile/python-smbus -- 2.30.2