Line 116... |
Line 116... |
|
|
OR32_CFLAGS ?=-g -nostdlib -O2 $(MARCH_FLAGS) \
|
OR32_CFLAGS ?=-g -nostdlib -O2 $(MARCH_FLAGS) \
|
$(INCLUDE_FLAGS) \
|
$(INCLUDE_FLAGS) \
|
-I$(SW_ROOT)/lib/include \
|
-I$(SW_ROOT)/lib/include \
|
|
|
|
|
OR32_LDFLAGS ?=-L$(SW_ROOT)/lib -lorpsoc -lgcc -T$(CPU_DRIVER)/link.ld -e 256
|
OR32_LDFLAGS ?=-L$(SW_ROOT)/lib -lorpsoc -lgcc -T$(CPU_DRIVER)/link.ld -e 256
|
OR32_ARFLAGS ?=-r
|
OR32_ARFLAGS ?=-r
|
# RTL_VERILOG_INCLUDE_DIR *MUST* be set!
|
# RTL_VERILOG_INCLUDE_DIR *MUST* be set!
|
# Backup one - default, but may be wrong!
|
# Backup one - default, but may be wrong!
|
RTL_VERILOG_INCLUDE_DIR ?= $(SW_ROOT)/../rtl/verilog/include
|
RTL_VERILOG_INCLUDE_DIR ?= $(SW_ROOT)/../rtl/verilog/include
|
Line 235... |
Line 234... |
print-sw-tests-subdirs:
|
print-sw-tests-subdirs:
|
$(Q)echo; echo "\tSoftware tests subdirs"; echo;
|
$(Q)echo; echo "\tSoftware tests subdirs"; echo;
|
$(Q)echo $(SW_TESTS_SUBDIRS); echo
|
$(Q)echo $(SW_TESTS_SUBDIRS); echo
|
|
|
# This relies on the local clean rule of each makefile
|
# This relies on the local clean rule of each makefile
|
clean-all: clean
|
distclean: clean
|
$(Q)for testssubdir in $(SW_TESTS_SUBDIRS); do $(MAKE) -C $$testssubdir clean; done
|
$(Q)for testssubdir in $(SW_TESTS_SUBDIRS); do $(MAKE) -C $$testssubdir clean; done
|
$(Q)for dir in $(SW_DRIVER_PATHS); do $(MAKE) -C $$dir clean; done
|
$(Q)for dir in $(SW_DRIVER_PATHS); do $(MAKE) -C $$dir clean; done
|
$(Q)for dir in `ls $(SW_APPS_PATH)`; do $(MAKE) -C $(SW_ROOT)/apps/$$dir clean; done
|
$(Q)for dir in `ls $(SW_APPS_PATH)`; do $(MAKE) -C $(SW_ROOT)/apps/$$dir clean; done
|
$(Q)for dir in `ls $(SW_APPS_PATH)`; do $(MAKE) -C $(SW_ROOT)/apps/$$dir clean; done
|
$(Q)for dir in `ls $(SW_APPS_PATH)`; do $(MAKE) -C $(SW_ROOT)/apps/$$dir clean; done
|
$(Q)$(MAKE) -C $(SW_ROOT)/lib clean
|
$(Q)$(MAKE) -C $(SW_ROOT)/lib clean
|