add make variable

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@16 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Brad House 21 years ago
parent 43a8e21946
commit 3c441a60f1

@ -29,6 +29,7 @@ usage() {
echo " --utils-cc=<compiler> Compiler to use for utils (e.g. busybox, modutils)" echo " --utils-cc=<compiler> Compiler to use for utils (e.g. busybox, modutils)"
echo " --utils-ld=<linker> Linker to use for utils" echo " --utils-ld=<linker> Linker to use for utils"
echo " --utils-as=<assembler> Assembler to use for utils" echo " --utils-as=<assembler> Assembler to use for utils"
echo " --make=<make prog> GNU Make to use"
echo " Internals" echo " Internals"
echo " --arch-override=<arch> Force to arch instead of autodetect (cross-compile?)" echo " --arch-override=<arch> Force to arch instead of autodetect (cross-compile?)"
echo " --busybox-config=<file> Busybox configuration file to use" echo " --busybox-config=<file> Busybox configuration file to use"
@ -76,6 +77,10 @@ parse_cmdline() {
CMD_UTILS_AS=`parse_opt "${x}"` CMD_UTILS_AS=`parse_opt "${x}"`
print_info 2 "CMD_UTILS_AS: $CMD_UTILS_AS" print_info 2 "CMD_UTILS_AS: $CMD_UTILS_AS"
;; ;;
--make*)
CMD_MAKE=`parse_opt "${x}"`
print_info 2 "CMD_MAKE: $CMD_MAKE"
;;
--debuglevel*) --debuglevel*)
CMD_DEBUGLEVEL=`parse_opt "${x}"` CMD_DEBUGLEVEL=`parse_opt "${x}"`

@ -28,6 +28,16 @@ determine_real_args() {
get_KV get_KV
if [ "${CMD_MAKE}" != "" ]
then
MAKE="${CMD_MAKE}"
fi
if [ "${MAKE}" = "" ]
then
MAKE="make"
fi
if [ "${CMD_KERNEL_CC}" != "" ] if [ "${CMD_KERNEL_CC}" != "" ]
then then
KERNEL_CC="${CMD_KERNEL_CC}" KERNEL_CC="${CMD_KERNEL_CC}"

@ -9,6 +9,8 @@ KERNEL_BINARY="arch/i386/boot/bzImage"
# other stuff seems to compile fine though # other stuff seems to compile fine though
USE_DIETLIBC=1 USE_DIETLIBC=1
MAKE=make
KERNEL_CC=gcc KERNEL_CC=gcc
KERNEL_AS=as KERNEL_AS=as
KERNEL_LD=ld KERNEL_LD=ld

@ -2,10 +2,13 @@
# x86_64/config.sh # x86_64/config.sh
KERNEL_MAKE="bzImage" KERNEL_MAKE="bzImage"
KERNEL_MAKE_2=""
KERNEL_BINARY="arch/x86_64/boot/bzImage" KERNEL_BINARY="arch/x86_64/boot/bzImage"
USE_DIETLIBC=1 USE_DIETLIBC=1
MAKE=make
KERNEL_CC=gcc KERNEL_CC=gcc
KERNEL_AS=as KERNEL_AS=as
KERNEL_LD=ld KERNEL_LD=ld

Loading…
Cancel
Save