sbsv1/buildsystem/extension/base/lubbock_miniboot.mk
author Zheng Shen <zheng.shen@nokia.com>
Thu, 09 Sep 2010 19:09:10 +0800
changeset 633 a4eca1f021ac
parent 599 fa7a3cc6effd
permissions -rw-r--r--
ROMTools-13.1.0.2 Bug 3415 - SBS failing to build open C libraries
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
599
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     1
# Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     2
# All rights reserved.
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     3
# This component and the accompanying materials are made available
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     4
# under the terms of "Eclipse Public License v1.0"
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     5
# which accompanies this distribution, and is available
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     6
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     7
#
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     8
# Initial Contributors:
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     9
# Nokia Corporation - initial contribution.
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    10
#
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    11
# Contributors:
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    12
#
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    13
# Description:
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    14
#
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    15
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    16
# To guarantee there is a slash at the end of EPOCROOT in case there is not.
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    17
# This is needed to ensure compatibility with SBSv1. 
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    18
TMPROOT:=$(subst \,/,$(EPOCROOT))
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    19
EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    20
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    21
include $(EPOCROOT)epoc32/tools/shell/$(notdir $(basename $(SHELL))).mk
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    22
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    23
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    24
# Set the source directory
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    25
SRCDIR = $(EXTENSION_ROOT)/nandboot/miniboot
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    26
TARGETDIR = $(EPOCROOT)epoc32/release/$(PLATFORM_PATH)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    27
EPOCINCDIR = $(EPOCROOT)epoc32/include/lubbock/nand
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    28
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    29
#Rules
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    30
vpath %.s $(SRCDIR)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    31
vpath %.inc $(SRCDIR) $(EPOCINCDIR)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    32
vpath %.ginc $(BUILDLOC)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    33
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    34
# Build directory
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    35
BUILDLOC = $(EPOCBLD)$(call sbsadd,/base/lubbock)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    36
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    37
## Set the target name
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    38
INCLUDES := nand.inc lubbock.inc
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    39
EPOCINCLUDES := nand_fbr_offset.inc
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    40
SRC := miniboot.s lubbock.s
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    41
TARGET=$(TARGETDIR)/lubbock_miniboot.bin
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    42
TMPTARGET = $(BUILDLOC)/miniboot.exe
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    43
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    44
# Set the code and data base addresses 
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    45
# Since miniboot is PIC this is just to placate the linker
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    46
LINKBASE = 0x0000000
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    47
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    48
ARMASM_OUT := $(shell armasm 2>&1)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    49
ARMASM_OUT_4 := $(word 4,$(ARMASM_OUT))
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    50
# Use GCC toolchain if no other is available
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    51
# NB! Need to keep updating/extending allowable range of RVCT versions!!
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    52
TOOLVER := GCC
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    53
RVCTSTR := $(strip $(findstring RVCT, $(ARMASM_OUT_4)))
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    54
ifeq "$(RVCTSTR)" "RVCT"
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    55
        TOOLVER := RVCT
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    56
        OP := --
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    57
        OB := o
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    58
endif 
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    59
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    60
ifeq "$(TOOLVER)" "RVCT"
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    61
        ASM_MACROS += USE_CXSF
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    62
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    63
        ASM := armasm
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    64
        LINK := armlink
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    65
        FROMELF := fromelf
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    66
        OBJEXT := o
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    67
        INCEXT := inc
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    68
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    69
        ASMINCPATHCMD := $(foreach dir,$(SRCDIR),$(join -I ,$(dir))) $(foreach dir,$(EPOCINCDIR),$(join -I ,$(dir)))
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    70
        ASMINCFBRPATH := $(foreach fir,$(EPOCINCDIR),$(join -I ,$(fir)))
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    71
        ASM_MACRO_CMD := $(foreach macro,$(ASM_MACROS),$(OP)predefine "$(macro) SETL {TRUE}")
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    72
        AFLAGS := -g $(OP)keep $(ASM_MACRO_CMD) $(ASMINCPATHCMD) $(ASMINCFBRPATH)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    73
        
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    74
        SYMOPT := $(OP)symdefs
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    75
        ASMTYP := ARMASM
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    76
        LINKFILE :=
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    77
define do_asm
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    78
        $(ASM) $(AFLAGS) -$(OB) $@ $(OP)LIST $(join $(basename $@),.lst) $<
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    79
endef
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    80
        
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    81
        LFLAGS := $(OP)ro-base $(LINKBASE) $(OP)entry $(LINKBASE) $(OP)map
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    82
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    83
define do_link
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    84
        $(LINK) $(LFLAGS) -$(OB) $@ $(filter %.$(OBJEXT),$^)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    85
endef
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    86
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    87
define do_strip
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    88
        $(FROMELF) $(OP)bin $(OP)output $@ $<
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    89
endef
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    90
endif
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    91
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    92
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    93
#GCC build options
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    94
ifeq "$(TOOLVER)" "GCC"
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    95
        ASM := as
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    96
        AFLAGS := -mapcs-32 -R -n -I$(BUILDLOC)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    97
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    98
        LINKFLAGS = -n -x --section-alignment 4 --file-alignment 2 -no-whole-archive
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    99
        OBJEXT := o
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   100
        INCEXT := ginc
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   101
        LINKFILE = $(SRCDIR)/miniboot.lnk
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   102
define do_headers
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   103
        perl $(EPOCROOT)epoc32/tools/armasm2as.pl $< $@
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   104
endef
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   105
define do_asm
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   106
        perl $(EPOCROOT)epoc32/tools/armasm2as.pl $< $(join $(basename $@),.s) 
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   107
        $(AS) $(AFLAGS) -o $@ $(join $(basename $@),.s)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   108
