|
1 # Copyright (c) 2006-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 # Generate assembler inc files from header files |
|
15 # |
|
16 # |
|
17 |
|
18 # To guarantee there is a slash at the end of EPOCROOT in case there is not. |
|
19 # This is needed to ensure compatibility with SBSv1. |
|
20 TMPROOT:=$(subst \,/,$(EPOCROOT)) |
|
21 EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/ |
|
22 |
|
23 include $(EPOCROOT)epoc32/tools/shell/$(notdir $(basename $(SHELL))).mk |
|
24 |
|
25 |
|
26 XINCDIR := $(INC_PATH)/omap_hrp/h4 |
|
27 XINCDIR2 := $(INC_PATH)/omap_hrp/assp/omap24xx |
|
28 |
|
29 MAKMAKE : all |
|
30 |
|
31 FREEZE : |
|
32 |
|
33 LIB : all |
|
34 |
|
35 CLEANLIB : |
|
36 |
|
37 RESOURCE : |
|
38 |
|
39 FINAL : |
|
40 |
|
41 BLD SAVESPACE : all |
|
42 |
|
43 RELEASABLES : |
|
44 @echo $(XINCDIR)/nand_fbr_offset.inc |
|
45 @echo $(XINCDIR2)/omap24xxconst.inc |
|
46 |
|
47 CLEAN : |
|
48 -$(ERASE) $(call slash2generic,$(XINCDIR)/nand_fbr_offset.inc) |
|
49 # -$(ERASE) $(XINCDIR)/nand_fbr_offset.inc |
|
50 @echo $(XINCDIR2)/omap24xxconst.inc |
|
51 |
|
52 all: $(XINCDIR2)/omap24xxconst.inc $(XINCDIR)/nand_fbr_offset.inc |
|
53 |
|
54 $(XINCDIR)/nand_fbr_offset.inc : $(XINCDIR)/nand_fbr_offset.h |
|
55 perl $(EPOCROOT)epoc32/tools/h2inc.pl $(XINCDIR)/nand_fbr_offset.h $(XINCDIR)/nand_fbr_offset.inc ARMASM |
|
56 |
|
57 $(XINCDIR2)/omap24xxconst.inc : $(XINCDIR2)/omap24xxconst.h |
|
58 perl $(EPOCROOT)epoc32/tools/h2inc.pl $(XINCDIR2)/omap24xxconst.h $(XINCDIR2)/omap24xxconst.inc ARMASM |