13 lines
288 B
Bash
13 lines
288 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
HOSTCFLAGS="$CFLAGS" \
|
||
|
HOSTLDFLAGS="$LDFLAGS" \
|
||
|
make -j$(nproc) menuconfig
|
||
|
|
||
|
## explanation
|
||
|
#
|
||
|
# HOSTCFLAGS HOSTLDFLAGS:
|
||
|
# the linux kernel build process uses these rather than CFLAGS and LDFLAGS.
|
||
|
#
|
||
|
# menuconfig: ncurses-based configuration. other modes are also available.
|