Skip to content

Commit

Permalink
Add application support Makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
norumwe12 committed Jul 22, 2022
1 parent b9b7a64 commit c645f1e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
22 changes: 22 additions & 0 deletions sup/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# adjust the following line to point to your git checkout of bedrock
BEDROCK_BASE ?= $(HOME)/src/Firmware/bedrock
include $(BEDROCK_BASE)/dir_list.mk

# Possibly common setup / configuration
include $(BUILD_DIR)/top_rules.mk

MERGED_FILE = badgerMerged.v

all: $(MERGED_FILE)

# Packet Badger synthesizable code
RTEFI_CLIENT_LIST = hello.v
include $(BADGER_DIR)/rules.mk

vpath %.v $(DSP_DIR) $(SERIAL_IO_DIR)

$(MERGED_FILE): $(RTEFI_V)
iverilog -E -o $@ $^

clean:
rm -f $(RTEFI_CLEAN) $(MERGED_FILE)
2 changes: 2 additions & 0 deletions sup/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This Makefile should be copied to an application firmware source directory.
It builds the 'rtefi_blob' required by the bantamweight firmware.

0 comments on commit c645f1e

Please sign in to comment.