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
|
@ -856,23 +856,12 @@ bootable_Makefiles() { #
|
|||
|
||||
# A little housekeeping on the scripts
|
||||
case $this_script in
|
||||
*grub*) continue ;;
|
||||
*kernel)
|
||||
# if there is no kernel config file do not build the kernel
|
||||
*grub*) continue ;;
|
||||
*kernel) # if there is no kernel config file do not build the kernel
|
||||
[[ -z $CONFIG ]] && continue
|
||||
# Copy the config file to /sources with a standardized name
|
||||
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
|
||||
#
|
||||
# First append each name of the script files to a list (this will become
|
||||
|
|
Reference in a new issue