Skip to content

Commit

Permalink
sw: Revert sw changes for pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
CyrilKoe committed Nov 7, 2024
1 parent 2dc0c36 commit 26e761f
Show file tree
Hide file tree
Showing 15 changed files with 3 additions and 881 deletions.
4 changes: 1 addition & 3 deletions target/sim/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -433,9 +433,7 @@ PLATFORM_HEADERS += $(PLATFORM_HEADERS_DIR)/snitch_quad_peripheral.h
PLATFORM_HEADERS += $(PLATFORM_HEADERS_DIR)/snitch_hbm_xbar_peripheral.h
PLATFORM_HEADERS += $(PLATFORM_HEADERS_DIR)/idma.h

.PHONY: sw all-headers clean-headers clean-sw

all-headers: $(PLATFORM_HEADERS)
.PHONY: sw clean-headers clean-sw

sw: $(PLATFORM_HEADERS)
$(MAKE) -C sw/ all
Expand Down
1 change: 0 additions & 1 deletion target/sim/sw/device/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
# Add user applications to APPS variable
APPS = blas/axpy
APPS += blas/gemm
APPS += libomptarget_device

TARGET ?= all

Expand Down
5 changes: 0 additions & 5 deletions target/sim/sw/device/apps/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ BUILDDIR = $(abspath build)
# Dependencies
INCDIRS += $(RUNTIME_DIR)/src
INCDIRS += $(SNRT_DIR)/api
INCDIRS += $(SNRT_DIR)/api/omp
INCDIRS += $(SNRT_DIR)/src
INCDIRS += $(SNRT_DIR)/src/omp
INCDIRS += $(SNRT_DIR)/vendor/riscv-opcodes
INCDIRS += $(SW_DIR)/shared/platform/generated
INCDIRS += $(SW_DIR)/shared/platform
Expand Down Expand Up @@ -101,9 +99,6 @@ $(BUILDDIR):
$(DEP): $(SRCS) | $(BUILDDIR)
$(RISCV_CC) $(RISCV_CFLAGS) -MM -MT '$(ELF)' $< > $@

$(BUILDDIR)/%.o: $(SRC_DIR)/%.c | $(BUILDDIR)
$(RISCV_CC) $(RISCV_CFLAGS) -c $< -o $@

$(ELF): $(DEP) $(LD_SRCS) | $(BUILDDIR)
$(RISCV_CC) $(RISCV_CFLAGS) $(RISCV_LDFLAGS) $(SRCS) -o $@

Expand Down
32 changes: 0 additions & 32 deletions target/sim/sw/device/apps/libomptarget_device/Makefile

This file was deleted.

130 changes: 0 additions & 130 deletions target/sim/sw/device/apps/libomptarget_device/link.ld

This file was deleted.

77 changes: 0 additions & 77 deletions target/sim/sw/device/apps/libomptarget_device/src/debug.h

This file was deleted.

Loading

0 comments on commit 26e761f

Please sign in to comment.