dump all
This commit is contained in:
13
Makefile
13
Makefile
@@ -25,12 +25,11 @@ OUT_DIR = ./out
|
||||
|
||||
TARGET := $(APP)_$(ARCH)_core$(CORE)
|
||||
TARGET_DIR := $(SRC_DIR)/APP/$(APP)/$(ARCH)/core$(CORE)/
|
||||
$(info TARGET_DIR : ${TARGET_DIR})
|
||||
|
||||
OBJ_DIR = ./$(OUT_DIR)/$(TARGET)
|
||||
|
||||
# Load specific config for compiler, linker, ...
|
||||
include $(TARGET_DIR)/build/config.mk
|
||||
-include $(TARGET_DIR)/build/config.mk
|
||||
|
||||
#Output files: elf, map and list-file
|
||||
EXECUTABLE=$(OBJ_DIR)/../$(TARGET).elf
|
||||
@@ -43,13 +42,11 @@ LDSCRIPT = -T$(TARGET_DIR)/linker/lscript.ld
|
||||
endif
|
||||
|
||||
#Include source-files:
|
||||
$(info TARGET_DIR : ${TARGET_DIR})
|
||||
INC = -I.
|
||||
include $(TARGET_DIR)/build/includes.mk
|
||||
|
||||
SRC =
|
||||
include $(TARGET_DIR)/build/sources.mk
|
||||
-include $(TARGET_DIR)/build/sources.mk
|
||||
|
||||
INC = -I./
|
||||
-include $(TARGET_DIR)/build/includes.mk
|
||||
|
||||
# C source files
|
||||
CFILES = $(filter %.c, $(SRC))
|
||||
@@ -63,7 +60,7 @@ OBJ = $(SOBJ) $(COBJ)
|
||||
$(info CFILES : ${CFILES})
|
||||
|
||||
# Flags
|
||||
CFLAGS = $(MCFLAGS) $(DEBUG) $(OPTIMIZE) -MP -MMD -std=gnu11
|
||||
CFLAGS = $(MCFLAGS) $(DEBUG) $(OPTIMIZE) -MP -MMD -std=gnu11 -DGT_CPU_CYCLE_SCALE=1.33
|
||||
ASFLAGS = $(MCFLAGS) $(DEBUG) $(OPTIMIZE) -MP -MMD -x assembler-with-cpp
|
||||
ODFLAGS = --source --all-headers --demangle --line-numbers --wide
|
||||
|
||||
|
||||
Reference in New Issue
Block a user