OpenCores
URL https://opencores.org/ocsvn/neorv32/neorv32/trunk

Subversion Repositories neorv32

[/] [neorv32/] [trunk/] [sw/] [example/] [demo_twi/] [makefile] - Diff between revs 2 and 6

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 2 Rev 6
Line 80... Line 80...
# Marker file to verify NEORV32 home folder
# Marker file to verify NEORV32 home folder
NEORV32_HOME_MARKER=$(NEORV32_INC_PATH)/neorv32.h
NEORV32_HOME_MARKER=$(NEORV32_INC_PATH)/neorv32.h
 
 
 
 
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# Add NEORV32 sources to input SRCs
# NEORV32 core sources
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
APP_SRC += $(wildcard $(NEORV32_SRC_PATH)/*.c)
CORE_SRC = $(wildcard $(NEORV32_SRC_PATH)/*.c)
 
 
 
 
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# Make defaults
# Make defaults
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
.SUFFIXES:
 
.PHONY: all
 
.DEFAULT_GOAL := help
.DEFAULT_GOAL := help
 
 
 
 
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# Application output definitions
# Application output definitions
Line 105... Line 103...
install: $(APP_ASM) neorv32_application_image.vhd
install: $(APP_ASM) neorv32_application_image.vhd
all:     $(APP_ASM) $(APP_EXE) neorv32_application_image.vhd
all:     $(APP_ASM) $(APP_EXE) neorv32_application_image.vhd
 
 
# define all object files
# define all object files
OBJ = $(APP_SRC:.c=.o)
OBJ = $(APP_SRC:.c=.o)
 
OBJ += $(CORE_SRC:.c=.o)
 
 
 
 
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# Tools and flags
# Tools and flags
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
Line 257... Line 256...
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# Show configuration
# Show configuration
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
info:
info:
        @echo "---------------- Info: Project ----------------"
        @echo "---------------- Info: Project ----------------"
        @echo "Project: $(shell basename $(CURDIR))"
        @echo "Project folder:    $(shell basename $(CURDIR))"
        @echo "Project source files: $(APP_SRC)"
        @echo "Source files:      $(APP_SRC)"
        @echo "Project include folders: $(NEORV32_INC_PATH) $(APP_INC)"
        @echo "Include folder(s): $(APP_INC)"
        @echo "Project object files: $(OBJ)"
 
        @echo "---------------- Info: NEORV32 ----------------"
        @echo "---------------- Info: NEORV32 ----------------"
        @echo "NEORV32 home folder (NEORV32_HOME): $(NEORV32_HOME)"
        @echo "NEORV32 home folder (NEORV32_HOME): $(NEORV32_HOME)"
        @echo "IMAGE_GEN: $(IMAGE_GEN)"
        @echo "IMAGE_GEN: $(IMAGE_GEN)"
 
        @echo "Core source files:"
 
        @echo "$(CORE_SRC)"
 
        @echo "Core include folder:"
 
        @echo "$(NEORV32_INC_PATH)"
 
        @echo "Project object files:"
 
        @echo "$(OBJ)"
        @echo "---------------- Info: RISC-V CPU ----------------"
        @echo "---------------- Info: RISC-V CPU ----------------"
        @echo "MARCH:     $(MARCH)"
        @echo "MARCH:     $(MARCH)"
        @echo "MABI:      $(MABI)"
        @echo "MABI:      $(MABI)"
        @echo "---------------- Info: RISC-V Toolchain ----------------"
        @echo "---------------- Info: RISC-V Toolchain ----------------"
        @echo "Toolchain: $(RISCV_TOLLCHAIN)"
        @echo "Toolchain: $(RISCV_TOLLCHAIN)"

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.