rtcd: make include guard unique
prior numbers were removed resulting in the same include guard for vp[89]_rtcd Change-Id: If2741e5b0cbdda7390c20e865e9f05992caff93e
This commit is contained in:
parent
e4ef850823
commit
50771d41f2
@ -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 <<EOF
|
||||
#ifndef ${include_guard}
|
||||
#define ${include_guard}
|
||||
|
Loading…
Reference in New Issue
Block a user