summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShiji Yang2024-10-05 04:22:12 +0000
committerHauke Mehrtens2024-10-12 13:53:06 +0000
commiteb05baff7fb330de43632d638c34ba544f472935 (patch)
tree00af796a1f77b55fa2693070f82f1c8d97b74ad6
parent7eb6bf1ac9798f07577f7c2e0ef12f622efc6315 (diff)
downloadopenwrt-eb05baff7fb330de43632d638c34ba544f472935.tar.gz
ppp: clean up makefile
The latest ppp version seems to no longer require these ancient build fixes. Signed-off-by: Shiji Yang <yangshiji66@qq.com> Link: https://github.com/openwrt/openwrt/pull/16605 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--package/network/services/ppp/Makefile26
1 files changed, 0 insertions, 26 deletions
diff --git a/package/network/services/ppp/Makefile b/package/network/services/ppp/Makefile
index 878c4fc481..5f1ebd4e7d 100644
--- a/package/network/services/ppp/Makefile
+++ b/package/network/services/ppp/Makefile
@@ -184,37 +184,11 @@ This tool performs the same discovery process as pppoe, but does
not initiate a session. Can be useful to debug pppoe.
endef
-
-define Build/Configure
-$(call Build/Configure/Default,, \
- UNAME_S="Linux" \
- UNAME_R="$(LINUX_VERSION)" \
- UNAME_M="$(ARCH)" \
-)
- mkdir -p $(PKG_BUILD_DIR)/pppd/plugins/pppoatm/linux
- $(CP) \
- $(LINUX_DIR)/include/linux/compiler.h \
- $(LINUX_DIR)/include/$(LINUX_UAPI_DIR)linux/atm*.h \
- $(PKG_BUILD_DIR)/pppd/plugins/pppoatm/linux/
-
- # Kernel 4.14.9+ only, ignore the exit status of cp in case the file
- # doesn't exits
- -$(CP) $(LINUX_DIR)/include/linux/compiler_types.h \
- $(PKG_BUILD_DIR)/pppd/plugins/pppoatm/linux/
-endef
-
-MAKE_FLAGS += COPTS="$(TARGET_CFLAGS)" \
- STAGING_DIR="$(STAGING_DIR)"
-
ifeq ($(BUILD_VARIANT),multilink)
CONFIGURE_VARS += \
enable_multilink=yes
endif
-ifdef CONFIG_USE_MUSL
- MAKE_FLAGS += USE_LIBUTIL=
-endif
-
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/pppd $(1)/usr/include/