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