mirror of
https://github.com/pine64/bl_iot_sdk.git
synced 2024-10-06 06:50:19 +00:00
3bc544d9f3
image_conf, make_scripts_riscv - Delete trailing spaces. Change tabs to 4 space multiples. .c and .h get tabs expanded to four spaces for consistency, traliing whitespace whacked. Makefiles do NOT get tabs changed.
20 lines
494 B
Makefile
20 lines
494 B
Makefile
|
|
# Component Makefile
|
|
#
|
|
COMPONENT_ADD_INCLUDEDIRS += config portable/GCC/RISC-V portable/GCC/RISC-V/chip_specific_extensions/RV32I_CLINT_no_extensions
|
|
|
|
COMPONENT_OBJS :=
|
|
|
|
COMPONENT_SRCDIRS :=
|
|
|
|
OPT_FLAG_G := $(findstring -Og, $(CFLAGS))
|
|
ifeq ($(strip $(OPT_FLAG_G)),-Og)
|
|
CFLAGS := $(patsubst -Og,-O2,$(CFLAGS))
|
|
endif
|
|
OPT_FLAG_S := $(findstring -Os, $(CFLAGS))
|
|
ifeq ($(strip $(OPT_FLAG_S)),-Os)
|
|
CFLAGS := $(patsubst -Os,-O2,$(CFLAGS))
|
|
endif
|
|
|
|
ASMFLAGS += -DportasmHANDLE_INTERRUPT=interrupt_entry
|