1# 2# Copyright 2016, Data61 3# Commonwealth Scientific and Industrial Research Organisation (CSIRO) 4# ABN 41 687 119 230. 5# 6# This software may be distributed and modified according to the terms of 7# the BSD 2-Clause license. Note that NO WARRANTY is provided. 8# See "LICENSE_BSD2.txt" for details. 9# 10# @TAG(D61_BSD) 11# 12 13# Targets 14TARGETS := console_server.bin 15 16# Source files required to build the target 17CFILES := $(patsubst $(SOURCE_DIR)/%,%,$(wildcard $(SOURCE_DIR)/src/*.c)) 18CFILES += $(patsubst $(SOURCE_DIR)/%,%,$(wildcard $(SOURCE_DIR)/src/*/*.c)) 19CFILES += $(patsubst $(SOURCE_DIR)/%,%,$(wildcard $(SOURCE_DIR)/src/*/*/*.c)) 20 21NK_CFLAGS += -O2 22 23# Libraries required to build the target 24LIBS := c sel4 refossys refos datastruct platsupport vterm 25 26# Custom linker script 27NK_LDFLAGS += -T $(SOURCE_DIR)/linker.lds 28 29include $(SEL4_COMMON)/common.mk 30