mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-11-18 08:54:44 +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
|
#else
|
||||||
|
|
||||||
pos_freq_domains[PI_FREQ_DOMAIN_CL] = PERIPH_FREQUENCY;
|
pos_freq_domains[PI_FREQ_DOMAIN_CL] = ARCHI_FPGA_FREQUENCY;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ void pos_soc_init()
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
pos_freq_domains[PI_FREQ_DOMAIN_CL] = PERIPH_FREQUENCY;
|
pos_freq_domains[PI_FREQ_DOMAIN_CL] = ARCHI_FPGA_FREQUENCY;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,7 @@ VPATH = $(PULPRT_HOME)
|
||||||
|
|
||||||
include $(PULPRT_HOME)/rules/pulpos/src.mk
|
include $(PULPRT_HOME)/rules/pulpos/src.mk
|
||||||
|
|
||||||
|
PULP_CFLAGS += $(PULPRT_CONFIG_CFLAGS)
|
||||||
PULP_CFLAGS += -fno-jump-tables -fno-tree-loop-distribute-patterns
|
PULP_CFLAGS += -fno-jump-tables -fno-tree-loop-distribute-patterns
|
||||||
|
|
||||||
ifeq '$(CONFIG_LIBC_MINIMAL)' '1'
|
ifeq '$(CONFIG_LIBC_MINIMAL)' '1'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue