Compare commits
2 commits
504d270947
...
86ba43a25b
Author | SHA1 | Date | |
---|---|---|---|
86ba43a25b | |||
12f5ba0897 |
2 changed files with 3 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -10,3 +10,4 @@
|
||||||
!init.sh
|
!init.sh
|
||||||
/fceux-am
|
/fceux-am
|
||||||
/nvboard
|
/nvboard
|
||||||
|
/am-kernels
|
||||||
|
|
|
@ -40,7 +40,9 @@ SRCS-y += $(shell find -L $(DIRS-y) -name "*.c")
|
||||||
SRCS = $(filter-out $(SRCS-BLACKLIST-y),$(SRCS-y))
|
SRCS = $(filter-out $(SRCS-BLACKLIST-y),$(SRCS-y))
|
||||||
|
|
||||||
# Extract compiler and options from menuconfig
|
# Extract compiler and options from menuconfig
|
||||||
|
ifneq ($(CONFIG_CC),)
|
||||||
CC = $(call remove_quote,$(CONFIG_CC))
|
CC = $(call remove_quote,$(CONFIG_CC))
|
||||||
|
endif
|
||||||
CFLAGS_BUILD += $(call remove_quote,$(CONFIG_CC_OPT))
|
CFLAGS_BUILD += $(call remove_quote,$(CONFIG_CC_OPT))
|
||||||
CFLAGS_BUILD += $(if $(CONFIG_CC_LTO),-flto,)
|
CFLAGS_BUILD += $(if $(CONFIG_CC_LTO),-flto,)
|
||||||
CFLAGS_BUILD += $(if $(CONFIG_CC_DEBUG),-Og -ggdb3,)
|
CFLAGS_BUILD += $(if $(CONFIG_CC_DEBUG),-Og -ggdb3,)
|
||||||
|
|
Loading…
Reference in a new issue