-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dual-license XML files BSD-2-Clause and CC-BY-4.0 #968
Changes from 5 commits
aef8d34
190e47f
b59d303
5b9d354
d14e1f3
67201c5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,14 +70,9 @@ build-registers: $(REGISTERS_ADOC) | |
../registers.py --adoc $@ --adoc-definitions $(patsubst %.adoc,%-def.adoc,$@) $< | ||
|
||
debug_defines: debug_defines.h debug_defines.c $(patsubst %,../xml/%,$(REGISTERS_ADOC:.adoc=.xml)) ../registers.py | ||
../registers.py $@ --cgetters $(filter %.xml, $^) | ||
|
||
debug_defines.%: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. By removing this make's target There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good point. Fixed. |
||
echo "/*" > $@ | ||
echo " * This file is auto-generated by running 'make debug_defines' in" >> $@ | ||
echo " * https://github.com/riscv/riscv-debug-spec/ (`git describe --always --dirty --exclude '*'`)" >> $@ | ||
echo " */" >> $@ | ||
echo >> $@ | ||
../registers.py $@ --cgetters $(filter %.xml, $^) \ | ||
--create "This file was auto-generated by running 'make debug_defines' in \ | ||
https://github.com/riscv/riscv-debug-spec/ (`git describe --always --dirty --exclude '*'`)" | ||
|
||
%.scala: ../xml/%.xml ../registers.py | ||
../registers.py --chisel $(basename $@).scala $< > /dev/null | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to remove the dependencies
debug_defines.h
anddebug_defines.c
because the files are not added anymore after line 75 has been removed