endef
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   109
define do_link
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   110
        ld -o "$(TMPTARGET)"  --start $(FULLOBJECTS) --script=$(LINKFILE)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   111
endef
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   112
define do_strip
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   113
        strip -O binary -o "$(TARGET)" "$(TMPTARGET)"
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   114
        $(ERASE) $(call slash2generic,"$(TMPTARGET)") 
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   115
        echo Built $(TARGET)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   116
endef
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   117
        PROCESS_INCLUDES := 1
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   118
endif
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   119
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   120
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   121
OBJECTS := $(foreach f,$(SRC),$(basename $(f)).$(OBJEXT))
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   122
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   123
FULLOBJECTS := $(addprefix $(BUILDLOC)/,$(OBJECTS))
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   124
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   125
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   126
#Include processing
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   127
FULLINCLUDES := $(addprefix $(SRCDIR)/,$(INCLUDES))
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   128
#Object processing
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   129
FULLSRC := $(addprefix $(SRCDIR)/,$(SRC))
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   130
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   131
ifdef PROCESS_INCLUDES
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   132
GCCSRC := $(addprefix $(EPOCBLD)/,$(SRC))
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   133
FULLINCLUDES := $(foreach f,$(FULLINCLUDES),$(basename $(f)).$(INCEXT))
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   134
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   135
EPOCFULLINCLUDES := $(foreach f,$(EPOCINCLUDES),$(basename $(f)).$(INCEXT))
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   136
EPOCFULLINCLUDES := $(addprefix $(BUILDLOC)/,$(EPOCFULLINCLUDES))
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   137
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   138
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   139
#Creation of headers
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   140
$(FULLINCLUDES) : $(SRCDIR)/%.$(INCEXT) : %.inc
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   141
	$(do_headers)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   142
$(EPOCFULLINCLUDES) : $(BUILDLOC)/%.$(INCEXT) : %.inc
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   143
	$(do_headers)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   144
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   145
else
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   146
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   147
#Armasm sytax specifc asm rule goes here
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   148
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   149
EPOCFULLINCLUDES:= $(addprefix $(EPOCINCDIR)/,$(EPOCINCLUDES))
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   150
endif
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   151
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   152
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   153
#Strip
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   154
$(call abldquote,$(TARGET)) : $(call abldquote,$(TMPTARGET)) $(call pipe,$(TARGETDIR) $(BUILDLOC)) 
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   155
	$(do_strip)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   156
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   157
#Link	
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   158
$(call abldquote,$(TMPTARGET)) : $(FULLOBJECTS)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   159
	$(do_link)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   160
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   161
#Objects
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   162
$(FULLOBJECTS) : $(BUILDLOC)/%.$(OBJEXT) : %.s $(FULLINCLUDES) $(EPOCFULLINCLUDES) $(call pipe,$(BUILDLOC))
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   163
	$(do_asm)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   164
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   165
# make directories
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   166
$(call abldquote,$(TARGETDIR)) :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   167
	@$(call ifnotexistd,"$(TARGETDIR)")
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   168
	
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   169
$(call abldquote,$(BUILDLOC)) :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   170
	@$(call ifnotexistd,"$(BUILDLOC)")
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   171
	
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   172
$(EPOCBLD) :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   173
	@$(call ifnotexistd,"$(EPOCBLD)")
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   174
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   175
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   176
MAKMAKE :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   177
	echo Nothing to do
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   178
	echo $(BUILDLOC)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   179
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   180
FREEZE :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   181
	echo Nothing to do
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   182
	echo $(BUILDLOC)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   183
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   184
LIB :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   185
	echo Nothing to do
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   186
	echo $(BUILDLOC)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   187
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   188
CLEANLIB :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   189
	echo Nothing to do
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   190
	echo $(BUILDLOC)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   191
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   192
RESOURCE :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   193
	echo Nothing to do
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   194
	echo $(BUILDLOC)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   195
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   196
FINAL :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   197
	echo Nothing to do
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   198
	echo $(BUILDLOC)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   199
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   200
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   201
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   202
BLD SAVESPACE : $(call abldquote,$(TARGETDIR)) $(EPOCBLD) $(call abldquote,$(TARGET)) $(call sbsadd,$(BUILDLOC))
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   203
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   204
RELEASABLES :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   205
	@echo "$(TARGET)"
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   206
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   207
CLEAN :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   208
	-$(ERASE) $(call slash2generic,"$(TARGET)") 
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   209
	-$(ERASE) $(call slash2generic,"$(EPOCBLD)/*.*") 
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   210
#	-$(ERASE) "$(TARGET)"
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   211
#	-$(ERASE) "$(EPOCBLD)/*.*"
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   212