how-lix-os-pkgs/linux-kernel/default/conf.sh

13 lines
288 B
Bash
Executable File

#!/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.