- Timestamp:
- 03/21/2006 01:25:20 PM (19 years ago)
- Branches:
- experimental
- Children:
- a9490ab
- Parents:
- b0976d2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CLFS/master.sh
rb0976d2 r0271c0c 217 217 *whatnext*) continue ;; 218 218 *settingenvironment*) sed 's@PS1=@set +h\nPS1=@' -i $file ;; 219 *kernel) # if there is no kernel config file do not build the kernel219 *kernel) # if there is no kernel config file do not build the kernel 220 220 [[ -z $CONFIG ]] && continue 221 sed "s|make mrproper|make mrproper\ncp $CONFIG .config|" -i $file 222 # You cannot run menuconfig from within the makefile 221 # Copy the config file to /sources with a standardized name 222 cp -v $CONFIG $BUILDDIR/sources/kernel-config 223 sed "s|make mrproper|make mrproper\ncp /sources/kernel-config .config|" -i $file 224 # You cannot run menuconfig from within the makefile 223 225 sed 's|menuconfig|oldconfig|' -i $file 224 #If defined include the keymap in the kernel226 #If defined include the keymap in the kernel 225 227 if [[ -n "$KEYMAP" ]]; then 226 228 sed "s|^loadkeys -m.*>|loadkeys -m $KEYMAP >|" -i $file … … 857 859 *grub*) continue ;; 858 860 *kernel) 859 # if there is no kernel config file do not build the kernel861 # if there is no kernel config file do not build the kernel 860 862 [[ -z $CONFIG ]] && continue 861 sed "s|make mrproper|make mrproper\ncp $CONFIG .config|" -i $file 862 # You cannot run menuconfig from within the makefile 863 # Copy the config file to /sources with a standardized name 864 cp -v $CONFIG $BUILDDIR/sources/kernel-config 865 sed "s|make mrproper|make mrproper\ncp /sources/kernel-config .config|" -i $file 866 # You cannot run menuconfig from within the makefile 863 867 sed 's|menuconfig|oldconfig|' -i $file 864 # If defined include the keymap in the kernel868 # If defined include the keymap in the kernel 865 869 if [[ -n "$KEYMAP" ]]; then 866 870 sed "s|^loadkeys -m.*>|loadkeys -m $KEYMAP >|" -i $file … … 938 942 *grub*) continue ;; 939 943 *kernel) 940 # if there is no kernel config file do not build the kernel944 # if there is no kernel config file do not build the kernel 941 945 [[ -z $CONFIG ]] && continue 942 cfg_file="/sources/`basename $CONFIG`" 943 sed "s|make mrproper|make mrproper\ncp $cfg_file .config|" -i $file 944 # You cannot run menuconfig from within the makefile 946 # Copy the named config file to /sources with a standardized name 947 cp -v $CONFIG $BUILDDIR/sources/kernel-config 948 sed "s|make mrproper|make mrproper\ncp ../kernel-config .config|" -i $file 949 # You cannot run menuconfig from within the makefile 945 950 sed 's|menuconfig|oldconfig|' -i $file 946 # If defined include the keymap in the kernel951 # If defined include the keymap in the kernel 947 952 if [[ -n "$KEYMAP" ]]; then 948 953 sed "s|^loadkeys -m.*>|loadkeys -m $KEYMAP >|" -i $file
Note:
See TracChangeset
for help on using the changeset viewer.