2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2015 Toomas Soome <tsoome@me.com>
18 include $(SRC
)/Makefile.master
20 SUBDIRS
= libefi boot1 loader
22 #.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm"
23 #.if ${MK_FDT} != "no"
29 all install clean clobber: $(SUBDIRS
)
32 clean := TARGET
= clean
33 clobber := TARGET
= clobber
34 install := TARGET
= install
36 # boot1 and loader both link against libefi
41 @cd
$@
; pwd
; $(MAKE
) $(MFLAGS
) $(TARGET
)