[packages] i2c-tools: fix TARGET_CPPFLAGS
[packages.git] / utils / i2c-tools / Makefile
index 7085dd5..51dc010 100644 (file)
@@ -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