makebootable: Add in needed GPT libuuid on cross-platform builds
This commit is contained in:
parent
228e5c39f5
commit
832f090ea8
|
@ -11,11 +11,14 @@ SEARCH_SOURCE
|
||||||
USES_BE_API on <build>makebootable = true ;
|
USES_BE_API on <build>makebootable = true ;
|
||||||
|
|
||||||
local hostPlatformSources ;
|
local hostPlatformSources ;
|
||||||
|
local hostPlatformLibs ;
|
||||||
if $(HOST_PLATFORM) = linux || $(HOST_PLATFORM) = freebsd || $(HOST_PLATFORM) = darwin {
|
if $(HOST_PLATFORM) = linux || $(HOST_PLATFORM) = freebsd || $(HOST_PLATFORM) = darwin {
|
||||||
UsePrivateHeaders interface ;
|
UsePrivateHeaders interface ;
|
||||||
|
UseHeaders [ FDirName $(HAIKU_TOP) src libs uuid ] ;
|
||||||
|
|
||||||
hostPlatformSources = PartitionMap.cpp PartitionMapParser.cpp
|
hostPlatformSources = PartitionMap.cpp PartitionMapParser.cpp
|
||||||
crc32.cpp Header.cpp utility.cpp ;
|
crc32.cpp Header.cpp utility.cpp ;
|
||||||
|
hostPlatformLibs = libuuid_kernel.a ;
|
||||||
|
|
||||||
SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src add-ons kernel
|
SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src add-ons kernel
|
||||||
partitioning_systems intel ] ;
|
partitioning_systems intel ] ;
|
||||||
|
@ -35,7 +38,7 @@ if $(HOST_PLATFORM) != darwin && $(HOST_PLATFORM) != cygwin
|
||||||
BuildPlatformMain <build>makebootable :
|
BuildPlatformMain <build>makebootable :
|
||||||
makebootable.cpp
|
makebootable.cpp
|
||||||
$(hostPlatformSources)
|
$(hostPlatformSources)
|
||||||
: $(HOST_LIBBE) $(HOST_LIBSTDC++) $(HOST_LIBSUPC++)
|
: $(HOST_LIBBE) $(HOST_LIBSTDC++) $(HOST_LIBSUPC++) $(hostPlatformLibs)
|
||||||
;
|
;
|
||||||
|
|
||||||
# on Darwin write the boot loader code into an attribute
|
# on Darwin write the boot loader code into an attribute
|
||||||
|
|
Loading…
Reference in New Issue