Skip to content

Commit

Permalink
Merge pull request IObundle#135 from P-Miranda/build-lib
Browse files Browse the repository at this point in the history
fix(version): update LIB, generate version vh file
  • Loading branch information
jjts authored Sep 5, 2022
2 parents e331374 + df1a28b commit 308b000
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions hardware/hardware.mk
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ UART_INC_DIR:=$(UART_DIR)/hardware/include
UART_SRC_DIR:=$(UART_DIR)/hardware/src

#HEADERS

SRC+=$(BUILD_VSRC_DIR)/$(NAME)_version.vh
$(BUILD_VSRC_DIR)/$(NAME)_version.vh:
$(LIB_DIR)/software/python/version.py -v $(CORE_DIR)
mv $(NAME)_version.vh $(BUILD_VSRC_DIR)

SRC+=$(subst $(UART_INC_DIR), $(BUILD_VSRC_DIR), $(wildcard $(UART_INC_DIR)/*.vh))
$(BUILD_VSRC_DIR)/%.vh: $(UART_INC_DIR)/%.vh
cp $< $(BUILD_VSRC_DIR)
Expand Down
2 changes: 1 addition & 1 deletion submodules/LIB
Submodule LIB updated 2 files
+5 −8 setup.mk
+55 −32 software/python/version.py

0 comments on commit 308b000

Please sign in to comment.