diff options
author | Thomas Martitz <kugel@rockbox.org> | 2012-01-07 19:49:02 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2012-01-22 18:46:45 +0100 |
commit | 8e8e978de6b6283b66a6829fa8c5e3b94674ce7d (patch) | |
tree | a9b9e3dfe05653f44fdf9e51c214428371d52a31 /firmware/libc/random.c | |
parent | 3c17f28eca86ff3ee9e7cef6c4d5198c27b7c03c (diff) |
Add framework to let make automatically pick optimized asm implementations over generic C ones to firmware.
Example: for a file asm/foo.c, make will look for asm/arm/foo.[cS] and
compile it if found. If not found it'll fall back to asm/foo.c.
Also introduce new ARCH make variable. This is automatically detected by
configure. It is distinct from CPU since CPU defines the dir used for
the target tree (i.e. firmware/target/X, so it can be "hosted").
ARCH really has the target isa and can be x86 for sims/raaa too.
Change-Id: I18e5d2b7b7bbc2ad2be551a74a0fcae5ffbcbf8b
Diffstat (limited to 'firmware/libc/random.c')
0 files changed, 0 insertions, 0 deletions