- Timestamp:
- 03/10/2006 01:55:19 PM (19 years ago)
- Branches:
- experimental
- Children:
- 1ce084e
- Parents:
- 12a5707
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CLFS/master.sh
r12a5707 r4845f38 372 372 *whatnext*) continue ;; 373 373 *settingenvironment*) sed 's@PS1=@set +h\nPS1=@' -i $file ;; 374 *kernel) 375 sed "s|make mrproper|make mrproper\ncp $CONFIG .config|" -i $file 376 # You cannot run menuconfig from within the makefile 377 sed 's|menuconfig|oldconfig|' -i $file 378 #If defined include the keymap in the kernel 379 if [[ -n "$KEYMAP" ]]; then 380 sed "s|^loadkeys -m.*>|loadkeys -m $KEYMAP >|" -i $file 381 else 382 sed '/loadkeys -m/d' -i $file 383 sed '/drivers\/char/d' -i $file 384 fi 385 # if there is no kernel config file do not build the kernel 386 [[ -z $CONFIG ]] && continue 374 *kernel) # if there is no kernel config file do not build the kernel 375 [[ -z $CONFIG ]] && continue 376 sed "s|make mrproper|make mrproper\ncp $CONFIG .config|" -i $file 377 # You cannot run menuconfig from within the makefile 378 sed 's|menuconfig|oldconfig|' -i $file 379 #If defined include the keymap in the kernel 380 if [[ -n "$KEYMAP" ]]; then 381 sed "s|^loadkeys -m.*>|loadkeys -m $KEYMAP >|" -i $file 382 else 383 sed '/loadkeys -m/d' -i $file 384 sed '/drivers\/char/d' -i $file 385 fi 387 386 ;; 388 387 esac … … 1018 1017 *grub*) continue ;; 1019 1018 *kernel) 1019 # if there is no kernel config file do not build the kernel 1020 [[ -z $CONFIG ]] && continue 1020 1021 sed "s|make mrproper|make mrproper\ncp $CONFIG .config|" -i $file 1021 1022 # You cannot run menuconfig from within the makefile … … 1028 1029 sed '/drivers\/char/d' -i $file 1029 1030 fi 1030 # if there is no kernel config file do not build the kernel1031 [[ -z $CONFIG ]] && continue1032 1031 ;; 1033 1032 esac … … 1098 1097 case $this_script in 1099 1098 *grub*) continue ;; 1100 *kernel) cfg_file="/sources/`basename $CONFIG`" 1099 *kernel) 1100 # if there is no kernel config file do not build the kernel 1101 [[ -z $CONFIG ]] && continue 1102 cfg_file="/sources/`basename $CONFIG`" 1101 1103 sed "s|make mrproper|make mrproper\ncp $cfg_file .config|" -i $file 1102 1104 # You cannot run menuconfig from within the makefile … … 1109 1111 sed '/drivers\/char/d' -i $file 1110 1112 fi 1111 # if there is no kernel config file do not build the kernel1112 [[ -z $CONFIG ]] && continue1113 1113 ;; 1114 1114 esac
Note:
See TracChangeset
for help on using the changeset viewer.