Implement an idea from Sam Leffler:
make KERNFAST=blah buildkernel is now a short cut for make KERNCONF=blah -DKERNFAST buildkernel This change works for all kernel config files not named "1". I did that to make sure that make -DKERNFAST buildkernel remains the same as make -DKERNFAST KERNCONF=GENERIC buildkernel rather than trying to build and configure "1". I've never seen a kernel config file named "1," so I think this is a good compromise.
This commit is contained in:
parent
a5985e8b56
commit
b61a9dcf3f
@ -702,6 +702,10 @@ distrib-dirs distribution:
|
|||||||
NO_KERNELCLEAN= t
|
NO_KERNELCLEAN= t
|
||||||
NO_KERNELCONFIG= t
|
NO_KERNELCONFIG= t
|
||||||
NO_KERNELDEPEND= t
|
NO_KERNELDEPEND= t
|
||||||
|
# Shortcut for KERNCONF=Blah -DKERNFAST is now KERNFAST=Blah
|
||||||
|
.if !defined(KERNCONF) && ${KERNFAST} != "1"
|
||||||
|
KERNCONF=${KERNFAST}
|
||||||
|
.endif
|
||||||
.endif
|
.endif
|
||||||
.if !defined(KERNCONF) && defined(KERNEL)
|
.if !defined(KERNCONF) && defined(KERNEL)
|
||||||
KERNCONF= ${KERNEL}
|
KERNCONF= ${KERNEL}
|
||||||
|
Loading…
Reference in New Issue
Block a user