add peripherals makefile template
[pinmux.git] / src / bsv / pinmux_generator.py
index 9890f3f007514596009e5e75cfd278c79800eac0..fbe19736ec6e02ccd6081bcf08a801637ac380e0 100644 (file)
@@ -74,6 +74,8 @@ def pinmuxgen(pth=None, verify=True):
     # copy over template and library files
     shutil.copyfile(os.path.join(cwd, 'Makefile.template'),
                     os.path.join(bp, 'Makefile'))
+    shutil.copyfile(os.path.join(cwd, 'Makefile.peripherals.template'),
+                    os.path.join(bp, 'Makefile.peripherals'))
     cwd = os.path.join(cwd, 'bsv_lib')
     for fname in []:
         shutil.copyfile(os.path.join(cwd, fname),