InOsEmuPkg/Unix: Enable single-pass build with Linux

For Linux builds the thunk layer ('SEC') and main platform
firmware image will be built in a single build pass.

Signed-off-by: jljusten

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11867 6f19259b-4bc3-4df7-8a09-765794883524
diff --git a/InOsEmuPkg/Unix/UnixX64.dsc b/InOsEmuPkg/Unix/UnixX64.dsc
index a514f4e..995e0e5 100644
--- a/InOsEmuPkg/Unix/UnixX64.dsc
+++ b/InOsEmuPkg/Unix/UnixX64.dsc
@@ -285,12 +285,14 @@
   MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf 

 

 [Components]

-!if $(SEC_ONLY)

+!ifdef $(UNIX_SEC_BUILD)

   ##

   #  Emulator, OS POSIX application

   ##

   InOsEmuPkg/Unix/Sec/SecMain.inf

-!else

+!endif

+

+!ifndef $(SKIP_MAIN_BUILD)

   #

   # Generic SEC

   #

@@ -441,4 +443,5 @@
   }

 !endif

 

-!endif  

+!endif

+