Ignore:
Timestamp:
2012-05-05T18:56:28+02:00 (5 years ago)
Author:
nbd
Message:

pptp: add netifd support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/pptp/Makefile

    r31600 r31605  
    3737MAKE_FLAGS += OPTIMIZE="$(TARGET_CFLAGS)" 
    3838 
    39 define Package/pptp/install 
     39ifneq ($(CONFIG_PACKAGE_netifd),) 
     40  define Package/pptp/install 
    4041        $(INSTALL_DIR) $(1)/usr/sbin 
    4142        $(INSTALL_BIN) $(PKG_BUILD_DIR)/pptp $(1)/usr/sbin/ 
     
    4445        $(INSTALL_DIR) $(1)/lib/network 
    4546        $(INSTALL_BIN) ./files/pptp.sh $(1)/lib/network/ 
    46 endef 
     47  endef 
     48else 
     49  define Package/pptp/install 
     50        $(INSTALL_DIR) $(1)/usr/sbin 
     51        $(INSTALL_BIN) $(PKG_BUILD_DIR)/pptp $(1)/usr/sbin/ 
     52        $(INSTALL_DIR) $(1)/etc/ppp 
     53        $(INSTALL_DATA) ./files/options.pptp $(1)/etc/ppp/ 
     54        $(INSTALL_DIR) $(1)/lib/network 
     55        $(INSTALL_DATA) ./files.old/pptp.sh $(1)/lib/network/ 
     56  endef 
     57endif 
    4758 
    4859$(eval $(call BuildPackage,pptp)) 
Note: See TracChangeset for help on using the changeset viewer.