commit | 8b612f7fd7b470c63a021608a1103a1ec163cf4e | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Fri Apr 10 11:10:32 2020 +0200 |
committer | Tom Rini <trini@konsulko.com> | Fri Apr 24 10:51:32 2020 -0400 |
tree | 1033d65bdd3e85bae6daef3de465de52361a4608 | |
parent | 0a16cedc0d54962d94f15a8409f66103297c60ce [diff] |
Makefile: ARMv7-M has no CPSR register Compiling on ARMv7-M fails when trying to address the CPSR register which is not available on this architecture. Atomic functions refer to the CPSR register if compiled with arch/arm/include/asm/proc-armv/system.h. On ARMv7-M we should hence use arch/arm/thumb1/include/asm/proc-armv/system.h instead. Cf. https://stackoverflow.com/questions/61097841/error-selected-processor-does-not-support-requested-special-purpose-register Reported-by: Sicris Rey Embay <sicris.embay@gmail.com> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>