aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorPierre Labastie <pierre@linuxfromscratch.org>2018-01-12 19:04:19 +0000
committerPierre Labastie <pierre@linuxfromscratch.org>2018-01-12 19:04:19 +0000
commitdc7fd7b7bafa287dad8dd54df9b4814ef6a9f16c (patch)
treea7e3e814bce27fa0b38cdcd5bc1fe9a20fc31be4 /common
parent5637b53ba7e9b53a598e0d43a102d45a8d4697bb (diff)
Add .la file removal to LFS and BLFS scripts
Diffstat (limited to 'common')
-rw-r--r--common/libs/func_book_parser2
-rw-r--r--common/libs/func_install_blfs1
-rw-r--r--common/libs/func_validate_configs.sh2
3 files changed, 4 insertions, 1 deletions
diff --git a/common/libs/func_book_parser b/common/libs/func_book_parser
index 16818ce46d..bb53e3123b 100644
--- a/common/libs/func_book_parser
+++ b/common/libs/func_book_parser
@@ -170,6 +170,8 @@ extract_commands() { #
--stringparam testsuite "$TEST" \
--stringparam bomb-testsuite "$BOMB_TEST" \
--stringparam vim-lang "$VIMLANG" \
+ --stringparam strip "$STRIP" \
+ --stringparam del-la-files "$DEL_LA_FILES" \
--stringparam full-locale "$FULL_LOCALE" \
--stringparam timezone "$TIMEZONE" \
--stringparam page "$PAGE" \
diff --git a/common/libs/func_install_blfs b/common/libs/func_install_blfs
index 9b3a583eab..d8ee93942d 100644
--- a/common/libs/func_install_blfs
+++ b/common/libs/func_install_blfs
@@ -131,6 +131,7 @@ MAIL_SERVER=sendmail
optDependency=2
SUDO=n
WRAP_INSTALL=$WRAP_INSTALL
+DEL_LA_FILES=$DEL_LA_FILES
EOF
# Generates the scripts for the blfs tools dependencies (in ./scripts)
diff --git a/common/libs/func_validate_configs.sh b/common/libs/func_validate_configs.sh
index 819758e482..9cf7ea7987 100644
--- a/common/libs/func_validate_configs.sh
+++ b/common/libs/func_validate_configs.sh
@@ -41,7 +41,7 @@ inline_doc
local -r CLFS3_book="$BOOK_common $BOOK_clfsX PLATFORM MIPS_LEVEL"
# Build Settings by book
- local -r LFS_build="$BUILD_chroot VIMLANG $BUILD_common PKGMNGT FULL_LOCALE WRAP_INSTALL"
+ local -r LFS_build="$BUILD_chroot VIMLANG DEL_LA_FILES $BUILD_common PKGMNGT FULL_LOCALE WRAP_INSTALL"
local -r HLFS_build="$BUILD_chroot $BUILD_common"
local -r CLFS_build="$BUILD_chroot VIMLANG $BUILD_common"
local -r CLFS2_build="STRIP VIMLANG $BUILD_common"