Author: nbd
Date: 2016-01-18 18:40:40 +0100 (Mon, 18 Jan 2016)
New Revision: 48324

Modified:
   
trunk/target/linux/generic/patches-4.4/010-Kbuild-don-t-hardcode-path-to-awk-in-scripts-ld-vers.patch
Log:
kernel: fix a build regression in the ld-version script fix

Signed-off-by: Felix Fietkau <[email protected]>

Modified: 
trunk/target/linux/generic/patches-4.4/010-Kbuild-don-t-hardcode-path-to-awk-in-scripts-ld-vers.patch
===================================================================
--- 
trunk/target/linux/generic/patches-4.4/010-Kbuild-don-t-hardcode-path-to-awk-in-scripts-ld-vers.patch
       2016-01-18 15:54:23 UTC (rev 48323)
+++ 
trunk/target/linux/generic/patches-4.4/010-Kbuild-don-t-hardcode-path-to-awk-in-scripts-ld-vers.patch
       2016-01-18 17:40:40 UTC (rev 48324)
@@ -10,9 +10,15 @@
 
 --- a/scripts/ld-version.sh
 +++ b/scripts/ld-version.sh
-@@ -1,4 +1,4 @@
+@@ -1,8 +1,10 @@
 -#!/usr/bin/awk -f
-+#!/usr/bin/env awk -f
++#!/bin/sh
  # extract linker version number from stdin and turn into single number
++exec awk '
        {
        gsub(".*)", "");
+       split($1,a, ".");
+       print a[1]*10000000 + a[2]*100000 + a[3]*10000 + a[4]*100 + a[5];
+       exit
+       }
++'
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to