Skip to content

Commit

Permalink
mk/cfg: add .mk suffix on files to avoid "supprises" when backup file…
Browse files Browse the repository at this point in the history
…s (file~) are in the directory
  • Loading branch information
codyps committed Nov 19, 2014
1 parent 3e94144 commit 8581f00
Show file tree
Hide file tree
Showing 17 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,10 @@ CFG_PREFIX=${CFG_PREFIX%/}
CFG_MANDIR=${CFG_MANDIR%/}
CFG_HOST="$(echo $CFG_HOST | tr ',' ' ')"
CFG_TARGET="$(echo $CFG_TARGET | tr ',' ' ')"
CFG_SUPPORTED_TARGET="$(ls ${CFG_SRC_DIR}mk/cfg)"
CFG_SUPPORTED_TARGET=""
for target_file in ${CFG_SRC_DIR}mk/cfg/*.mk; do
CFG_SUPPORTED_TARGET="${CFG_SUPPORTED_TARGET} $(basename "$target_file" .mk)"
done

# copy host-triples to target-triples so that hosts are a subset of targets
V_TEMP=""
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion mk/platform.mk
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ $(foreach cvar,CC CXX CPP CFLAGS CXXFLAGS CPPFLAGS, \

CFG_RLIB_GLOB=lib$(1)-*.rlib

include $(wildcard $(CFG_SRC_DIR)mk/cfg/*)
include $(wildcard $(CFG_SRC_DIR)mk/cfg/*.mk)

# The -Qunused-arguments sidesteps spurious warnings from clang
define FILTER_FLAGS
Expand Down

0 comments on commit 8581f00

Please sign in to comment.