summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorZheng Bao <fishbaozi@gmail.com>2012-09-28 19:38:37 +0800
committerPatrick Georgi <patrick@georgi-clan.de>2012-09-28 14:46:37 +0200
commit533bca80ed6d2b1f1947f10926b5a7415b1c3359 (patch)
treef75ace931594416b020b696e708d717dee63f138 /util
parent82867d3ed0f42267038b3a34009c6dd5b5be696c (diff)
downloadcoreboot-533bca80ed6d2b1f1947f10926b5a7415b1c3359.tar.xz
lint: Add template for mktemp to meet BSD requirements
Change-Id: I86cecf6aee1fcb682cb32bd0f03e014fd1afe594 Signed-off-by: Zheng Bao <zheng.bao@amd.com> Signed-off-by: Zheng Bao <fishbaozi@gmail.com> Reviewed-on: http://review.coreboot.org/1549 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'util')
-rwxr-xr-xutil/lint/lint-001-no-global-config-in-romstage2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/lint/lint-001-no-global-config-in-romstage b/util/lint/lint-001-no-global-config-in-romstage
index 0c6f403194..4b1d3170ce 100755
--- a/util/lint/lint-001-no-global-config-in-romstage
+++ b/util/lint/lint-001-no-global-config-in-romstage
@@ -19,7 +19,7 @@
# DESCR: Check that no symbol #defined in any romstage.c is used elsewhere
DEFINES=`grep "#define" src/mainboard/*/*/romstage.c |sed 's,.*#define[\t ]\([^\t ]*\)[\t ].*,\1,' | grep -v "(" | sort -u`
-SCANBUCKET=`mktemp`
+SCANBUCKET=`mktemp .tmpconfig.lint001XXXXX`
LC_ALL=C export LC_ALL
find src -name .svn -type d -prune -o -name mainboard -type d -prune -o -name examples -type d -prune -o -type f -exec sed -nf `dirname $0`/remccoms3.sed {} + > $SCANBUCKET