CLFS/master.sh, removed kernel script manipulation- should be done via xsl
This commit is contained in:
parent
fcaf131658
commit
87b93b4831
1 changed files with 3 additions and 14 deletions
|
@ -857,21 +857,10 @@ bootable_Makefiles() { #
|
||||||
# A little housekeeping on the scripts
|
# A little housekeeping on the scripts
|
||||||
case $this_script in
|
case $this_script in
|
||||||
*grub*) continue ;;
|
*grub*) continue ;;
|
||||||
*kernel)
|
*kernel) # if there is no kernel config file do not build the kernel
|
||||||
# if there is no kernel config file do not build the kernel
|
|
||||||
[[ -z $CONFIG ]] && continue
|
[[ -z $CONFIG ]] && continue
|
||||||
# Copy the config file to /sources with a standardized name
|
# Copy the config file to /sources with a standardized name
|
||||||
cp $CONFIG $BUILDDIR/sources/kernel-config
|
cp $CONFIG $BUILDDIR/sources/kernel-config
|
||||||
sed "s|make mrproper|make mrproper\ncp /sources/kernel-config .config|" -i $file
|
|
||||||
# You cannot run menuconfig from within the makefile
|
|
||||||
sed 's|menuconfig|oldconfig|' -i $file
|
|
||||||
# If defined include the keymap in the kernel
|
|
||||||
if [[ -n "$KEYMAP" ]]; then
|
|
||||||
sed "s|^loadkeys -m.*>|loadkeys -m $KEYMAP >|" -i $file
|
|
||||||
else
|
|
||||||
sed '/loadkeys -m/d' -i $file
|
|
||||||
sed '/drivers\/char/d' -i $file
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
#
|
#
|
||||||
|
|
Reference in a new issue