|
@@ -37,15 +37,6 @@ PPPD_DEPENDENCIES += libpcap
|
|
|
PPPD_MAKE_OPTS += FILTER=y
|
|
|
endif
|
|
|
|
|
|
-# pppd bundles some but not all of the needed kernel headers. The embedded
|
|
|
-# if_pppol2tp.h is unfortunately not compatible with kernel headers > 2.6.34,
|
|
|
-# and has been part of the kernel headers since 2.6.23, so drop it
|
|
|
-define PPPD_DROP_INTERNAL_IF_PPOL2TP_H
|
|
|
- $(RM) $(@D)/include/linux/if_pppol2tp.h
|
|
|
-endef
|
|
|
-
|
|
|
-PPPD_POST_EXTRACT_HOOKS += PPPD_DROP_INTERNAL_IF_PPOL2TP_H
|
|
|
-
|
|
|
# pppd defaults to /etc/ppp/resolv.conf, which not be writable and is
|
|
|
# definitely not useful since the C library only uses
|
|
|
# /etc/resolv.conf. Therefore, we change pppd to use /etc/resolv.conf
|