瀏覽代碼

- bump version and pass the target cflags in properly (at least for most of the
tools. Needs fixing upstream).

Bernhard Reutner-Fischer 19 年之前
父節點
當前提交
4244519b90
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. 4 3
      package/pppd/pppd.mk

+ 4 - 3
package/pppd/pppd.mk

@@ -3,9 +3,10 @@
 # pppd
 # pppd
 #
 #
 #############################################################
 #############################################################
-PPPD_SOURCE:=ppp-2.4.3.tar.gz
+PPPD_VERSION:=2.4.4
+PPPD_SOURCE:=ppp-$(PPPD_VERSION).tar.gz
 PPPD_SITE:=ftp://ftp.samba.org/pub/ppp
 PPPD_SITE:=ftp://ftp.samba.org/pub/ppp
-PPPD_DIR:=$(BUILD_DIR)/ppp-2.4.3
+PPPD_DIR:=$(BUILD_DIR)/ppp-$(PPPD_VERSION)
 PPPD_CAT:=$(ZCAT)
 PPPD_CAT:=$(ZCAT)
 PPPD_BINARY:=pppd/pppd
 PPPD_BINARY:=pppd/pppd
 PPPD_TARGET_BINARY:=usr/sbin/pppd
 PPPD_TARGET_BINARY:=usr/sbin/pppd
@@ -49,7 +50,7 @@ $(PPPD_DIR)/.configured: $(PPPD_DIR)/.unpacked
 	touch $(PPPD_DIR)/.configured
 	touch $(PPPD_DIR)/.configured
 
 
 $(PPPD_DIR)/$(PPPD_BINARY): $(PPPD_DIR)/.configured
 $(PPPD_DIR)/$(PPPD_BINARY): $(PPPD_DIR)/.configured
-	$(MAKE) CC=$(TARGET_CC) -C $(PPPD_DIR)
+	$(MAKE) CC=$(TARGET_CC) COPTS="$(TARGET_CFLAGS)" -C $(PPPD_DIR)
 
 
 $(TARGET_DIR)/$(PPPD_TARGET_BINARY): $(PPPD_DIR)/$(PPPD_BINARY)
 $(TARGET_DIR)/$(PPPD_TARGET_BINARY): $(PPPD_DIR)/$(PPPD_BINARY)
 	$(MAKE1) DESTDIR=$(TARGET_DIR)/usr CC=$(TARGET_CC) -C $(PPPD_DIR) install
 	$(MAKE1) DESTDIR=$(TARGET_DIR)/usr CC=$(TARGET_CC) -C $(PPPD_DIR) install