blob: 6603da5ea14d176498477f87192dee95c63ecd2d [file] [log] [blame]
CPPFLAGS += -fno-strict-aliasing
board-$(CONFIG_GENERIC) := generic
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
common-y += $(BOARD)
common-y += arch/nios2/lib/
common-y += arch/nios2/cpu/
lds-y += arch/nios2/cpu/barebox.lds