| 24 | | # Uncomment the third line on SMP systems if the magic invocation fails. |
| 25 | | SMP := $(shell if grep -q '^SMP[[:space:]]*=' /usr/src/linux/Makefile; then echo 1; else echo 0; fi) |
| | 24 | # Uncomment the third line on SMP systems if the magic invocation fails. It |
| | 25 | # is a bit complicated because SMP configuration changed around kernel 2.1.130 |
| | 26 | SMP := $(shell if grep -q '^SMP[[:space:]]*=' /usr/src/linux/Makefile || \ |
| | 27 | grep -q '^CONFIG_SMP=y' /usr/src/linux/.config ; \ |
| | 28 | then echo 1; else echo 0; fi) |