| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| . "$mb_project_dir/sofort/cfgtest/cfgtest.sh" |
| |
| |
| for arg ; do |
| case "$arg" in |
| *) |
| error_msg ${arg#}: "unsupported config argument." |
| exit 2 |
| esac |
| done |
| |
| |
| cfgdefs_output_custom_defs() |
| { |
| cat "$mb_project_dir/project/config/cfgdefs.in" > cfgdefs.mk |
| } |
| |
| |
| cfgdefs_perform_common_tests() |
| { |
| |
| cfgtest_header_presence 'sys/syscall.h' |
| } |
| |
| |
| cfgdefs_perform_target_tests() |
| { |
| |
| cfgtest_newline |
| cfgtest_host_section |
| |
| |
| cfgdefs_perform_common_tests |
| |
| |
| cfgtest_newline |
| } |
| |
| |
| cfgdefs_output_custom_defs |
| |
| |
| set +e |
| |
| |
| cfgdefs_perform_target_tests |
| |
| |
| set -e |
| |
| |
| return 0 |