nuttx/arch/arm/src/armv7-r
Gregory Nutt 55a9172bc2 Fix Cygwin build with Windows native toolchain
PR #1450 broke the Cygwin build.  Refer to Issue #1672.

The use of of logic like:

    EXTRA_LIBPATHS += -L "${dir ${shell $(CC) $(ARCHCPUFLAGS) --print-file-name=libgcc.a}}"

fails when the Toolchain $(CC) is a native Windows toolchain.  That is because the returned path is a Windows-style patch which cannot be handled by the make 'dir' command.  Commit 4910d43ab0 reorganized a lot of definitions and replaced the correct code with the use of the limit make 'dir' command.  The original code used the Bash dirname command which does not suffer from this limitation; it can handle both POSIX and Windows paths.

This was verified using the stm32f4discover:nsh toolchain with the Windows native ARM Embedded toolchain.  That toolchain returns:

    arm-none-eabi-gcc --print-file-name=libgcc.a
    c:/program files (x86)/gnu tools arm embedded/9 2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/libgcc.a
2020-09-01 10:20:28 +08:00
..
arm_assert.c arch: up_assert shouldn't call exit directly 2020-07-19 01:21:36 +01:00
arm_blocktask.c sched/sched/sched.h: Make naming of all internal names consistent: 2020-05-09 16:58:42 -03:00
arm_cache.c ARMv7-A/R: Add barriers.h header file for consistency with ARMv7-M. 2019-03-19 13:20:23 -06:00
arm_copyarmstate.c arch/arm, board/arm: Rename all up_* functions to arm_* 2020-05-01 18:28:13 +01:00
arm_copyfullstate.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
arm_dataabort.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
arm_doirq.c arch/arm, board/arm: Rename all up_* functions to arm_* 2020-05-01 18:28:13 +01:00
arm_fetchadd.S arch/arm: Rename all up_*.S files to arm_*.S 2020-05-01 11:29:11 -03:00
arm_fpuconfig.S
arm_fullcontextrestore.S arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
arm_gicv2.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
arm_head.S arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
arm_initialstate.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
arm_l2cc_pl310.c arch/arm, board/arm: Rename all up_* functions to arm_* 2020-05-01 18:28:13 +01:00
arm_mpu.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
arm_prefetchabort.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
arm_releasepending.c sched/sched/sched.h: Make naming of all internal names consistent: 2020-05-09 16:58:42 -03:00
arm_reprioritizertr.c sched/sched/sched.h: Make naming of all internal names consistent: 2020-05-09 16:58:42 -03:00
arm_restorefpu.S arch/arm, board/arm: Rename all up_* functions to arm_* 2020-05-01 18:28:13 +01:00
arm_savefpu.S arch/arm, board/arm: Rename all up_* functions to arm_* 2020-05-01 18:28:13 +01:00
arm_saveusercontext.S arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
arm_schedulesigaction.c arch/arm: Rename up_savestate and up_restorestate 2020-05-02 18:35:30 -03:00
arm_sigdeliver.c Completes the Implementation of the TLS-based errno 2020-05-07 23:11:34 +01:00
arm_signal_dispatch.c Refine __KERNEL__ and CONFIG_BUILD_xxx usage in the code base 2020-05-01 10:43:47 -03:00
arm_signal_handler.S
arm_syscall.c include/nuttx/sched.h: Make naming of all internal names consistent: 2020-05-09 14:19:08 -03:00
arm_testset.S
arm_unblocktask.c sched/sched/sched.h: Make naming of all internal names consistent: 2020-05-09 16:58:42 -03:00
arm_undefinedinsn.c arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
arm_vectoraddrexcptn.S arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
arm_vectors.S
arm_vectortab.S
arm.h Refine the preprocessor conditional guard style (#190) 2020-01-31 19:07:39 +01:00
barriers.h Refine the preprocessor conditional guard style (#190) 2020-01-31 19:07:39 +01:00
cp15_cacheops.h Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
cp15_clean_dcache.S
cp15_coherent_dcache.S
cp15_flush_dcache.S
cp15_invalidate_dcache_all.S
cp15_invalidate_dcache.S
cp15.h
fpu.h Refine the preprocessor conditional guard style (#190) 2020-01-31 19:07:39 +01:00
gic.h Run codespell -w against all files 2020-02-22 14:45:07 -06:00
Kconfig build: Replace WINTOOL with CYGWIN_WINTOOL Kconfig 2020-05-18 15:02:55 -06:00
l2cc_pl310.h
l2cc.h arch/arm, board/arm: Rename all up_* functions to arm_* 2020-05-01 18:28:13 +01:00
mpcore.h Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
mpu.h arch/arm: Rename all up_*.h files to arm_*.h 2020-05-01 03:43:44 +01:00
sctlr.h Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
svcall.h arch/arm, board/arm: Rename all up_* functions to arm_* 2020-05-01 18:28:13 +01:00
Toolchain.defs Fix Cygwin build with Windows native toolchain 2020-09-01 10:20:28 +08:00
vfork.S sched/: Make more naming consistent 2020-05-16 13:39:03 -03:00