mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-08 14:24:24 +02:00
This change added the build script to cross compile the base tool binaries for Linux ARM/AARCH64 systems. The needed libuuid system library is pulled from source file and rebuilt to support the corresponding library dependencies. Individual tools' makefiles are also updated to link the cross compiled library as well. The EDK2 base tool build script was also updated to support such change. This was tested functional on Linux ARM host system. Cc: Rebecca Cran <rebecca@bsdio.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Bob Feng <bob.c.feng@intel.com> Cc: Yuwei Chen <yuwei.chen@intel.com> Signed-off-by: Kun Qin <kun.qin@microsoft.com>
28 lines
498 B
Makefile
28 lines
498 B
Makefile
## @file
|
|
# GNU/Linux makefile for 'GenSec' module build.
|
|
#
|
|
# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
#
|
|
MAKEROOT ?= ..
|
|
|
|
APPNAME = GenSec
|
|
|
|
OBJECTS = GenSec.o
|
|
|
|
include $(MAKEROOT)/Makefiles/app.makefile
|
|
|
|
LIBS = -lCommon
|
|
ifeq ($(CYGWIN), CYGWIN)
|
|
LIBS += -L/lib/e2fsprogs -luuid
|
|
endif
|
|
|
|
ifeq ($(LINUX), Linux)
|
|
ifndef CROSS_LIB_UUID
|
|
LIBS += -luuid
|
|
else
|
|
LIBS += -L$(CROSS_LIB_UUID)
|
|
endif
|
|
endif
|
|
|