equal
deleted
inserted
replaced
|
1 # |
|
2 # Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 # All rights reserved. |
|
4 # This component and the accompanying materials are made available |
|
5 # under the terms of the License "Eclipse Public License v1.0" |
|
6 # which accompanies this distribution, and is available |
|
7 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 # |
|
9 # Initial Contributors: |
|
10 # Nokia Corporation - initial contribution. |
|
11 # |
|
12 # Contributors: |
|
13 # |
|
14 # Description: |
|
15 # Utility makefile |
|
16 # |
|
17 |
|
18 RAPTOR_MAKE_VER:=3.81 |
|
19 |
|
20 MAKE_SOURCEDIR:=$(OUTPUTPATH)/make-$(RAPTOR_MAKE_VER) |
|
21 MAKE_TAR:=$(SBS_HOME)/util/ext/make-$(RAPTOR_MAKE_VER).tar.bz2 |
|
22 |
|
23 |
|
24 define b_make |
|
25 |
|
26 .PHONY:: make |
|
27 |
|
28 all:: make |
|
29 |
|
30 make: $(INSTALLROOT)/bin/make |
|
31 |
|
32 $(INSTALLROOT)/bin/make: $(MAKE_TAR) |
|
33 rm -rf $(MAKE_SOURCEDIR) && \ |
|
34 cd $(OUTPUTPATH) && \ |
|
35 tar -xjf $(MAKE_TAR) && \ |
|
36 ( \ |
|
37 cd $(MAKE_SOURCEDIR) && \ |
|
38 CFLAGS="-O2 $(GCCTUNE)" ./configure --prefix=$(INSTALLROOT) --disable-job-server && \ |
|
39 $(MAKE) -j8 && $(MAKE) install \ |
|
40 ) |
|
41 endef |
|
42 |
|
43 $(eval $(b_make)) |