change dcfampi contents for aal->ihk
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
#BUILD_TARGET = mee knf
|
||||
BUILD_TARGET = knf
|
||||
BUILD_TARGET ?= attached-mic
|
||||
SRC = $(CURDIR)
|
||||
CONFIG_V ?= KNF
|
||||
|
||||
AALBASE ?= $(SRC)/../../aal/manycore
|
||||
IHKBASE ?= $(SRC)/../../ihk/cokernel
|
||||
O ?= $(KBUILD_OUTPUT)
|
||||
V ?= $(VERBOSE)
|
||||
|
||||
CONFIG_V ?= KNF
|
||||
|
||||
EXTRA_OBJS ?=
|
||||
|
||||
KERNEL = kernel.img
|
||||
@@ -15,8 +15,9 @@ KERNELS = $(addsuffix /$(KERNEL),$(addprefix $(O)/,$(BUILD_TARGET)))
|
||||
SUBCMD_OPTS = V='$(V)'
|
||||
|
||||
$(if $(O),,$(error Specify the compilation target directory))
|
||||
$(if $(shell ls $(AALBASE)/Makefile),,\
|
||||
$(error AAL is not found in $(AALBASE)))
|
||||
#$(if $(shell ls $(IHKBASE)/Makefile),,\
|
||||
# $(error IHK is not found in $(IHKBASE)))
|
||||
|
||||
|
||||
.PHONY: all clean depend
|
||||
|
||||
@@ -30,9 +31,9 @@ all: $(KERNELS)
|
||||
rm -f $@
|
||||
@mkdir -p $(dir $@)
|
||||
@echo 'SRC = $(SRC)' > $@
|
||||
@echo 'AALBASE = $(AALBASE)' >> $@
|
||||
@echo 'CONFIG_V = $(CONFIG_V)' >> $@
|
||||
@echo 'IHKBASE = $(IHKBASE)' >> $@
|
||||
@echo 'TARGET = $(notdir $(patsubst %/,%,$(dir $@)))' >> $@
|
||||
@echo 'TARGETDIR = $$(shell echo $$(TARGET) | sed "s/-/\//")' >> $@
|
||||
@echo 'CONFIG_V = $(CONFIG_V)' >> $@
|
||||
@echo 'EXTRA_OBJS = $(EXTRA_OBJS)' >> $@
|
||||
@cat Makefile.build.mpiu >> $@
|
||||
|
||||
Reference in New Issue
Block a user