Skip to content

Commit

Permalink
Merge pull request IObundle#133 from JDLopes/build-lib
Browse files Browse the repository at this point in the history
fix setup and clean targets for build-dir
  • Loading branch information
jjts authored Sep 2, 2022
2 parents 70a9d61 + 802b36d commit d0d2db3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config_setup.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ SETUP_SIM=1
SETUP_FPGA=0
SETUP_DOC=0

# path to core from LIB
UART_DIR=../..
# path to core
UART_DIR=.
1 change: 1 addition & 0 deletions hardware/hardware.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ ifeq ($(filter UART, $(HW_MODULES)),)
HW_MODULES+=UART

#import lib hardware
include $(LIB_DIR)/hardware/include/hardware.mk
include $(LIB_DIR)/hardware/iob_reg/hardware.mk

UART_INC_DIR:=$(UART_DIR)/hardware/include
Expand Down
2 changes: 1 addition & 1 deletion software/software.mk
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ $(BUILD_SW_SRC_DIR)/iob_uart_swreg_emb.c: iob_uart_swreg_emb.c
cp $< $@

iob_uart_swreg.h iob_uart_swreg_emb.c: $(UART_DIR)/mkregs.conf
./software/python/mkregs.py $(NAME) $(UART_DIR) SW
$(LIB_DIR)/software/python/mkregs.py $(NAME) $(UART_DIR) SW

# PC emul sources
SRC+=$(BUILD_SW_SRC_DIR)/iob_uart_swreg_pc_emul.c
Expand Down
2 changes: 1 addition & 1 deletion submodules/LIB
Submodule LIB updated 2 files
+1 −0 build/Makefile
+8 −8 setup.mk

0 comments on commit d0d2db3

Please sign in to comment.