Add arch/nios2/Makefile
PATCH 2/54 Add arch/nios2/Makefile
From: Franck JULLIEN <[email protected]>
Add arch/nios2/Makefile
--- arch/nios2/Makefile | 31 +++++++++++++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-) create mode 100644 arch/nios2/Makefile
arch/nios2/Makefile new file +31 -0
@@ -0,0 +1,31 @@ +CPPFLAGS += -fno-strict-aliasing + +board-$(CONFIG_GENERIC) := generic +cpu-$(CONFIG_NIOS2) := nios2 + +KALLSYMS += --symbol-prefix=_ + +archprepare: maketools + + @echo " SYMLINK include/nios_sopc.h -> arch/nios2/boards/$(board-y)/nios_sopc.h" + @ln -fsn ../arch/nios2/boards/$(board-y)/nios_sopc.h include/nios_sopc.h + +PHONY += maketools + +ifneq ($(board-y),) +BOARD := arch/nios2/boards/$(board-y)/ +else +BOARD := +endif + +ifneq ($(cpu-y),) +CPU := arch/nios2/cpu-$(cpu-y)/ +else +CPU := +endif + +common-y += $(BOARD) +common-y += arch/nios2/lib/ $(CPU) + +lds-y += $(BOARD)/barebox.lds +
Signature · 7 lines
1.7.3.4 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
arch/nios2/Makefile line 4
Quoted 5 lines · On 3/4/11 7:58 AM, [email protected] wrote:
arch/nios2/Makefile new file +4
-0@@ -0,0 +1,31 @@ +CPPFLAGS += -fno-strict-aliasing + +board-$(CONFIG_GENERIC) := generic +cpu-$(CONFIG_NIOS2) := nios2
Any other processor core types other than 'nios2?' Can we name it just arch/nios2/cpu/, not arch/nios2/cpu-nios2/?
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
2011/3/16 Shinya Kuribayashi <[email protected]>
Quoted 13 lines · On 3/4/11 7:58 AM, [email protected] wrote:
arch/nios2/Makefile line 4
Quoted 7 lines
arch/nios2/Makefile new file +4
-0@@ -0,0 +1,31 @@ +CPPFLAGS += -fno-strict-aliasing + +board-$(CONFIG_GENERIC) := generic +cpu-$(CONFIG_NIOS2) := nios2Any other processor core types other than 'nios2?' Can we name it just
arch/nios2/cpu/, notarch/nios2/cpu-nios2/?
You're right, I'll rename it.
Franck.
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox