Add a module that wraps a Makefile into a module.
This commit is contained in:
parent
9e3137d0a8
commit
4a57c03bc3
7 changed files with 58 additions and 0 deletions
18
scripts/build.make.none/instantiate
Normal file
18
scripts/build.make.none/instantiate
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
if [ $# -ne 0 ]
|
||||
then
|
||||
print_failure "Too many arguments. None required for this module."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
do_parameter_subst
|
||||
add_config_option "CC" "${COPT_CC_DEFAULT}"
|
||||
add_config_option "CFLAGS" "${COPT_CFLAGS_DEFAULT}"
|
||||
add_config_option "BINDIR" "${COPT_BINDIR_DEFAULT}"
|
||||
add_config_option "LIBDIR" "${COPT_LIBDIR_DEFAULT}"
|
||||
add_config_option "INCLUDEDIR" "${COPT_INCLUDEDIR_DEFAULT}"
|
||||
add_config_option "FINALLIBDIR" "${COPT_FINALLIBDIR_DEFAULT}"
|
||||
add_config_option "FINALINCLUDEDIR" "${COPT_FINALINCLUDEDIR_DEFAULT}"
|
||||
true
|
||||
|
||||
# kate: replace-trailing-space-save true; space-indent true; tab-width 4;
|
||||
# vim: syntax=sh:expandtab:ts=4:sw=4
|
||||
Loading…
Add table
Add a link
Reference in a new issue