acpica/generate/efi/Makefile.rules
Lv Zheng 3d7add2b94 EFI: Add build environment support for GNU EFI development.
This patch adds build environment for GNU EFI shell development.

Note that only the Makefiles used by EFI development are created in this
patch, actual OSL is not implemented and ACPICA applications are enabled in
this patch. Lv Zheng.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
2014-06-12 15:16:22 +08:00

27 lines
528 B
Makefile

#
# Common rules for generation of ACPICA utilities
#
# BIN/PROG.efi - Copies the utility to the local bin directory
# PROG.efi - Converts the shared library into EFI executable
# PROG.so - Builds the utility into a shared library
#
../$(BINDIR)/$(PROG).efi : $(PROG).efi
$(COPYPROG)
$(PROG).efi : $(PROG).so
$(OBJCOPYPROG)
$(PROG).so : $(OBJECTS)
$(LINKPROG)
$(OBJDIR)/%.o : %.c $(HEADERS) $(ACPICA_HEADERS)
$(COMPILEOBJ)
clean :
rm -f ../$(BINDIR)/$(PROG).efi
rm -f $(PROG).efi
rm -f $(PROG).so
rm -f $(OBJECTS)