|
|
"${NV_SRC}"/Makefile.kbuild | "${NV_SRC}"/Makefile.kbuild |
| |
# If you set this then it's your own fault when stuff breaks :) | # If you set this then it's your own fault when stuff breaks :) |
use custom-cflags && sed -i "s:-O:${CFLAGS}:" Makefile.* |
use custom-cflags \ |
|
&& einfo "Patching ${NV_SRC}/Makefile* to respect custom cflags" \ |
|
&& sed -i "s:-O:${CFLAGS}:" "${NV_SRC}"/Makefile.* |
| |
# If greater than 2.6.5 use M= instead of SUBDIR= | # If greater than 2.6.5 use M= instead of SUBDIR= |
convert_to_m "${NV_SRC}"/Makefile.kbuild | convert_to_m "${NV_SRC}"/Makefile.kbuild |