OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 22... | Line 22... | |||
22 | rm -f $(TMP_DIR)/test.*; touch $(TMP_DIR)/test.fs; \ |
22 | rm -f $(TMP_DIR)/test.*; touch $(TMP_DIR)/test.fs; \ |
|
23 | test ! -f $(TMP_DIR)/test.FS)) |
23 | test ! -f $(TMP_DIR)/test.FS)) |
|
Line 24... | Line 24... | |||
24 | |
24 | |
|
25 | $(eval $(call TestHostCommand,proper-umask, \ |
25 | $(eval $(call TestHostCommand,proper-umask, \ |
|
26 | Please build with umask 022 - other values produce broken packages, \ |
26 | Please build with umask 022 - other values produce broken packages, \ |
|
Line 27... | Line 27... | |||
27 | umask | grep -xE 0?0[012][012])) |
27 | umask | grep -xE 00[012][012])) |
|
28 | |
28 | |
|
29 | $(eval $(call SetupHostCommand,gcc, \ |
29 | $(eval $(call SetupHostCommand,gcc, \ |
|
30 | Please install the GNU C Compiler (gcc) 4.8 or later, \ |
30 | Please install the GNU C Compiler (gcc) 4.8 or later \ |
|
31 | $(CC) -dumpversion | grep -E '^(4\.[8-9]|[5-9]\.?)', \ |
31 | $(CC) -dumpversion | grep -E '^(4\.[8-9]|[5-9]\.?)', \ |
|
32 | gcc -dumpversion | grep -E '^(4\.[8-9]|[5-9]\.?)', \ |
32 | gcc -dumpversion | grep -E '^(4\.[8-9]|[5-9]\.?)', \ |
|
33 | gcc48 --version | grep gcc, \ |
33 | gcc48 --version | grep gcc, \ |
|
Line 44... | Line 44... | |||
44 | it appears to be broken, \ |
44 | it appears to be broken, \ |
|
45 | echo 'int main(int argc, char **argv) { return 0; }' | \ |
45 | echo 'int main(int argc, char **argv) { return 0; }' | \ |
|
46 | gcc -x c -o $(TMP_DIR)/a.out -)) |
46 | gcc -x c -o $(TMP_DIR)/a.out -)) |
|
Line 47... | Line 47... | |||
47 | |
47 | |
|
48 | $(eval $(call SetupHostCommand,g++, \ |
48 | $(eval $(call SetupHostCommand,g++, \ |
|
49 | Please install the GNU C++ Compiler (g++) 4.8 or later, \ |
49 | Please install the GNU C++ Compiler (g++) 4.8 or later \ |
|
50 | $(CXX) -dumpversion | grep -E '^(4\.[8-9]|[5-9]\.?)', \ |
50 | $(CXX) -dumpversion | grep -E '^(4\.[8-9]|[5-9]\.?)', \ |
|
51 | g++ -dumpversion | grep -E '^(4\.[8-9]|[5-9]\.?)', \ |
51 | g++ -dumpversion | grep -E '^(4\.[8-9]|[5-9]\.?)', \ |
|
52 | g++48 --version | grep g++, \ |
52 | g++48 --version | grep g++, \ |
|
53 | g++49 --version | grep g++, \ |
53 | g++49 --version | grep g++, \ |
|
Line 136... | Line 136... | |||
136 | bzip2 --version </dev/null)) |
136 | bzip2 --version </dev/null)) |
|
Line 137... | Line 137... | |||
137 | |
137 | |
|
138 | $(eval $(call SetupHostCommand,wget,Please install GNU 'wget', \ |
138 | $(eval $(call SetupHostCommand,wget,Please install GNU 'wget', \ |
|
Line -... | Line 139... | |||
- | 139 | wget --version | grep GNU)) |
||
- | 140 | |
||
- | 141 | $(eval $(call SetupHostCommand,time,Please install GNU 'time' or BusyBox 'time' that supports -f, \ |
||
- | 142 | gtime --version 2>&1 | grep GNU, \ |
||
- | 143 | time --version 2>&1 | grep GNU, \ |
||
139 | wget --version | grep GNU)) |
144 | busybox time 2>&1 | grep -- '-f FMT')) |
|
140 | |
145 | |
|
Line 141... | Line 146... | |||
141 | $(eval $(call SetupHostCommand,perl,Please install Perl 5.x, \ |
146 | $(eval $(call SetupHostCommand,perl,Please install Perl 5.x, \ |
|
142 | perl --version | grep "perl.*v5")) |
147 | perl --version | grep "perl.*v5")) |