mirror of
https://github.com/acpica/acpica/
synced 2025-02-24 01:14:46 +03:00

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>
27 lines
528 B
Makefile
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)
|