aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/ic_reg_maps/gen_adf4360_regs.py
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-04-19 23:48:00 -0700
committerJosh Blum <josh@joshknows.com>2010-04-19 23:48:00 -0700
commit6b015b1c517733e85cb0c08a379e8d20377bf2fa (patch)
tree4c94d069b809bf7ad1f8aaf95542b7cbbdc6e4dc /host/lib/ic_reg_maps/gen_adf4360_regs.py
parent97b288f7d3ee0fc0fd596f6ba454cf07304474e0 (diff)
downloaduhd-6b015b1c517733e85cb0c08a379e8d20377bf2fa.tar.gz
uhd-6b015b1c517733e85cb0c08a379e8d20377bf2fa.tar.bz2
uhd-6b015b1c517733e85cb0c08a379e8d20377bf2fa.zip
added comments to cmakelists, makedir in file generation script so python doesnt have to
Diffstat (limited to 'host/lib/ic_reg_maps/gen_adf4360_regs.py')
-rwxr-xr-xhost/lib/ic_reg_maps/gen_adf4360_regs.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/host/lib/ic_reg_maps/gen_adf4360_regs.py b/host/lib/ic_reg_maps/gen_adf4360_regs.py
index f82e8c7c5..c659766dc 100755
--- a/host/lib/ic_reg_maps/gen_adf4360_regs.py
+++ b/host/lib/ic_reg_maps/gen_adf4360_regs.py
@@ -19,7 +19,6 @@
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
-import os
import sys
from common import *
@@ -123,5 +122,4 @@ struct adf4360_regs_t{
if __name__ == '__main__':
regs = map(reg, parse_tmpl(REGS_DATA_TMPL).splitlines())
- safe_makedirs(os.path.dirname(sys.argv[1]))
open(sys.argv[1], 'w').write(parse_tmpl(HEADER_TEXT, regs=regs, file=__file__))