Skip console script also in LFS

This commit is contained in:
Manuel Canales Esparcia 2006-03-29 18:48:47 +00:00
parent 916a8e9d0a
commit 6b1576a0ee

View file

@ -75,7 +75,7 @@ chapter5_Makefiles() {
*dejagnu) [[ "${TEST}" = "0" ]] && continue ;;
*stripping) [[ "${STRIP}" = "0" ]] && continue ;;
esac
# First append each name of the script files to a list (this will become
# the names of the targets in the Makefile
chapter5="$chapter5 ${this_script}"
@ -221,6 +221,7 @@ chapter789_Makefiles() {
case ${this_script} in
*grub) continue ;;
*reboot) continue ;;
*console) continue ;; # Use the file generated by lfs-bootscripts
*kernel) [[ -z ${CONFIG} ]] && continue
cp ${CONFIG} $BUILDDIR/sources/kernel-config ;;
esac
@ -250,7 +251,7 @@ chapter789_Makefiles() {
wrt_unpack2 "$FILE"
;;
esac
# Check if we have a real /etc/fstab file
case "${this_script}" in
*fstab) if [[ -n $FSTAB ]]; then
@ -267,7 +268,7 @@ chapter789_Makefiles() {
*bootscripts) wrt_remove_build_dirs "dummy" ;;
*kernel) wrt_remove_build_dirs "dummy" ;;
esac
# Include a touch of the target name so make can check
# if it's already been made.
echo -e '\t@touch $@' >> $MKFILE.tmp