655
|
1 |
# Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
# All rights reserved.
|
|
3 |
# This component and the accompanying materials are made available
|
|
4 |
# under the terms of "Eclipse Public License v1.0"
|
|
5 |
# which accompanies this distribution, and is available
|
|
6 |
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
#
|
|
8 |
# Initial Contributors:
|
|
9 |
# Nokia Corporation - initial contribution.
|
|
10 |
#
|
|
11 |
# Contributors:
|
|
12 |
#
|
|
13 |
# Description:
|
|
14 |
# # NB! LINKBASE : Code execute address also set coreldr.lnk file
|
|
15 |
# # MUST REFLECT CORELOADER ADDRESS RELOCATION IN BOTH FILES!!
|
|
16 |
#
|
|
17 |
#
|
|
18 |
|
|
19 |
TMPROOT:=$(subst \,/,$(EPOCROOT))
|
|
20 |
EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/
|
|
21 |
|
|
22 |
include $(EPOCROOT)epoc32/tools/shell/$(notdir $(basename $(SHELL))).mk
|
|
23 |
|
|
24 |
|
|
25 |
## If any of these macros are changed, then execute "abld clean coreldr" from this directory
|
|
26 |
## Use this macro if it is required to use the MMU
|
|
27 |
## if the MMU is not require either comment it out or set it FALSE
|
|
28 |
USE_MMU := TRUE
|
|
29 |
|
|
30 |
# This macro enables benchmarking code. Comment out or set FALSE if not required
|
|
31 |
#WRITE_TIMINGS := TRUE
|
|
32 |
|
|
33 |
## This macro causes the page tables to be output. Comment out or set FALSE if not required
|
|
34 |
## If this option is selected then the MMU code will be enabled
|
|
35 |
#DUMP_PAGE_TABLES := TRUE
|
|
36 |
|
|
37 |
|
|
38 |
## Make sure all 3 macros are either TRUE or FALSE
|
|
39 |
# Enforce USE_MMU if page table is to be dumped
|
|
40 |
ifeq "$(DUMP_PAGE_TABLES)" "TRUE"
|
|
41 |
USE_MMU := TRUE
|
|
42 |
else
|
|
43 |
DUMP_PAGE_TABLES := FALSE
|
|
44 |
endif
|
|
45 |
|
|
46 |
ifneq "$(USE_MMU)" "TRUE"
|
|
47 |
USE_MMU := FALSE
|
|
48 |
endif
|
|
49 |
|
|
50 |
ifneq "$(WRITE_TIMINGS)" "TRUE"
|
|
51 |
WRITE_TIMINGS := FALSE
|
|
52 |
endif
|
|
53 |
|
|
54 |
#Set the directories
|
|
55 |
GENSRCDIR := $(EXTENSION_ROOT)/../../../kernelhwsrv/kerneltest/e32utils/nandboot/coreldr
|
|
56 |
BLSRCDIR := $(EXTENSION_ROOT)/../../../kernelhwsrv/kernel/eka/drivers/unistore2/srca/xsr/util/ONBL2
|
|
57 |
XSRSRCDIR1 := $(EXTENSION_ROOT)/../../../kernelhwsrv/kernel/eka/drivers/unistore2/srca/xsr/OAM/OSLess
|
|
58 |
XSRSRCDIR2 := $(EXTENSION_ROOT)/../../../kernelhwsrv/kernel/eka/drivers/unistore2/srca/xsr/LLD/DNandO
|
|
59 |
SPECSRCDIR := $(EXTENSION_ROOT)/../omaph4bsp/h4/nandboot/coreldr_onenand
|
|
60 |
SPECXSRSRCDIR := $(EXTENSION_ROOT)/drivers/h4ons
|
|
61 |
|
|
62 |
VARIANTINC := $(INC_PATH)/omap_hrp/h4
|
|
63 |
VARIANTINC2 := $(EXTENSION_ROOT)/../omaph4bsp/shared/bootstrap
|
|
64 |
VARIANTINC3 := $(EXTENSION_ROOT)/../omaph4bsp/h4/nand $(EXTENSION_ROOT)/../omaph4bsp/assp/shared/assp $(EXTENSION_ROOT)/../omaph4bsp/assp/omap24xx/inc $(EXTENSION_ROOT)/../omaph4bsp/assp/omap24xx/assp $(EXTENSION_ROOT)/../omaph4bsp/assp/shared/interrupt $(EXTENSION_ROOT)/../omaph4bsp/assp/omap24xx/interrupt $(EXTENSION_ROOT)/../omaph4bsp/shared/gpio $(EXTENSION_ROOT)/../omaph4bsp/shared/mcspi $(EXTENSION_ROOT)/../omaph4bsp/assp/omap24xx/gpio $(EXTENSION_ROOT)/../omaph4bsp/assp/shared $(EXTENSION_ROOT)/../omaph4bsp/shared/cirq $(EXTENSION_ROOT)/../omaph4bsp/shared/dma $(EXTENSION_ROOT)/../omaph4bsp/assp/shared/dma
|
|
65 |
|
|
66 |
GENINC1 := $(INC_PATH)
|
|
67 |
GENINC3 := $(EPOCROOT)epoc32/include
|
|
68 |
GENDRIVERINC := $(INC_PATH)/drivers
|
|
69 |
GENINC2 := $(INC_PATH)/drivers/unistore2 $(INC_PATH)/memmodel/epoc $(INC_PATH)/kernel $(INC_PATH)/kernel/arm $(INC_PATH)/nkern $(INC_PATH)/nkern/arm
|
|
70 |
GENXSRINC := $(EXTENSION_ROOT)/../../../kernelhwsrv/kernel/eka/drivers/unistore2/srca/xsr/inc
|
|
71 |
GENINCPATH:= $(GENSRCDIR) $(SPECSRCDIR) $(XSRSRCDIR1) $(XSRSRCDIR2) $(SPECXSRSRCDIR) $(VARIANTINC) $(VARIANTINC2) $(VARIANTINC3) $(GENINC1) $(GENDRIVERINC) $(GENINC2) $(GENINC3) $(GENINC4) $(GENXSRINC) $(GENINC3)
|
|
72 |
|
|
73 |
# Set the source/include/target directories
|
|
74 |
GSRCDIR = ../../../unref/orphan/cedgen/shared/nandboot
|
|
75 |
VINCDIR = ../../../unref/orphan/cedgen/h4/inc
|
|
76 |
GINCDIR = ../../../unref/orphan/cedgen/shared/inc
|
|
77 |
EPOCINCDIR = $(INC_PATH)/omap_hrp/h4
|
|
78 |
|
|
79 |
# Build directory (EPOCBLD too long)
|
|
80 |
BUILDLOC = $(EPOCROOT)epoc32/build/omap_hrp/h4_restricted/unistore2/nandboot/coreldr/$(PLATFORM_PATH)
|
|
81 |
|
|
82 |
# Set the target name
|
|
83 |
TARGETDIR := $(EPOCROOT)epoc32/release/$(PLATFORM_PATH)
|
|
84 |
TARGET = $(TARGETDIR)$/h4hrp_un2_on_coreldr.bin
|
|
85 |
TMPTARGET = $(BUILDLOC)$/h4hrp_un2_on_coreldr.elf
|
|
86 |
|
|
87 |
#Rules
|
|
88 |
vpath %.s . $(SPECSRCDIR) $(SRCDIR)
|
|
89 |
vpath %.inc . $(SPECSRCDIR) $(EPOCINCDIR)
|
|
90 |
vpath %.ginc . $(BUILDLOC)
|
|
91 |
|
|
92 |
VHEADERS := nanddevice.h
|
|
93 |
BUILTINCLUDES := nanddevice.inc config.inc
|
|
94 |
BUILTINCLUDES2 := nand_plat.inc
|
|
95 |
|
|
96 |
ASMSOURCE := coreldrasm_onenand.s
|
|
97 |
GENCPPSOURCE := inflate.cpp
|
|
98 |
BLCPPSOURCE := ONBL2.CPP
|
|
99 |
XSRCPPSOURCE1 := OSLessOAM.cpp
|
|
100 |
XSRCPPSOURCE2 := ONLD.cpp
|
|
101 |
SPECXSRCPPSOURCE := pam.cpp
|
|
102 |
|
|
103 |
XSRLIB := $(EPOCROOT)epoc32/release/armv5/$(CFG)/nbl2.lib
|
|
104 |
|
|
105 |
ifeq "$(USE_MMU)" "TRUE"
|
|
106 |
GENASMSOURCE := coreldrmmu.s # only link in the MMU stuff if required
|
|
107 |
endif
|
|
108 |
|
|
109 |
# HEADERS := inflate.h coreldr.h
|
|
110 |
HEADERS :=
|
|
111 |
SPECHEADERS := nand_plat.h
|
|
112 |
|
|
113 |
## Address at which coreloader binary is loaded and then started from
|
|
114 |
#
|
|
115 |
# On H4 this number is base of ram + 48MB (permitting 48MB core images)
|
|
116 |
# this number is pretty arbitrary and may be raised higher into ram
|
|
117 |
# if necessary as long as the corresponding change is also made to
|
|
118 |
# KCoreLoaderAddress in variant_bootstrap.inc
|
|
119 |
#
|
|
120 |
LINKBASE = 0x83000000
|
|
121 |
|
|
122 |
|
|
123 |
|
|
124 |
#ARMASM_OUT := $(shell armasm 2>&1)
|
|
125 |
#ARMASM_OUT_4 := $(word 4,$(ARMASM_OUT))
|
|
126 |
ARMASM_OUT := $(wordlist 2, 4, $(shell armasm --vsn 2>&1))
|
|
127 |
|
|
128 |
# Select the toolchain: ARM RVCT, then GCC
|
|
129 |
|
|
130 |
# Use GCC toolchain if no other is available
|
|
131 |
TOOLVER := GCC
|
|
132 |
#RVCTSTR := $(strip $(findstring RVCT, $(ARMASM_OUT_4)))
|
|
133 |
RVCTSTR := $(strip $(findstring RVCT2.2,$(ARMASM_OUT)))
|
|
134 |
RVCTSTR_4 := $(strip $(findstring RVCT4.0,$(ARMASM_OUT)))
|
|
135 |
|
|
136 |
ifeq "$(RVCTSTR)" "RVCT2.2"
|
|
137 |
|
|
138 |
TOOLVER := RVCT2.2
|
|
139 |
OP := --
|
|
140 |
OB := o
|
|
141 |
endif
|
|
142 |
|
|
143 |
ifeq "$(RVCTSTR_4)" "RVCT4.0"
|
|
144 |
TOOLVER := RVCT4.0
|
|
145 |
OP := --
|
|
146 |
OB := o
|
|
147 |
endif
|
|
148 |
|
|
149 |
# Build up logical TRUE defines
|
|
150 |
ifeq "$(USE_MMU)" "TRUE"
|
|
151 |
ASM_TRUE_MACROS += USE_MMU
|
|
152 |
endif
|
|
153 |
|
|
154 |
ifeq "$(WRITE_TIMINGS)" "TRUE"
|
|
155 |
ASM_TRUE_MACROS += WRITE_TIMINGS
|
|
156 |
endif
|
|
157 |
|
|
158 |
ifeq "$(DUMP_PAGE_TABLES)" "TRUE"
|
|
159 |
ASM_TRUE_MACROS += DUMP_PAGE_TABLES
|
|
160 |
endif
|
|
161 |
|
|
162 |
# Build up logical FALSE defines
|
|
163 |
ifeq "$(USE_MMU)" "FALSE"
|
|
164 |
ASM_FALSE_MACROS += USE_MMU
|
|
165 |
endif
|
|
166 |
|
|
167 |
ifeq "$(WRITE_TIMINGS)" "FALSE"
|
|
168 |
ASM_FALSE_MACROS += WRITE_TIMINGS
|
|
169 |
endif
|
|
170 |
|
|
171 |
ifeq "$(DUMP_PAGE_TABLES)" "FALSE"
|
|
172 |
ASM_FALSE_MACROS += DUMP_PAGE_TABLES
|
|
173 |
endif
|
|
174 |
|
|
175 |
#Arm RVCT tools
|
|
176 |
#echo hello2 "$(strip $(findstring RVCT, $(TOOLVER)))"
|
|
177 |
TOOLVER1 := $(strip $(findstring RVCT, $(TOOLVER)))
|
|
178 |
ifeq "$(TOOLVER1)" "RVCT"
|
|
179 |
#echo hello2
|
|
180 |
ASM_TRUE_MACROS += USE_CXSF
|
|
181 |
ASM := armasm
|
|
182 |
LINK := armlink
|
|
183 |
FROMELF := fromelf
|
|
184 |
CPP := armcc
|
|
185 |
|
|
186 |
OBJEXT := o
|
|
187 |
INCEXT := inc
|
|
188 |
|
|
189 |
ARMCCFLAGS := --arm -c -Otime --cpp
|
|
190 |
ARMCCFLAGS := $(ARMCCFLAGS) $(foreach dir,$(GENINCPATH),$(join -I, $(dir)))
|
|
191 |
ARMCCFLAGS := $(ARMCCFLAGS) -DEKA2
|
|
192 |
ARMCCFLAGS := $(ARMCCFLAGS) -DXSR_NBL2 -DREAL_TARGET -DSYMBIAN_SUPPORT_UNISTORE2
|
|
193 |
|
|
194 |
ARMCCFLAGS := $(ARMCCFLAGS) --preinclude $(EPOCROOT)epoc32/include/rvct/rvct.h
|
|
195 |
|
|
196 |
ifeq "$(CFG)" "UDEB"
|
|
197 |
ARMCCFLAGS := $(ARMCCFLAGS) -D_DEBUG
|
|
198 |
endif
|
|
199 |
|
|
200 |
ASM_TRUE_MACRO_CMD := $(foreach macro,$(ASM_TRUE_MACROS),$(OP)predefine "$(macro) SETL {TRUE}")
|
|
201 |
ASM_FALSE_MACRO_CMD := $(foreach macro,$(ASM_FALSE_MACROS),$(OP)predefine "$(macro) SETL {FALSE}")
|
|
202 |
ASM_LINKBASE_MACRO := $(OP)predefine "_LINKBASE_ SETA $(LINKBASE)"
|
|
203 |
|
|
204 |
AFLAGS := -g $(OP)keep $(ASM_TRUE_MACRO_CMD) $(ASM_FALSE_MACRO_CMD) $(ASM_LINKBASE_MACRO) -I$(BUILDLOC) $(foreach dir,$(GENINCPATH),$(join -I, $(dir)))
|
|
205 |
ifeq "$(TOOLVER)" "RVCT4.0"
|
|
206 |
LFLAGS := $(OP)entry BootEntry $(OP)ro-base $(LINKBASE) $(OP)FIRST BootEntry $(OP)map $(OP)no_strict_wchar_size $(OP)no_strict_enum_size
|
|
207 |
endif
|
|
208 |
ifeq "$(TOOLVER)" "RVCT2.2"
|
|
209 |
LFLAGS := $(OP)entry BootEntry $(OP)ro-base $(LINKBASE) $(OP)FIRST BootEntry $(OP)map
|
|
210 |
endif
|
|
211 |
|
|
212 |
SYMOPT := $(OP)symdefs
|
|
213 |
ASMTYP := ARMASM
|
|
214 |
LINKFILE :=
|
|
215 |
|
|
216 |
define do_compile
|
|
217 |
$(CPP) $(ARMCCFLAGS) $< -o $@
|
|
218 |
endef
|
|
219 |
define do_h2inc
|
|
220 |
perl -S $(EPOCROOT)epoc32/tools/h2inc.pl $< $@ ARMASM
|
|
221 |
endef
|
|
222 |
define do_asm
|
|
223 |
$(ASM) $(AFLAGS) -$(OB) $@ $(OP)LIST $(join $(basename $@),.lst) $<
|
|
224 |
endef
|
|
225 |
define do_link
|
|
226 |
$(LINK) $(LFLAGS) -$(OB) $@ $(FULLOBJECTS)
|
|
227 |
endef
|
|
228 |
define do_strip
|
|
229 |
$(FROMELF) $(OP)bin $(OP)output $@ $<
|
|
230 |
endef
|
|
231 |
endif
|
|
232 |
|
|
233 |
#Header processing
|
|
234 |
FULLHEADERS := $(addprefix $(GENSRCDIR)/,$(HEADERS))
|
|
235 |
FULLSPECHEADERS := $(addprefix $(VARIANTINC)/,$(SPECHEADERS))
|
|
236 |
|
|
237 |
FULLVHEADERS := $(addprefix $(GENDRIVERINC)/,$(VHEADERS))
|
|
238 |
FULLBUILTINCLUDES := $(addprefix $(BUILDLOC)/,$(BUILTINCLUDES))
|
|
239 |
$(FULLBUILTINCLUDES) : $(FULLVHEADERS)
|
|
240 |
$(do_h2inc)
|
|
241 |
|
|
242 |
FULLVHEADERS2 := $(addprefix $(VARIANTINC)/,$(SPECHEADERS))
|
|
243 |
FULLBUILTINCLUDES2 := $(addprefix $(BUILDLOC)/,$(BUILTINCLUDES2))
|
|
244 |
$(FULLBUILTINCLUDES2) : $(FULLVHEADERS2)
|
|
245 |
$(do_h2inc)
|
|
246 |
|
|
247 |
#object names
|
|
248 |
GENCPPOBJECTS := $(foreach f,$(GENCPPSOURCE),$(basename $(f)).$(OBJEXT))
|
|
249 |
FULLGENCPPOBJECTS := $(addprefix $(BUILDLOC)/,$(GENCPPOBJECTS))
|
|
250 |
|
|
251 |
BLCPPOBJECTS := $(foreach f,$(BLCPPSOURCE),$(basename $(f)).$(OBJEXT))
|
|
252 |
FULLBLCPPOBJECTS := $(addprefix $(BUILDLOC)/,$(BLCPPOBJECTS))
|
|
253 |
|
|
254 |
XSRCPPOBJECTS1 := $(foreach f,$(XSRCPPSOURCE1),$(basename $(f)).$(OBJEXT))
|
|
255 |
FULLXSRCPPOBJECTS1 := $(addprefix $(BUILDLOC)/,$(XSRCPPOBJECTS1))
|
|
256 |
|
|
257 |
XSRCPPOBJECTS2 := $(foreach f,$(XSRCPPSOURCE2),$(basename $(f)).$(OBJEXT))
|
|
258 |
FULLXSRCPPOBJECTS2 := $(addprefix $(BUILDLOC)/,$(XSRCPPOBJECTS2))
|
|
259 |
|
|
260 |
SPECXSRCPPOBJECTS := $(foreach f,$(SPECXSRCPPSOURCE),$(basename $(f)).$(OBJEXT))
|
|
261 |
FULLSPECXSRCPPOBJECTS := $(addprefix $(BUILDLOC)/,$(SPECXSRCPPOBJECTS))
|
|
262 |
|
|
263 |
ASMOBJECTS := $(foreach f,$(ASMSOURCE),$(basename $(f)).$(OBJEXT))
|
|
264 |
FULLASMOBJECTS := $(addprefix $(BUILDLOC)/,$(ASMOBJECTS))
|
|
265 |
|
|
266 |
GENASMOBJECTS := $(foreach f,$(GENASMSOURCE),$(basename $(f)).$(OBJEXT))
|
|
267 |
FULLGENASMOBJECTS := $(addprefix $(BUILDLOC)/,$(GENASMOBJECTS))
|
|
268 |
|
|
269 |
FULLOBJECTS := $(FULLASMOBJECTS) $(FULLGENASMOBJECTS) $(FULLGENCPPOBJECTS) $(FULLBLCPPOBJECTS) $(FULLXSRCPPOBJECTS1) $(FULLXSRCPPOBJECTS2) $(FULLSPECXSRCPPOBJECTS) $(XSRLIB)
|
|
270 |
|
|
271 |
ifdef PROCESS_INCLUDES
|
|
272 |
|
|
273 |
GCCSRC := $(addprefix $(BUILDLOC)/,$(SRC))
|
|
274 |
|
|
275 |
#Creation of headers
|
|
276 |
FULLINCLUDES := $(foreach f,$(INCLUDES),$(basename $(f)).$(INCEXT))
|
|
277 |
FULLINCLUDES := $(addprefix $(BUILDLOC)/,$(FULLINCLUDES))
|
|
278 |
|
|
279 |
$(FULLINCLUDES) : $(BUILDLOC)/%.$(INCEXT) : %.inc
|
|
280 |
$(do_includes)
|
|
281 |
|
|
282 |
FULLBLDINCLUDES := $(foreach f,$(BLDINCLUDES),$(basename $(f)).$(INCEXT))
|
|
283 |
FULLBLDINCLUDES := $(addprefix $(BUILDLOC)/,$(FULLBLDINCLUDES))
|
|
284 |
$(FULLBLDINCLUDES) : $(BUILDLOC)/%.$(INCEXT) : %.inc
|
|
285 |
$(do_includes)
|
|
286 |
|
|
287 |
FULLPLATINCLUDES := $(foreach f,$(PLATINCLUDES),$(basename $(f)).$(INCEXT))
|
|
288 |
FULLPLATINCLUDES := $(addprefix $(BUILDLOC)/,$(FULLPLATINCLUDES))
|
|
289 |
$(FULLPLATINCLUDES) : $(BUILDLOC)/%.$(INCEXT) : %.inc
|
|
290 |
$(do_includes)
|
|
291 |
|
|
292 |
FULLGENINCLUDES := $(foreach f,$(GENINCLUDES),$(basename $(f)).$(INCEXT))
|
|
293 |
FULLGENINCLUDES := $(addprefix $(BUILDLOC)/,$(FULLGENINCLUDES))
|
|
294 |
$(FULLGENINCLUDES) : $(BUILDLOC)/%.$(INCEXT) : %.inc
|
|
295 |
$(do_includes)
|
|
296 |
|
|
297 |
else
|
|
298 |
FULLINCLUDES:= $(addprefix $(SPECSRCDIR)/,$(INCLUDES))
|
|
299 |
FULLPLATINCLUDES:= $(addprefix $(PLATSRCDIR)/,$(PLATINCLUDES))
|
|
300 |
FULLGENINCLUDES:= $(addprefix $(GENSRCDIR)/,$(GENINCLUDES))
|
|
301 |
FULLBLDINCLUDES:= $(addprefix $(H2BLDDIR)/,$(BLDINCLUDES))
|
|
302 |
|
|
303 |
#Arm RVCT specifics here
|
|
304 |
|
|
305 |
endif
|
|
306 |
|
|
307 |
|
|
308 |
#Link
|
|
309 |
$(TMPTARGET) : $(FULLOBJECTS)
|
|
310 |
$(do_link)
|
|
311 |
|
|
312 |
#strip
|
|
313 |
$(TARGET) : $(TMPTARGET)
|
|
314 |
$(do_strip)
|
|
315 |
|
|
316 |
#CPP objects
|
|
317 |
$(FULLGENCPPOBJECTS) : $(BUILDLOC)/%.$(OBJEXT) : $(GENSRCDIR)/%.cpp $(FULLHEADERS) $(FULLSPECHEADERS)
|
|
318 |
$(do_compile)
|
|
319 |
|
|
320 |
$(FULLBLCPPOBJECTS) : $(BUILDLOC)/%.$(OBJEXT) : $(BLSRCDIR)/%.cpp $(FULLHEADERS) $(FULLSPECHEADERS)
|
|
321 |
$(do_compile)
|
|
322 |
|
|
323 |
$(FULLXSRCPPOBJECTS1) : $(BUILDLOC)/%.$(OBJEXT) : $(XSRSRCDIR1)/%.cpp $(FULLHEADERS) $(FULLSPECHEADERS)
|
|
324 |
$(do_compile)
|
|
325 |
|
|
326 |
$(FULLXSRCPPOBJECTS2) : $(BUILDLOC)/%.$(OBJEXT) : $(XSRSRCDIR2)/%.cpp $(FULLHEADERS) $(FULLSPECHEADERS)
|
|
327 |
$(do_compile)
|
|
328 |
|
|
329 |
$(FULLSPECXSRCPPOBJECTS) : $(BUILDLOC)/%.$(OBJEXT) : $(SPECXSRSRCDIR)/%.cpp $(FULLHEADERS) $(FULLSPECHEADERS)
|
|
330 |
$(do_compile)
|
|
331 |
|
|
332 |
|
|
333 |
#Asm objects
|
|
334 |
$(FULLGENASMOBJECTS) : $(BUILDLOC)/%.$(OBJEXT) : $(GENSRCDIR)/$(GENASMSOURCE) $(FULLINCLUDES) $(FULLBUILTINCLUDES) $(FULLBUILTINCLUDES2) $(FULLBUILTINCLUDES3) $(FULLDRIVERINCLUDES) $(FULLARMINCLUDES) $(FULLBLDINCLUDES) $(FULLGENINCLUDES) $(FULLPLATINCLUDES)
|
|
335 |
$(do_asm)
|
|
336 |
|
|
337 |
$(FULLASMOBJECTS) : $(BUILDLOC)/%.$(OBJEXT) : $(SPECSRCDIR)/$(ASMSOURCE) $(FULLINCLUDES) $(FULLBUILTINCLUDES) $(FULLBUILTINCLUDES2) $(FULLBLDINCLUDES) $(FULLGENINCLUDES) $(FULLPLATINCLUDES)
|
|
338 |
$(do_asm)
|
|
339 |
|
|
340 |
# make the work directories
|
|
341 |
$(TARGETDIR) :
|
|
342 |
$(call ifnotexistd,"$(TARGETDIR)")
|
|
343 |
|
|
344 |
$(BUILDLOC) :
|
|
345 |
$(call ifnotexistd,"$(BUILDLOC)")
|
|
346 |
|
|
347 |
|
|
348 |
MAKMAKE :
|
|
349 |
echo Nothing to do
|
|
350 |
|
|
351 |
FREEZE :
|
|
352 |
echo Nothing to do
|
|
353 |
|
|
354 |
LIB :
|
|
355 |
echo Nothing to do
|
|
356 |
|
|
357 |
CLEANLIB :
|
|
358 |
echo Nothing to do
|
|
359 |
|
|
360 |
RESOURCE :
|
|
361 |
echo Nothing to do
|
|
362 |
|
|
363 |
FINAL :
|
|
364 |
echo Nothing to do
|
|
365 |
|
|
366 |
BLD SAVESPACE : $(TARGETDIR) $(BUILDLOC) $(TARGET)
|
|
367 |
@echo BLD
|
|
368 |
|
|
369 |
RELEASABLES :
|
|
370 |
@echo "$(TARGET)"
|
|
371 |
|
|
372 |
CLEAN :
|
|
373 |
-$(ERASE) $(call slash2generic,"$(TARGET)")
|
|
374 |
-$(ERASE) $(call slash2generic,"$(BUILDLOC)/*.*")
|
|
375 |
|