9970 loader: fix EFI getchar() for multiple consoles
[unleashed.git] / usr / src / boot / sys / boot / efi / Makefile
blobda61badebf948bfa1ea97060bc93bce343fceeeb
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
5 # 1.0 of the CDDL.
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>
16 .KEEP_STATE:
18 include $(SRC)/Makefile.master
20 SUBDIRS = libefi boot1 loader
22 #.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm"
23 #.if ${MK_FDT} != "no"
24 #SUBDIRS+= fdt
25 #.endif
26 #.endif
29 all install clean clobber: $(SUBDIRS)
31 all := TARGET = all
32 clean := TARGET = clean
33 clobber := TARGET = clobber
34 install := TARGET = install
36 # boot1 and loader both link against libefi
37 boot1: libefi
38 loader: libefi
40 $(SUBDIRS): FRC
41 @cd $@; pwd; $(MAKE) $(MFLAGS) $(TARGET)
43 FRC: