configure: add missing object for PHC refclock
This fixes commit eceb8d9937
.
This commit is contained in:
parent
707d9a3484
commit
95adb52a45
1 changed files with 2 additions and 0 deletions
2
configure
vendored
2
configure
vendored
|
@ -752,6 +752,8 @@ if [ $feat_refclock = "1" ] && [ $feat_phc = "1" ] && [ $try_phc = "1" ] && \
|
|||
test_code '<linux/ptp_clock.h>' 'sys/ioctl.h linux/ptp_clock.h' '' '' \
|
||||
'ioctl(1, PTP_CLOCK_GETCAPS + PTP_SYS_OFFSET, 0);'
|
||||
then
|
||||
grep 'HAVE_LINUX_TIMESTAMPING' config.h > /dev/null ||
|
||||
EXTRA_OBJECTS="$EXTRA_OBJECTS hwclock.o"
|
||||
add_def FEAT_PHC
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue