6 Commits

Author SHA1 Message Date
Bernhard Nortmann
d5f5d5d1ad Makefile: Improve auto-detection of ARM cross compiler
This patch moves the scan for an ARM gcc into a separate shell
script. To prevent against recursion issues, the new script adds
"-maxdepth 1" to the find invocation; and it now also correctly
handles directories in $PATH that contain spaces in their name.

Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
2017-02-11 14:02:33 +01:00
Priit Laes
5e8ea17382 Make sure that awk patterns are not locale-specific.
Locales can influence conversion, so make sure we all use the same one.

Signed-off-by: Priit Laes <plaes@plaes.org>
2017-02-11 14:01:40 +01:00
Bernhard Nortmann
0858b7105c fel: Implement fel_clrsetbits_le32() helper
This function provides bitwise clear/set operations on 32-bit words
via FEL. It may help with implementing future functionality, where
ARM register manipulations often involve such bit level access.

Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
2017-01-27 23:03:18 +01:00
Bernhard Nortmann
56ef320ad6 thunks: Add assembly sources for some more thunks
These might be useful in case the code requires maintenance/changes.

Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
2017-01-27 23:03:18 +01:00
Bernhard Nortmann
55253760e5 thunks: Adjust build system for ARM thunk .h
"make headers" (which in turn invokes "make -C thunks/" should now
build the include files via awk, avoiding the need for ruby.

Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
2017-01-27 23:03:18 +01:00
Bernhard Nortmann
7ad5f454db Move thunk code / snippets to a dedicated subdirectory
Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
2017-01-27 23:03:18 +01:00