From: Felix Fietkau Date: Mon, 18 Jan 2016 12:27:49 +0100 Subject: [PATCH] Kbuild: don't hardcode path to awk in scripts/ld-version.sh On some systems /usr/bin/awk does not exist, or is broken. Find it via $PATH instead. Signed-off-by: Felix Fietkau --- --- a/scripts/ld-version.sh +++ b/scripts/ld-version.sh @@ -1,8 +1,10 @@ -#!/usr/bin/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 } +' '>cgit logo index : openwrt/upstream
upstream openwrtJames
aboutsummaryrefslogtreecommitdiffstats
blob: bb4af76a6107d66353861c1a81fe0ddb6bd910a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70