diff --git a/package/devel/oprofile/Makefile b/package/devel/oprofile/Makefile index 6944bc391b1..b1808a31961 100644 --- a/package/devel/oprofile/Makefile +++ b/package/devel/oprofile/Makefile @@ -50,6 +50,7 @@ endef define Build/Configure $(call Build/Configure/Default, \ --with-kernel-support \ + --with-kernel=$(LINUX_DIR)/user_headers \ --without-x \ ) endef