more BR2_ / CONFIG_ patches
[openwrt/openwrt.git] / openwrt / package / ppp / Makefile
index e63fa4cf5040fc0c999e36c3248543330648936e..92aba9a57d716803859f193fc0a4f0b4268e4ab9 100644 (file)
@@ -40,7 +40,7 @@ $(eval $(call PKG_mod_template,PPP_MOD_PPPOE,rp-pppoe))
 $(eval $(call PKG_mod_template,PPP_MOD_RADIUS,radius))
 
 PKG_DEPEND:="kmod-ppp"
-ifeq ($(BR2_PACKAGE_PPP_WITH_FILTER),y)
+ifeq ($(CONFIG_PACKAGE_PPP_WITH_FILTER),y)
 ENABLE_FILTER:="PRECOMPILED_FILTER=1"
 endif
 
@@ -84,7 +84,7 @@ $(PKG_BUILD_DIR)/.built:
                all install
        touch $@
 
-ifeq ($(BR2_PACKAGE_PPP_WITH_FILTER),y)
+ifeq ($(CONFIG_PACKAGE_PPP_WITH_FILTER),y)
 INSTALL_FILTER=install -m0644 ./files/etc/ppp/filter $(IDIR_PPP)/etc/ppp/
 endif