From 945c5a7bcc9de7ccb4aeba5baa525538df470e84 Mon Sep 17 00:00:00 2001 From: luka Date: Sun, 15 Dec 2013 21:12:47 +0000 Subject: [PATCH] [packages] i2c-tools: fix TARGET_CPPFLAGS Fixes #13546 and #13857. Signed-off-by John Vogel git-svn-id: svn://svn.openwrt.org/openwrt/packages@39069 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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.11.0