]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/GNUmakefile
BaseTools/GenFw: Disable support for R_X86_64_32S
[mirror_edk2.git] / BaseTools / Source / C / GNUmakefile
index 53ddb67439d391e3dc96b6c36f7ddba5d7537d03..37421ad9f00b3d3b7e126029a18d19ffd01f8c19 100644 (file)
@@ -1,7 +1,7 @@
 ## @file\r
 #  GNU/Linux makefile for C tools build.\r
 #\r
-#  Copyright (c) 2007 - 2012, Intel Corporation. All rights reserved.<BR>\r
+#  Copyright (c) 2007 - 2017, Intel Corporation. All rights reserved.<BR>\r
 #\r
 #  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
@@ -44,15 +44,17 @@ MAKEROOT = .
 \r
 include Makefiles/header.makefile\r
 \r
-all: makerootdir subdirs $(MAKEROOT)/libs\r
+all: makerootdir subdirs\r
        @echo Finished building BaseTools C Tools with HOST_ARCH=$(HOST_ARCH)\r
 \r
 LIBRARIES = Common\r
+VFRAUTOGEN = VfrCompile/VfrLexer.h\r
 # NON_BUILDABLE_APPLICATIONS = GenBootSector BootSectImage\r
 APPLICATIONS = \\r
+  BrotliCompress \\r
+  VfrCompile \\r
   GnuGenBootSector \\r
   BootSectImage \\r
-  BrotliCompress \\r
   EfiLdrImage \\r
   EfiRom \\r
   GenFfs \\r
@@ -66,10 +68,13 @@ APPLICATIONS = \
   Split \\r
   TianoCompress \\r
   VolInfo \\r
-  VfrCompile\r
+  DevicePath\r
 \r
 SUBDIRS := $(LIBRARIES) $(APPLICATIONS)\r
 \r
+$(LIBRARIES): $(MAKEROOT)/libs\r
+$(APPLICATIONS): $(LIBRARIES) $(MAKEROOT)/bin $(VFRAUTOGEN)\r
+\r
 .PHONY: outputdirs\r
 makerootdir:\r
        -mkdir -p $(MAKEROOT)\r
@@ -83,6 +88,9 @@ $(SUBDIRS):
 $(patsubst %,%-clean,$(sort $(SUBDIRS))):\r
        -$(MAKE) -C $(@:-clean=) clean\r
 \r
+$(VFRAUTOGEN): VfrCompile/VfrSyntax.g \r
+       $(MAKE) -C VfrCompile VfrLexer.h\r
+\r
 clean:  $(patsubst %,%-clean,$(sort $(SUBDIRS)))\r
 \r
 clean: localClean\r