Bug 20

Summary: pinmux needs to auto-generate bsv Makefile
Product: Libre-SOC's first SoC Reporter: Luke Kenneth Casson Leighton <lkcl>
Component: SpecificationAssignee: Luke Kenneth Casson Leighton <lkcl>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: ---    
Version: unspecified   
Hardware: PC   
OS: Linux   
NLnet milestone: --- total budget (EUR) for completion of task and all subtasks: 0
budget (EUR) for this task, excluding subtasks' budget: 0 parent task for budget allocation:
child tasks for budget allocation: The table of payments (in EUR) for this task; TOML format:
Bug Depends on:    
Bug Blocks: 8    

Description Luke Kenneth Casson Leighton 2018-03-29 19:15:44 BST
adding things to the top-level Makefile is a sign that building
a per-class Makefile is needed.

--- a/Makefile
+++ b/Makefile
@@ -2,10 +2,10 @@
 
 TOP_MODULE:=mkbus
 TOP_FILE:=bus.bsv
-TOP_DIR:=./bsv_src/
+TOP_DIR:=./m_class/bsv_src/
 WORKING_DIR := $(shell pwd)
 
-BSVINCDIR:= .:%/Prelude:%/Libraries:%/Libraries/BlueNoC:./bsv_src:./src/bsv_lib
/
+BSVINCDIR:= .:%/Prelude:%/Libraries:%/Libraries/BlueNoC:./m_class/bsv_src:./src
/bsv/bsv_lib/
 default: gen_pinmux gen_verilog
 
 check-blue: