diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-03-05 08:08:47 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-03-05 08:08:47 +0000 |
commit | 692477d411ec4e489caa04308ab6ed12edb3646d (patch) | |
tree | a3650c669a7e91f9dbb07c0e7fe8edc7b9b00ce9 /UnixPkg/UnixPkgX64.fdf | |
parent | 2dcef689963d9f975b0d792e677c2d43cf3cc995 (diff) | |
download | edk2-692477d411ec4e489caa04308ab6ed12edb3646d.zip edk2-692477d411ec4e489caa04308ab6ed12edb3646d.tar.gz edk2-692477d411ec4e489caa04308ab6ed12edb3646d.tar.bz2 |
UnixPkg: Fix build for Linux
UnixPkg/UnixSnpDxe is currently BSD/OS X specific.
Therefore we only build it if "-D NETWORK_SUPPORT"
is used on the build command line.
UnixPkg/build.sh and UnixPkg/build64.sh are updated to
automatically define NETWORK_SUPPORT if building on OS X.
<net/if_dl.h> and <net/bpf.h> are also only included in
UnixPkg/Include/Common/UnixInclude.h if __APPLE__ is defined.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11346 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'UnixPkg/UnixPkgX64.fdf')
-rw-r--r-- | UnixPkg/UnixPkgX64.fdf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/UnixPkg/UnixPkgX64.fdf b/UnixPkg/UnixPkgX64.fdf index 224c533..6ac1cdc 100644 --- a/UnixPkg/UnixPkgX64.fdf +++ b/UnixPkg/UnixPkgX64.fdf @@ -232,7 +232,9 @@ INF MdeModulePkg/Application/HelloWorld/HelloWorld.inf #
# Network stack drivers
#
+!if $(NETWORK_SUPPORT)
INF UnixPkg/UnixSnpDxe/UnixSnpDxe.inf
+!endif
INF MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
INF MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
INF MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
|