File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -139,6 +139,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS=\"${post_script_args}\"
139
139
if " $gem5 " ; then
140
140
printf " BR2_PACKAGE_GEM5=y\n" >> " ${config_file} "
141
141
fi
142
+ kernel_config_fragment_dir=../kernel_config_fragment
142
143
if [ -n " $linux_kernel_custom_config_file " ]; then
143
144
if [ -f " $linux_kernel_custom_config_file " ]; then
144
145
printf " BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\nBR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=\" ${linux_kernel_custom_config_file} \" \n" >> " $config_file "
@@ -151,13 +152,12 @@ BR2_ROOTFS_POST_SCRIPT_ARGS=\"${post_script_args}\"
151
152
fi
152
153
default_config_fragments=
153
154
else
154
- default_config_fragments=" ${d } /min ${d } /default"
155
+ default_config_fragments=" ${kernel_config_fragment_dir } /min ${kernel_config_fragment_dir } /default"
155
156
fi
156
- d=../kernel_config_fragment
157
157
printf " BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES=\" ${default_config_fragments} ${kernel_config_fragments} ${kernel_config_fragment_cli_file} \" \n" >> " $config_file "
158
158
if " ${linux_reconfigure} " ; then
159
159
# https://stackoverflow.com/questions/49260466/why-when-i-change-br2-linux-kernel-custom-config-file-and-run-make-linux-reconfi
160
- touch " ${d } /min"
160
+ touch " ${kernel_config_fragment_dir } /min"
161
161
fi
162
162
if [ " $arch " = ' mips64' ]; then
163
163
# Workaround for:
You can’t perform that action at this time.
0 commit comments