From 50771d41f2df6c16dfde17286971d416b4c4f3bf Mon Sep 17 00:00:00 2001 From: James Zern Date: Fri, 22 Feb 2013 16:03:40 -0800 Subject: [PATCH] rtcd: make include guard unique prior numbers were removed resulting in the same include guard for vp[89]_rtcd Change-Id: If2741e5b0cbdda7390c20e865e9f05992caff93e --- build/make/rtcd.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build/make/rtcd.sh b/build/make/rtcd.sh index c79bf9b..6cc3684 100755 --- a/build/make/rtcd.sh +++ b/build/make/rtcd.sh @@ -196,8 +196,9 @@ filter() { # Helper functions for generating the arch specific RTCD files # common_top() { - outfile_basename=$(basename ${symbol:-rtcd.h}) - include_guard=$(echo $outfile_basename | tr '[a-z]' '[A-Z]' | tr -c '[A-Z]' _) + outfile_basename=$(basename ${symbol:-rtcd}) + include_guard=$(echo $outfile_basename | tr '[a-z]' '[A-Z]' | \ + tr -c '[A-Z0-9]' _)H_ cat <