source: rtems/cpukit/score/cpu/riscv/preinstall.am @ c3897697

5
Last change on this file since c3897697 was 11ff3a9, checked in by Hesham Almatary <heshamelmatary@…>, on 10/27/17 at 04:18:40

cpukit: RISC-V - make riscv32 code work for riscv64 - v2

  • Use #ifdefs for 32/64 bit code
  • Use unsigned long which is 32-bit on riscv32 and 64-bit on riscv64 (register size)
  • Move the code to a new shared riscv folder to be shared between riscv32 and riscv64
  • Rename RTEMS_CPU extracted from command line to shared riscv target s/riscv*/riscv

Update #3109

  • Property mode set to 100644
File size: 2.4 KB
Line 
1## Automatically generated by ampolish3 - Do not edit
2
3if AMPOLISH3
4$(srcdir)/preinstall.am: Makefile.am
5        $(AMPOLISH3) $(srcdir)/Makefile.am > $(srcdir)/preinstall.am
6endif
7
8PREINSTALL_DIRS =
9DISTCLEANFILES = $(PREINSTALL_DIRS)
10
11all-am: $(PREINSTALL_FILES)
12
13PREINSTALL_FILES =
14CLEANFILES = $(PREINSTALL_FILES)
15
16$(PROJECT_INCLUDE)/rtems/$(dirstamp):
17        @$(MKDIR_P) $(PROJECT_INCLUDE)/rtems
18        @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
19PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
20
21$(PROJECT_INCLUDE)/rtems/asm.h: rtems/asm.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
22        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/asm.h
23PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/asm.h
24
25$(PROJECT_INCLUDE)/rtems/score/$(dirstamp):
26        @$(MKDIR_P) $(PROJECT_INCLUDE)/rtems/score
27        @: > $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
28PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
29
30$(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
31        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h
32PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h
33
34$(PROJECT_INCLUDE)/rtems/score/cpuatomic.h: rtems/score/cpuatomic.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
35        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpuatomic.h
36PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpuatomic.h
37
38$(PROJECT_INCLUDE)/rtems/score/cpuimpl.h: rtems/score/cpuimpl.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
39        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h
40PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpuimpl.h
41
42$(PROJECT_INCLUDE)/rtems/score/cpu_asm.h: rtems/score/cpu_asm.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
43        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu_asm.h
44PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu_asm.h
45
46$(PROJECT_INCLUDE)/rtems/score/types.h: rtems/score/types.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
47        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/types.h
48PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/types.h
49
50$(PROJECT_INCLUDE)/rtems/score/riscv.h: rtems/score/riscv.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
51        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/riscv.h
52PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/riscv.h
53
54$(PROJECT_INCLUDE)/rtems/score/riscv-utility.h: rtems/score/riscv-utility.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
55        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/riscv-utility.h
56PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/riscv-utility.h
57
Note: See TracBrowser for help on using the repository browser.