|
|
2e8da4 |
From 02dbc54913d8274ecb24239ed016e5b8eedf41cd Mon Sep 17 00:00:00 2001
|
|
|
2e8da4 |
From: Laszlo Ersek <lersek@redhat.com>
|
|
|
2e8da4 |
Date: Tue, 9 Sep 2014 20:50:23 +0200
|
|
|
2e8da4 |
Subject: [PATCH 2/4] add custom Makefile for EfiRom (RHEL only)
|
|
|
2e8da4 |
|
|
|
2e8da4 |
Message-id: <1410295825-13989-3-git-send-email-lersek@redhat.com>
|
|
|
2e8da4 |
Patchwork-id: 60928
|
|
|
2e8da4 |
O-Subject: [RHEL-7.1 ipxe PATCH 2/4] add custom Makefile for EfiRom (RHEL only)
|
|
|
2e8da4 |
Bugzilla: 1084561
|
|
|
2e8da4 |
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
2e8da4 |
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
2e8da4 |
RH-Acked-by: Gerd Hoffmann <kraxel@redhat.com>
|
|
|
2e8da4 |
|
|
|
2e8da4 |
The build flags have been captured from the BaseTools build log.
|
|
|
2e8da4 |
|
|
|
2e8da4 |
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
|
|
|
2e8da4 |
---
|
|
|
2e8da4 |
EfiRom/Makefile | 43 +++++++++++++++++++++++++++++++++++++++++++
|
|
|
2e8da4 |
1 file changed, 43 insertions(+)
|
|
|
2e8da4 |
create mode 100644 EfiRom/Makefile
|
|
|
2e8da4 |
|
|
|
2e8da4 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
2e8da4 |
---
|
|
|
2e8da4 |
EfiRom/Makefile | 43 +++++++++++++++++++++++++++++++++++++++++++
|
|
|
2e8da4 |
1 files changed, 43 insertions(+), 0 deletions(-)
|
|
|
2e8da4 |
create mode 100644 EfiRom/Makefile
|
|
|
2e8da4 |
|
|
|
2e8da4 |
diff --git a/EfiRom/Makefile b/EfiRom/Makefile
|
|
|
2e8da4 |
new file mode 100644
|
|
|
2e8da4 |
index 0000000..30914d9
|
|
|
2e8da4 |
--- /dev/null
|
|
|
2e8da4 |
+++ b/EfiRom/Makefile
|
|
|
2e8da4 |
@@ -0,0 +1,43 @@
|
|
|
2e8da4 |
+.POSIX:
|
|
|
2e8da4 |
+
|
|
|
2e8da4 |
+CFLAGS = -fshort-wchar -fno-strict-aliasing -I Common -I Include -I Include/X64
|
|
|
2e8da4 |
+LDFLAGS = -s
|
|
|
2e8da4 |
+
|
|
|
2e8da4 |
+EfiRom: EfiRom.o CommonLib.o EfiUtilityMsgs.o ParseInf.o EfiCompress.o
|
|
|
2e8da4 |
+ $(CC) -o EfiRom $(LDFLAGS) EfiRom.o CommonLib.o EfiUtilityMsgs.o \
|
|
|
2e8da4 |
+ ParseInf.o EfiCompress.o
|
|
|
2e8da4 |
+
|
|
|
2e8da4 |
+EfiRom.o: EfiRom.c Common/EfiUtilityMsgs.h Include/Common/UefiBaseTypes.h \
|
|
|
2e8da4 |
+ Include/Common/BaseTypes.h Include/X64/ProcessorBind.h Common/ParseInf.h \
|
|
|
2e8da4 |
+ Common/MemoryFile.h EfiRom.h Include/IndustryStandard/PeImage.h \
|
|
|
2e8da4 |
+ Include/IndustryStandard/pci22.h Include/IndustryStandard/pci23.h \
|
|
|
2e8da4 |
+ Include/IndustryStandard/pci30.h Include/IndustryStandard/EfiPci.h \
|
|
|
2e8da4 |
+ Include/IndustryStandard/pci30.h Common/Compress.h Common/CommonLib.h \
|
|
|
2e8da4 |
+ Include/Common/BuildVersion.h Common/CommonLib.h
|
|
|
2e8da4 |
+ $(CC) $(CFLAGS) -c EfiRom.c
|
|
|
2e8da4 |
+
|
|
|
2e8da4 |
+CommonLib.o: Common/CommonLib.c Common/CommonLib.h \
|
|
|
2e8da4 |
+ Include/Common/UefiBaseTypes.h Include/Common/BaseTypes.h \
|
|
|
2e8da4 |
+ Include/X64/ProcessorBind.h Include/Common/BuildVersion.h \
|
|
|
2e8da4 |
+ Common/EfiUtilityMsgs.h
|
|
|
2e8da4 |
+ $(CC) $(CFLAGS) -c Common/CommonLib.c
|
|
|
2e8da4 |
+
|
|
|
2e8da4 |
+EfiUtilityMsgs.o: Common/EfiUtilityMsgs.c Common/EfiUtilityMsgs.h \
|
|
|
2e8da4 |
+ Include/Common/UefiBaseTypes.h Include/Common/BaseTypes.h \
|
|
|
2e8da4 |
+ Include/X64/ProcessorBind.h
|
|
|
2e8da4 |
+ $(CC) $(CFLAGS) -c Common/EfiUtilityMsgs.c
|
|
|
2e8da4 |
+
|
|
|
2e8da4 |
+ParseInf.o: Common/ParseInf.c Common/EfiUtilityMsgs.h \
|
|
|
2e8da4 |
+ Include/Common/UefiBaseTypes.h Include/Common/BaseTypes.h \
|
|
|
2e8da4 |
+ Include/X64/ProcessorBind.h Common/ParseInf.h Common/MemoryFile.h \
|
|
|
2e8da4 |
+ Common/CommonLib.h Include/Common/BuildVersion.h
|
|
|
2e8da4 |
+ $(CC) $(CFLAGS) -c Common/ParseInf.c
|
|
|
2e8da4 |
+
|
|
|
2e8da4 |
+EfiCompress.o: Common/EfiCompress.c Common/Compress.h Common/CommonLib.h \
|
|
|
2e8da4 |
+ Include/Common/UefiBaseTypes.h Include/Common/BaseTypes.h \
|
|
|
2e8da4 |
+ Include/X64/ProcessorBind.h Include/Common/BuildVersion.h
|
|
|
2e8da4 |
+ $(CC) $(CFLAGS) -c Common/EfiCompress.c
|
|
|
2e8da4 |
+
|
|
|
2e8da4 |
+clean:
|
|
|
2e8da4 |
+ rm -f EfiRom EfiRom.o CommonLib.o EfiUtilityMsgs.o ParseInf.o \
|
|
|
2e8da4 |
+ EfiCompress.o
|
|
|
2e8da4 |
--
|
|
|
2e8da4 |
1.7.1
|
|
|
2e8da4 |
|