1 # meta-Makefile for rEFInd filesystem drivers
3 # Most of the functionality is in Make.tiano; this Makefile merely
4 # deletes critical temporary files and calls Make.tiano with the
5 # name of the driver to be built. This is done because of a dependency
6 # in the fsw_efi.c file on the filesystem type; this file must be
7 # recompiled for each new filesystem built.
9 INSTALL_DIR
= /boot
/efi
/EFI
/refind
/drivers
11 FILESYSTEMS
= ext2 reiserfs iso9660 hfs
12 TEXTFILES
= $(FILESYSTEMS
:=*.txt
)
18 make DRIVERNAME
=ext2
-f Make.tiano
22 make DRIVERNAME
=reiserfs
-f Make.tiano
26 make DRIVERNAME
=iso9660
-f Make.tiano
30 make DRIVERNAME
=hfs
-f Make.tiano
35 rm -f
*~
*.bak
*.o
*.efi
*.dll err.txt
$(TEXTFILES
)
39 mkdir
-p
$(INSTALL_DIR
)
40 cp
*.efi
$(INSTALL_DIR
)