#!/bin/bash ###################################################### # Author : # Contact : # # Some functions called from makenemo # Fdef_keys : define keys in cpp.fcm file ###################################################### #set -x set -o posix #set -u #set -e #+ # # ================ # Fdef_keys.sh # ================ # # -------------------------- # Add compilation keys # -------------------------- # # SYNOPSIS # ======== # # :: # # $ Fdef_keys.sh CONFIG_NAME def_key "LIST_KEYS" # # # DESCRIPTION # =========== # # # define cpp keys when compiling a configuration, key list has to be enclosed with " ". # # EXAMPLES # ======== # # :: # # $ ./Fdef_keys.sh CONFIG_NAME def_key "key_agrif" # # # TODO # ==== # # option debug # # # EVOLUTIONS # ========== # # # * creation # #- echo "Defining keys in : ${NEW_CONF}" echo " bld::tool::fppkeys ${list_def_key}" > ${CONFIG_DIR}/${NEW_CONF}/cpp_${NEW_CONF}.fcm unset -v list_def_key