author | Jesse Butler <jesse.butler@oracle.com> |
Fri, 29 Jul 2016 11:50:34 -0700 | |
changeset 6527 | 106e3067f7cc |
parent 5682 | 94c0ca64c022 |
child 6552 | 402379bc1b60 |
permissions | -rw-r--r-- |
5182
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
1 |
# |
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
3 |
# |
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
7 |
# |
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
12 |
# |
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
18 |
# |
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
20 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5266
diff
changeset
|
21 |
|
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5266
diff
changeset
|
22 |
# |
5265
444c51b844e7
22535919 Prompting for AI manifest failed - Memory fault - related to libffi
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
5182
diff
changeset
|
23 |
# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. |
5182
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
24 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5266
diff
changeset
|
25 |
BUILD_BITS= 64_and_32 |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5266
diff
changeset
|
26 |
COMPILER= gcc |
5182
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
27 |
include ../../make-rules/shared-macros.mk |
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
28 |
|
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
29 |
COMPONENT_NAME= libffi |
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
30 |
COMPONENT_VERSION= 3.0.9 |
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
31 |
COMPONENT_PROJECT_URL= http://sourceware.org/libffi/ |
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
32 |
COMPONENT_ARCHIVE_HASH= \ |
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
33 |
sha256:589d25152318bc780cd8919b14670793f4971d9838dab46ed38c32b3ee92c452 |
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
34 |
COMPONENT_ARCHIVE_URL= ftp://sources.redhat.com/pub/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE) |
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
35 |
COMPONENT_BUGDB= library/libffi |
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
36 |
|
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
37 |
TPNO= 5930 |
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
38 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5266
diff
changeset
|
39 |
include $(WS_MAKE_RULES)/common.mk |
5182
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
40 |
|
5266
028461eee75e
22535289 libffi Makefile says NO_TESTS but it's wrong
Rich Burridge <rich.burridge@oracle.com>
parents:
5265
diff
changeset
|
41 |
COMPONENT_TEST_DIR = $(@D)/testsuite |
028461eee75e
22535289 libffi Makefile says NO_TESTS but it's wrong
Rich Burridge <rich.burridge@oracle.com>
parents:
5265
diff
changeset
|
42 |
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master |
028461eee75e
22535289 libffi Makefile says NO_TESTS but it's wrong
Rich Burridge <rich.burridge@oracle.com>
parents:
5265
diff
changeset
|
43 |
|
028461eee75e
22535289 libffi Makefile says NO_TESTS but it's wrong
Rich Burridge <rich.burridge@oracle.com>
parents:
5265
diff
changeset
|
44 |
COMPONENT_TEST_TRANSFORMS += \ |
028461eee75e
22535289 libffi Makefile says NO_TESTS but it's wrong
Rich Burridge <rich.burridge@oracle.com>
parents:
5265
diff
changeset
|
45 |
'-e "s|^Test Run By.*$$|XXX_REMOVE_XXX|g" ' \ |
028461eee75e
22535289 libffi Makefile says NO_TESTS but it's wrong
Rich Burridge <rich.burridge@oracle.com>
parents:
5265
diff
changeset
|
46 |
'-e "s|^Native configuration is.*$$|XXX_REMOVE_XXX|g" ' \ |
028461eee75e
22535289 libffi Makefile says NO_TESTS but it's wrong
Rich Burridge <rich.burridge@oracle.com>
parents:
5265
diff
changeset
|
47 |
'-e "s|^make.*: Leaving directory.*$$|XXX_REMOVE_XXX|g" ' \ |
028461eee75e
22535289 libffi Makefile says NO_TESTS but it's wrong
Rich Burridge <rich.burridge@oracle.com>
parents:
5265
diff
changeset
|
48 |
'-e "s|^make.*: Entering directory.*$$|XXX_REMOVE_XXX|g" ' \ |
028461eee75e
22535289 libffi Makefile says NO_TESTS but it's wrong
Rich Burridge <rich.burridge@oracle.com>
parents:
5265
diff
changeset
|
49 |
'-e "/^XXX_REMOVE_XXX$$/d" ' |
028461eee75e
22535289 libffi Makefile says NO_TESTS but it's wrong
Rich Burridge <rich.burridge@oracle.com>
parents:
5265
diff
changeset
|
50 |
|
5265
444c51b844e7
22535919 Prompting for AI manifest failed - Memory fault - related to libffi
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
5182
diff
changeset
|
51 |
CFLAGS += -DFFI_MMAP_EXEC_WRIT=1 |
444c51b844e7
22535919 Prompting for AI manifest failed - Memory fault - related to libffi
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
5182
diff
changeset
|
52 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5266
diff
changeset
|
53 |
CONFIGURE_OPTIONS += --disable-raw-api |
5265
444c51b844e7
22535919 Prompting for AI manifest failed - Memory fault - related to libffi
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
5182
diff
changeset
|
54 |
|
5182
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
55 |
ASLR_MODE = $(ASLR_ENABLE) |
78cc8a5782fa
15820206 SUNBT7202646 Move libffi from Desktop consolidation to Userland
Bill Rushmore <bill.rushmore@oracle.com>
parents:
diff
changeset
|
56 |
|
5265
444c51b844e7
22535919 Prompting for AI manifest failed - Memory fault - related to libffi
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
5182
diff
changeset
|
57 |
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime |