Rework kopts
This commit is contained in:
@@ -652,12 +652,6 @@ fromSource() {
|
|||||||
config_opts+=("CONFIG_IB=n")
|
config_opts+=("CONFIG_IB=n")
|
||||||
config_opts+=("CONFIG_MAKE_TOOLCHAIN=n")
|
config_opts+=("CONFIG_MAKE_TOOLCHAIN=n")
|
||||||
|
|
||||||
# Write options to config seed file
|
|
||||||
for opt in "${config_opts[@]}"; do
|
|
||||||
debug "Writing $opt to $seed_file"
|
|
||||||
echo "$opt" >> "$seed_file"
|
|
||||||
done
|
|
||||||
|
|
||||||
# Cleaning modes
|
# Cleaning modes
|
||||||
# make clean # compiled output
|
# make clean # compiled output
|
||||||
# make targetclean # compiled output, toolchain
|
# make targetclean # compiled output, toolchain
|
||||||
@@ -667,6 +661,13 @@ fromSource() {
|
|||||||
# Make image
|
# Make image
|
||||||
(( DEBUG )) && make_opts+=("V=s")
|
(( DEBUG )) && make_opts+=("V=s")
|
||||||
execute make "${make_opts[@]}" defconfig
|
execute make "${make_opts[@]}" defconfig
|
||||||
|
|
||||||
|
# Write options to config seed file
|
||||||
|
for opt in "${config_opts[@]}"; do
|
||||||
|
debug "Writing $opt to $seed_file"
|
||||||
|
echo "$opt" >> "$seed_file"
|
||||||
|
done
|
||||||
|
|
||||||
execute make "${make_opts[@]}" dirclean
|
execute make "${make_opts[@]}" dirclean
|
||||||
execute make "${make_opts[@]}" download
|
execute make "${make_opts[@]}" download
|
||||||
#execute make -f Makefile.aperl inst_perl MAP_TARGET=perl
|
#execute make -f Makefile.aperl inst_perl MAP_TARGET=perl
|
||||||
|
|||||||
Reference in New Issue
Block a user