packages/net/linuxptp/patches/001-fix_kbuild_output.patch
Paulo Machado 1fe19e712f linuxptp: fix build failure
Build is failing because HWTSTAMP_TX_ONESTEP_P2P is defined anymore on
linux net_tstamp.h.

Moreover, the usual way of linuxptp build is looking for system includes
unless user defines differently. That also was tried to fix.

PKG_RELEASE bumped to 3.

Signed-off-by: Paulo Machado <pffmachado@yahoo.com>
(cherry picked from commit 5f64b2d1e4)
2020-06-05 21:43:10 -07:00

11 lines
274 B
Diff

--- a/incdefs.sh
+++ b/incdefs.sh
@@ -62,7 +62,7 @@ user_flags()
kernel_flags()
{
prefix=""
- tstamp=/usr/include/linux/net_tstamp.h
+ tstamp=/include/uapi/linux/net_tstamp.h
if [ "x$KBUILD_OUTPUT" != "x" ]; then
# With KBUILD_OUTPUT set, we are building against