author | Rich Burridge <rich.burridge@oracle.com> |
Thu, 23 Feb 2017 13:46:52 -0800 | |
changeset 7687 | 1093e2a9adbd |
parent 7222 | 37e367b978c0 |
permissions | -rw-r--r-- |
7222 | 1 |
# |
2 |
# CDDL HEADER START |
|
3 |
# |
|
4 |
# The contents of this file are subject to the terms of the |
|
5 |
# Common Development and Distribution License (the "License"). |
|
6 |
# You may not use this file except in compliance with the License. |
|
7 |
# |
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
9 |
# or http://www.opensolaris.org/os/licensing. |
|
10 |
# See the License for the specific language governing permissions |
|
11 |
# and limitations under the License. |
|
12 |
# |
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 |
# |
|
19 |
# CDDL HEADER END |
|
20 |
# |
|
21 |
||
22 |
# |
|
7687
1093e2a9adbd
25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents:
7222
diff
changeset
|
23 |
# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved. |
7222 | 24 |
# |
25 |
||
26 |
BUILD_ARCH= i386 |
|
27 |
BUILD_BITS= 64 |
|
28 |
# component fails to build with Studio |
|
29 |
COMPILER= gcc |
|
30 |
include ../../make-rules/shared-macros.mk |
|
31 |
||
32 |
COMPONENT_NAME= shim |
|
33 |
COMPONENT_VERSION= 0.9 |
|
34 |
COMPONENT_PROJECT_URL= https://github.com/rhinstaller/$(COMPONENT_NAME) |
|
35 |
COMPONENT_ARCHIVE_HASH= \ |
|
36 |
sha256:d277d7bea0b5d554dacf284d84252a5e995fb4ef54b6de5ec6296c6c2a9a21bd |
|
37 |
COMPONENT_ARCHIVE_URL= https://github.com/rhinstaller/$(COMPONENT_NAME)/archive/$(COMPONENT_VERSION).tar.gz |
|
38 |
COMPONENT_BUGDB= boot/shim |
|
7687
1093e2a9adbd
25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents:
7222
diff
changeset
|
39 |
COMPONENT_ANITYA_ID= 10719 |
7222 | 40 |
|
41 |
TPNO= 25414 |
|
42 |
||
43 |
BUILD_STYLE= justmake |
|
44 |
TEST_TARGET= $(NO_TESTS) |
|
45 |
include $(WS_MAKE_RULES)/common.mk |
|
46 |
||
47 |
COMPONENT_PREP_ACTION +=(cp elf_x86_64_efi_sol2.lds $(SOURCE_DIR)) |
|
48 |
||
49 |
ORACLE_CERT=$(SOURCE_DIR)/../OL7Secureboot.cer |
|
50 |
export VENDOR_CERT_FILE=$(ORACLE_CERT) |
|
51 |
PATH=$(GNUBIN):/usr/bin |
|
52 |
||
53 |
REQUIRED_PACKAGES += developer/gcc |
|
54 |
REQUIRED_PACKAGES += developer/gnu-binutils |
|
55 |
ifeq ($(MACH), i386) |
|
56 |
REQUIRED_PACKAGES += developer/sbsigntool |
|
57 |
REQUIRED_PACKAGES += library/libgnuefi |
|
58 |
endif |
|
59 |
REQUIRED_PACKAGES += text/text-utilities |