199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# This file and its contents are supplied under the terms of the
199767f8919635c4928607450d9e0abb932109ceToomas Soome# Common Development and Distribution License ("CDDL"), version 1.0.
199767f8919635c4928607450d9e0abb932109ceToomas Soome# You may only use this file in accordance with the terms of version
199767f8919635c4928607450d9e0abb932109ceToomas Soome# 1.0 of the CDDL.
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# A full copy of the text of the CDDL should have accompanied this
199767f8919635c4928607450d9e0abb932109ceToomas Soome# source. A copy of the CDDL is also available via the Internet at
199767f8919635c4928607450d9e0abb932109ceToomas Soome# http://www.illumos.org/license/CDDL.
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome# Copyright 2015 Toomas Soome <tsoome@me.com>
199767f8919635c4928607450d9e0abb932109ceToomas Soome#
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas SoomeBINDIR= /boot
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome# Options used when building app-specific efi components
199767f8919635c4928607450d9e0abb932109ceToomas Soome# See conf/kern.mk for the correct set of these
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCFLAGS += -m64 -fPIC -ffreestanding -Wformat -msoft-float
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCFLAGS += -mno-mmx -mno-sse -mno-avx -fshort-wchar -mno-red-zone -mno-aes
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCFLAGS += -std=gnu99 -Wno-pointer-sign -Wno-empty-body
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome#CFLAGS += -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
199767f8919635c4928607450d9e0abb932109ceToomas Soome#CFLAGS += -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
199767f8919635c4928607450d9e0abb932109ceToomas Soome#CFLAGS += -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings
199767f8919635c4928607450d9e0abb932109ceToomas Soome#CFLAGS += -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wno-cast-qual
199767f8919635c4928607450d9e0abb932109ceToomas Soome#CFLAGS += -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
199767f8919635c4928607450d9e0abb932109ceToomas Soome#CFLAGS += -Wold-style-definition
199767f8919635c4928607450d9e0abb932109ceToomas Soome
199767f8919635c4928607450d9e0abb932109ceToomas Soome# include ../Makefile.inc