mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-05-14 20:48:09 +00:00
Added possibility to define extra cflags from command-line
This commit is contained in:
parent
ffefb9d339
commit
da4157a0e2
3 changed files with 4 additions and 3 deletions
|
|
@ -31,7 +31,7 @@ void pos_soc_init()
|
|||
|
||||
#else
|
||||
|
||||
pos_freq_domains[PI_FREQ_DOMAIN_CL] = PERIPH_FREQUENCY;
|
||||
pos_freq_domains[PI_FREQ_DOMAIN_CL] = ARCHI_FPGA_FREQUENCY;
|
||||
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,10 +25,10 @@ void pos_soc_init()
|
|||
pos_freq_domains[PI_FREQ_DOMAIN_FC] = pos_fll_init(POS_FLL_FC);
|
||||
|
||||
pos_freq_domains[PI_FREQ_DOMAIN_PERIPH] = pos_fll_init(POS_FLL_PERIPH);
|
||||
|
||||
|
||||
#else
|
||||
|
||||
pos_freq_domains[PI_FREQ_DOMAIN_CL] = PERIPH_FREQUENCY;
|
||||
pos_freq_domains[PI_FREQ_DOMAIN_CL] = ARCHI_FPGA_FREQUENCY;
|
||||
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@ VPATH = $(PULPRT_HOME)
|
|||
|
||||
include $(PULPRT_HOME)/rules/pulpos/src.mk
|
||||
|
||||
PULP_CFLAGS += $(PULPRT_CONFIG_CFLAGS)
|
||||
PULP_CFLAGS += -fno-jump-tables -fno-tree-loop-distribute-patterns
|
||||
|
||||
ifeq '$(CONFIG_LIBC_MINIMAL)' '1'
|
||||
|
|
|
|||
Loading…
Reference in a new issue