1) Add the sbsv1 components from sftools/dev/build to make the linux_build package independent of the obsolete buildtools package.
2) Enhance romnibus.pl so that it generate the symbol file for the built rom when invoked by Raptor
3) Make the maksym.pl tool portable for Linux as well as Windows.
4) Remove the of armasm2as.pl from the e32tools component in favour of the copy now exported from sbsv1/e32util.
# Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
# All rights reserved.
# This component and the accompanying materials are made available
# under the terms of "Eclipse Public License v1.0"
# which accompanies this distribution, and is available
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
#
# Initial Contributors:
# Nokia Corporation - initial contribution.
#
# Contributors:
#
# Description:
#
TMPROOT:=$(subst \,/,$(EPOCROOT))
EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/
include $(EPOCROOT)epoc32/tools/shell/$(notdir $(basename $(SHELL))).mk
ifeq ($(findstring WINS,$(PLATFORM)),WINS)
EPOCDATADIR = $(EPOCROOT)epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH)
else
EPOCDATADIR = $(EPOCROOT)epoc32/data
endif
SECURETARGETDIR = $(EPOCDATADIR)/z/private/10202BE9
PCCENREPSOURCE = $(EXTENSION_ROOT)/../test
PCCENREPDATADIR = $(EPOCROOT)epoc32/winscw/c/private/00000000
PCCENREPTESTDIR = $(EPOCROOT)epoc32/winscw/c
PCCENREPPCTESTDIR = $(EPOCROOT)epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH)
$(SECURETARGETDIR) :
$(call createdir, "$@")
$(PCCENREPDATADIR) :
$(call createdir, "$@")
COPYFILES :
ifneq ($(findstring TOOLS2,$(PLATFORM)),TOOLS2)
$(call forcecopy,$(PCCENREPSOURCE)/000001ff.txt,$(SECURETARGETDIR)/000001ff.txt)
$(call forcecopy,$(PCCENREPSOURCE)/00001fff.cre,$(SECURETARGETDIR)/00001fff.cre)
$(call forcecopy,$(PCCENREPSOURCE)/000002ff.cre,$(SECURETARGETDIR)/000002ff.cre)
$(call forcecopy,$(PCCENREPSOURCE)/88888880.txt,$(SECURETARGETDIR)/88888880.txt)
$(call forcecopy,$(PCCENREPSOURCE)/88888881.cre,$(SECURETARGETDIR)/88888881.cre)
$(call forcecopy,$(PCCENREPSOURCE)/00022222.txt,$(SECURETARGETDIR)/00022222.txt)
ifeq ($(findstring WINS,$(PLATFORM)),WINS)
$(call forcecopy,$(PCCENREPSOURCE)/000001ff.txt,$(PCCENREPDATADIR)/000001ff.txt)
$(call forcecopy,$(PCCENREPSOURCE)/00001fff.cre,$(PCCENREPDATADIR)/00001fff.cre)
$(call forcecopy,$(PCCENREPSOURCE)/000002ff.cre,$(PCCENREPDATADIR)/000002ff.cre)
$(call forcecopy,$(PCCENREPSOURCE)/88888880.txt,$(PCCENREPDATADIR)/88888880.txt)
$(call forcecopy,$(PCCENREPSOURCE)/88888881.cre,$(PCCENREPDATADIR)/88888881.cre)
$(call forcecopy,$(PCCENREPSOURCE)/winscwcre.cre,$(PCCENREPDATADIR)/ref_winscwcre.cre)
$(call forcecopy,$(PCCENREPSOURCE)/winscwtxt.cre,$(PCCENREPDATADIR)/ref_winscwtxt.cre)
$(call forcecopy,$(PCCENREPSOURCE)/000001ff.txt,$(PCCENREPDATADIR)/copy000001ff.txt)
$(call forcecopy,$(PCCENREPSOURCE)/00001fff.cre,$(PCCENREPDATADIR)/copy00001fff.cre)
$(call forcecopy,$(PCCENREPSOURCE)/000002ff.cre,$(PCCENREPDATADIR)/copy000002ff.cre)
$(call forcecopy,$(PCCENREPSOURCE)/00022222.txt,$(PCCENREPDATADIR)/00022222.txt)
$(call forcecopy,$(PCCENREPSOURCE)/00022222.cre,$(PCCENREPDATADIR)/copy00022222.cre)
$(call forcecopy,$(PCCENREPSOURCE)/000001ff.txt,$(PCCENREPTESTDIR)/000001ff.txt)
$(call forcecopy,$(PCCENREPSOURCE)/00001fff.cre,$(PCCENREPTESTDIR)/00001fff.cre)
$(call forcecopy,$(PCCENREPSOURCE)/00001fff.cre,$(PCCENREPTESTDIR)/copy00001fff.cre)
$(call forcecopy,$(PCCENREPSOURCE)/00022222.txt,$(PCCENREPTESTDIR)/00022222.txt)
$(call forcecopy,$(PCCENREPSOURCE)/00022222.cre,$(PCCENREPTESTDIR)/copy00022222.cre)
endif
else
$(call forcecopy,$(PCCENREPSOURCE)/000001ff.txt,$(PCCENREPPCTESTDIR)/000001ff.txt)
$(call forcecopy,$(PCCENREPSOURCE)/00001fff.cre,$(PCCENREPPCTESTDIR)/00001fff.cre)
$(call forcecopy,$(PCCENREPSOURCE)/000001ff.txt,$(PCCENREPPCTESTDIR)/copy000001ff.txt)
$(call forcecopy,$(PCCENREPSOURCE)/00001fff.cre,$(PCCENREPPCTESTDIR)/copy00001fff.cre)
$(call forcecopy,$(PCCENREPSOURCE)/000002ff.cre,$(PCCENREPPCTESTDIR)/000002ff.cre)
$(call forcecopy,$(PCCENREPSOURCE)/000002ff.cre,$(PCCENREPPCTESTDIR)/copy000002ff.cre)
$(call forcecopy,$(PCCENREPSOURCE)/winscwcre.cre,$(PCCENREPPCTESTDIR)/ref_winscwcre.cre)
$(call forcecopy,$(PCCENREPSOURCE)/winscwtxt.cre,$(PCCENREPPCTESTDIR)/ref_winscwtxt.cre)
$(call forcecopy,$(PCCENREPSOURCE)/88888880.txt,$(PCCENREPPCTESTDIR)/88888880.txt)
$(call forcecopy,$(PCCENREPSOURCE)/88888881.cre,$(PCCENREPPCTESTDIR)/88888881.cre)
$(call forcecopy,$(PCCENREPSOURCE)/00022222.txt,$(PCCENREPPCTESTDIR)/00022222.txt)
$(call forcecopy,$(PCCENREPSOURCE)/00022222.cre,$(PCCENREPPCTESTDIR)/copy00022222.cre)
endif
DO_NOTHING:
@echo do nothing
#
# The targets invoked by bld...
#
BLD : $(SECURETARGETDIR) $(PCCENREPDATADIR) $(PCCENREPTESTDIR) $(PCCENREPSOURCE) $(PCCENREPPCTESTDIR) COPYFILES
CLEAN :
ifneq ($(findstring TOOLS2,$(PLATFORM)),TOOLS2)
$(call forceremove,$(SECURETARGETDIR)/000001ff.txt)
$(call forceremove,$(SECURETARGETDIR)/00001fff.cre)
$(call forceremove,$(SECURETARGETDIR)/000002ff.cre)
$(call forceremove,$(SECURETARGETDIR)/88888880.txt)
$(call forceremove,$(SECURETARGETDIR)/88888881.cre)
$(call forceremove,$(SECURETARGETDIR)/00022222.txt)
ifeq ($(findstring WINS,$(PLATFORM)),WINS)
$(call forceremove,$(PCCENREPDATADIR)/000001ff.txt)
$(call forceremove,$(PCCENREPDATADIR)/00001fff.cre)
$(call forceremove,$(PCCENREPDATADIR)/000002ff.cre)
$(call forceremove,$(PCCENREPDATADIR)/88888880.txt)
$(call forceremove,$(PCCENREPDATADIR)/88888881.cre)
$(call forceremove,$(PCCENREPDATADIR)/ref_winscwcre.cre)
$(call forceremove,$(PCCENREPDATADIR)/ref_winscwtxt.cre)
$(call forceremove,$(PCCENREPDATADIR)/copy000001ff.txt)
$(call forceremove,$(PCCENREPDATADIR)/copy00001fff.cre)
$(call forceremove,$(PCCENREPDATADIR)/copy000002ff.cre)
$(call forceremove,$(PCCENREPDATADIR)/00022222.txt)
$(call forceremove,$(PCCENREPDATADIR)/copy00022222.cre)
$(call forceremove,$(PCCENREPTESTDIR)/000001ff.txt)
$(call forceremove,$(PCCENREPTESTDIR)/00001fff.cre)
$(call forceremove,$(PCCENREPTESTDIR)/copy00001fff.cre)
$(call forceremove,$(PCCENREPTESTDIR)/00022222.txt)
$(call forceremove,$(PCCENREPTESTDIR)/copy00022222.cre)
endif
else
$(call forceremove,$(PCCENREPPCTESTDIR)/000001ff.txt)
$(call forceremove,$(PCCENREPPCTESTDIR)/00001fff.cre)
$(call forceremove,$(PCCENREPPCTESTDIR)/copy000001ff.txt)
$(call forceremove,$(PCCENREPPCTESTDIR)/copy00001fff.cre)
$(call forceremove,$(PCCENREPPCTESTDIR)/000002ff.cre)
$(call forceremove,$(PCCENREPPCTESTDIR)/copy000002ff.cre)
$(call forceremove,$(PCCENREPPCTESTDIR)/ref_winscwcre.cre)
$(call forceremove,$(PCCENREPPCTESTDIR)/ref_winscwtxt.cre)
$(call forceremove,$(PCCENREPPCTESTDIR)/88888880.txt)
$(call forceremove,$(PCCENREPPCTESTDIR)/88888881.cre)
$(call forceremove,$(PCCENREPPCTESTDIR)/00022222.txt)
$(call forceremove,$(PCCENREPPCTESTDIR)/copy00022222.cre)
endif
RELEASABLES :
ifneq ($(findstring TOOLS2,$(PLATFORM)),TOOLS2)
@echo $(SECURETARGETDIR)/000001ff.txt
@echo $(SECURETARGETDIR)/00001fff.cre
@echo $(SECURETARGETDIR)/000002ff.cre
@echo $(SECURETARGETDIR)/88888880.txt
@echo $(SECURETARGETDIR)/88888881.cre
@echo $(SECURETARGETDIR)/00022222.txt
ifeq ($(findstring WINS,$(PLATFORM)),WINS)
@echo $(PCCENREPDATADIR)/000001ff.txt
@echo $(PCCENREPDATADIR)/00001fff.cre
@echo $(PCCENREPDATADIR)/000002ff.cre
@echo $(PCCENREPDATADIR)/88888880.txt
@echo $(PCCENREPDATADIR)/88888881.cre
@echo $(PCCENREPDATADIR)/ref_winscwcre.cre
@echo $(PCCENREPDATADIR)/ref_winscwtxt.cre
@echo $(PCCENREPDATADIR)/copy000001ff.txt
@echo $(PCCENREPDATADIR)/copy00001fff.cre
@echo $(PCCENREPDATADIR)/copy000002ff.cre
@echo $(PCCENREPDATADIR)/00022222.txt
@echo $(PCCENREPDATADIR)/copy00022222.cre
@echo $(PCCENREPTESTDIR)/000001ff.txt
@echo $(PCCENREPTESTDIR)/00001fff.cre
@echo $(PCCENREPTESTDIR)/copy00001fff.cre
@echo $(PCCENREPTESTDIR)/00022222.txt
@echo $(PCCENREPTESTDIR)/copy00022222.cre
endif
else
@echo $(PCCENREPPCTESTDIR)/000001ff.txt
@echo $(PCCENREPPCTESTDIR)/00001fff.cre
@echo $(PCCENREPPCTESTDIR)/copy000001ff.txt
@echo $(PCCENREPPCTESTDIR)/copy00001fff.cre
@echo $(PCCENREPPCTESTDIR)/000002ff.cre
@echo $(PCCENREPPCTESTDIR)/copy000002ff.cre
@echo $(PCCENREPPCTESTDIR)/ref_winscwcre.cre
@echo $(PCCENREPPCTESTDIR)/ref_winscwtxt.cre
@echo $(PCCENREPPCTESTDIR)/88888880.txt
@echo $(PCCENREPPCTESTDIR)/88888881.cre
@echo $(PCCENREPPCTESTDIR)/00022222.txt
@echo $(PCCENREPPCTESTDIR)/copy00022222.cre
endif
MAKMAKE : DO_NOTHING
RESOURCE : DO_NOTHING
SAVESPACE : DO_NOTHING
FREEZE : DO_NOTHING
LIB : DO_NOTHING
CLEANLIB : DO_NOTHING
FINAL : DO_NOTHING
ROMFILE : DO_NOTHING