mk: factorize config rules
mk: factorize config rules

Error message for missing template is factorized in notemplate rule.

RTE_OUTPUT directory is marked as order-only prerequisite.

RTE_OUTPUT is always created after having been cleaned for rte_config.h.

Signed-off-by: Thomas Monjalon <ee2fa8b2681c737f775687e475dcbf2028a412f1@6wind.com>
Acked-by Olivier Matz <olivier.matz@6wind.com>

tsphillips/dpdk-fork,john-mcnamara-intel/dpdk,venkynv/dpdk-mirror,venkynv/dpdk-mirror,venkynv/dpdk-mirror,msune/dpdk,mixja/dpdk,john-mcnamara-intel/dpdk,tsphillips/dpdk-fork,mixja/dpdk,tsphillips/dpdk-fork,mixja/dpdk,msune/dpdk,john-mcnamara-intel/dpdk,venkynv/dpdk-mirror,msune/dpdk,mixja/dpdk,john-mcnamara-intel/dpdk,tsphillips/dpdk-fork,msune/dpdk