Move ioctl header to common include path
Currently this project places the header under a path that is only added
to the includes list when not building under yocto. The existing yocto
solution is not compatible with the upcoming 5.4 kernel, so instead
always include the local copy.
This can be dropped in the future once PECI is upstream and yocto ships
a kernel version that includes the header.
Change-Id: I11347b33c0d23e6b769c81d9c99390e69b1fd6af
Signed-off-by: Joel Stanley <joel@jms.id.au>
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 60a608b..83c9a76 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -79,7 +79,6 @@
if (NOT YOCTO)
option (ENABLE_TEST "Enable Google Test" OFF)
- include_directories (SYSTEM ${CMAKE_CURRENT_SOURCE_DIR}/include/non-yocto)
externalproject_add (
Boost URL
diff --git a/include/non-yocto/linux/peci-ioctl.h b/include/linux/peci-ioctl.h
similarity index 100%
rename from include/non-yocto/linux/peci-ioctl.h
rename to include/linux/peci-ioctl.h