mac80211: update to backports-4.14-rc2
[openwrt/openwrt.git] / package / kernel / mac80211 / patches / 001-fix_build.patch
index 402649d2ccdd06fa5a1d15a429cbd7ca0b3dc2e1..9e272e90af0fb9e13df125bc4a9645de9ce47ec7 100644 (file)
@@ -24,7 +24,7 @@
 -.DEFAULT:
 +.SILENT: $(STAMP_KERNEL_CONFIG)
 +$(STAMP_KERNEL_CONFIG):
-       @set -e ; test -f .local-symbols || (                                           \
+       @set -e ; test -f local-symbols || (                                            \
        echo "/--------------"                                                          ;\
        echo "| You shouldn't run make in the backports tree, but only in"              ;\
 @@ -60,57 +62,61 @@ mrproper:
@@ -34,7 +34,7 @@
 -      @set -e ; if [ "$$(cat .kernel_config_md5 2>/dev/null)" != "$(CONFIG_MD5)" ]    ;\
 -      then                                                                            \
 -              echo -n "Generating local configuration database from kernel ..."       ;\
--              grep -v -f .local-symbols $(KERNEL_CONFIG) | grep = | (                 \
+-              grep -v -f local-symbols $(KERNEL_CONFIG) | grep = | (                  \
 -                      while read l ; do                                               \
 -                              if [ "$${l:0:7}" != "CONFIG_" ] ; then                  \
 -                                      continue                                        ;\
@@ -85,9 +85,9 @@
 +      @rm -f .kernel_config_md5_*
 +      @touch $@
 +
-+Kconfig.kernel: $(STAMP_KERNEL_CONFIG) .local-symbols
++Kconfig.kernel: $(STAMP_KERNEL_CONFIG) local-symbols
 +      @printf "Generating local configuration database from kernel ..."
-+      @grep -v -f .local-symbols $(KERNEL_CONFIG) | grep = | (                        \
++      @grep -v -f local-symbols $(KERNEL_CONFIG) | grep = | (                 \
 +              while read l ; do                                               \
 +                      if [ "$${l:0:7}" != "CONFIG_" ] ; then                  \
 +                              continue                                        ;\
        @$(MAKE) oldconfig
 -      @echo -n "Building backport-include/backport/autoconf.h ..."
 +      @printf "Building backport-include/backport/autoconf.h ..."
-       @grep -f .local-symbols .config | (                             \
+       @grep -f local-symbols .config | (                              \
                echo "#ifndef COMPAT_AUTOCONF_INCLUDED"                 ;\
                echo "#define COMPAT_AUTOCONF_INCLUDED"                 ;\
 @@ -80,7 +80,12 @@ backport-include/backport/autoconf.h: .c