From 805ba0352e8a96dbf56c016d6b4406995328dd66 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 29 Dec 2010 16:29:44 -0800 Subject: uhd: use -B option on python to prevent generation of bytecode files --- host/lib/CMakeLists.txt | 2 +- host/lib/ic_reg_maps/.gitignore | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 host/lib/ic_reg_maps/.gitignore (limited to 'host/lib') diff --git a/host/lib/CMakeLists.txt b/host/lib/CMakeLists.txt index fa5d6b67b..498841561 100644 --- a/host/lib/CMakeLists.txt +++ b/host/lib/CMakeLists.txt @@ -55,7 +55,7 @@ MACRO(LIBUHD_PYTHON_GEN_SOURCE pyfile outfile) #make the outfile depend on the python script ADD_CUSTOM_COMMAND( OUTPUT ${outfile} DEPENDS ${pyfile} - COMMAND ${PYTHON_EXECUTABLE} ${pyfile} ${outfile} + COMMAND ${PYTHON_EXECUTABLE} -B ${pyfile} ${outfile} COMMENT "Generating ${outfile}" ) diff --git a/host/lib/ic_reg_maps/.gitignore b/host/lib/ic_reg_maps/.gitignore deleted file mode 100644 index 053049d05..000000000 --- a/host/lib/ic_reg_maps/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/*.pyc -/*.pyo -- cgit v1.2.3