1 From: Felix Fietkau <nbd@nbd.name>
2 Date: Mon, 18 Jan 2016 12:27:49 +0100
3 Subject: [PATCH] Kbuild: don't hardcode path to awk in scripts/ld-version.sh
5 On some systems /usr/bin/awk does not exist, or is broken. Find it via
8 Signed-off-by: Felix Fietkau <nbd@nbd.name>
11 --- a/scripts/ld-version.sh
12 +++ b/scripts/ld-version.sh
16 # extract linker version number from stdin and turn into single number
20 gsub(".*version ", "");
22 print a[1]*100000000 + a[2]*1000000 + a[3]*10000;