7220N/A#
7220N/A# CDDL HEADER START
7220N/A#
7220N/A# The contents of this file are subject to the terms of the
7220N/A# Common Development and Distribution License (the "License").
7220N/A# You may not use this file except in compliance with the License.
7220N/A#
7220N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7220N/A# or http://www.opensolaris.org/os/licensing.
7220N/A# See the License for the specific language governing permissions
7220N/A# and limitations under the License.
7220N/A#
7220N/A# When distributing Covered Code, include this CDDL HEADER in each
7220N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7220N/A# If applicable, add the following below this CDDL HEADER, with the
7220N/A# fields enclosed by brackets "[]" replaced with your own identifying
7220N/A# information: Portions Copyright [yyyy] [name of copyright owner]
7220N/A#
7220N/A# CDDL HEADER END
7220N/A#
7220N/A
7220N/A#
7220N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
7220N/A#
7220N/A
7220N/ABUILD_ARCH= i386
7220N/ABUILD_BITS= 64
7220N/A# component fails to build with Studio
7220N/ACOMPILER= gcc
7220N/Ainclude ../../make-rules/shared-macros.mk
7220N/A
7220N/ACOMPONENT_NAME= shim
7220N/ACOMPONENT_VERSION= 0.9
7220N/ACOMPONENT_PROJECT_URL= https://github.com/rhinstaller/$(COMPONENT_NAME)
7220N/ACOMPONENT_ARCHIVE_HASH= \
7220N/A sha256:d277d7bea0b5d554dacf284d84252a5e995fb4ef54b6de5ec6296c6c2a9a21bd
7220N/ACOMPONENT_ARCHIVE_URL= https://github.com/rhinstaller/$(COMPONENT_NAME)/archive/$(COMPONENT_VERSION).tar.gz
7220N/ACOMPONENT_BUGDB= boot/shim
7220N/A
7220N/ATPNO= 25414
7220N/A
7220N/ABUILD_STYLE= justmake
7220N/ATEST_TARGET= $(NO_TESTS)
7220N/Ainclude $(WS_MAKE_RULES)/common.mk
7220N/A
7220N/ACOMPONENT_PREP_ACTION +=(cp elf_x86_64_efi_sol2.lds $(SOURCE_DIR))
7220N/A
7220N/AORACLE_CERT=$(SOURCE_DIR)/../OL7Secureboot.cer
7220N/Aexport VENDOR_CERT_FILE=$(ORACLE_CERT)
7220N/APATH=$(GNUBIN):/usr/bin
7220N/A
7220N/AREQUIRED_PACKAGES += developer/gcc
7220N/AREQUIRED_PACKAGES += developer/gnu-binutils
7220N/Aifeq ($(MACH), i386)
7220N/AREQUIRED_PACKAGES += developer/sbsigntool
7220N/AREQUIRED_PACKAGES += library/libgnuefi
7220N/Aendif
7220N/AREQUIRED_PACKAGES += text/text-utilities