mirror of
https://github.com/clearlinux/graphene.git
synced 2026-09-07 14:21:56 +00:00
[Pal/Linux/security] adjust pal loader directory
Now pal-Linux isn't created in Pal/src any more. Adjust its directory. Signed-off-by: Isaku Yamahata <isaku.yamahata@gmail.com>
This commit is contained in:
committed by
Don Porter
parent
d8ee4eabe5
commit
80e5e7dd75
@@ -3,7 +3,7 @@ LD = ld
|
||||
|
||||
CFLAGS = -Wall -fPIC -O2 -std=c11 -Wall -U_FORTIFY_SOURCE \
|
||||
-fno-stack-protector -fno-builtin \
|
||||
-DPAL_LOADER_PATH="$(abspath ../../libpal.so)" \
|
||||
-DRUNTIME_DIR=$(abspath $(RUNTIME_DIR)) \
|
||||
-I. -I../../host/Linux/include -I../.. -I../../../include -I../../host/Linux \
|
||||
-I../../../lib -I../../../linux-kernel/graphene
|
||||
LDFLAGS = -shared -nostdlib -z combreloc -z defs --version-script pal-sec.map -e start
|
||||
|
||||
@@ -10,7 +10,10 @@
|
||||
|
||||
#include "api.h"
|
||||
|
||||
#define PAL_LOADER XSTRINGIFY(PAL_LOADER_PATH)
|
||||
/* RUNTIME_FILE() is defined in pal_internal.h, and including pal_internal.h
|
||||
* causes compile issue. So PAL_LOADER is defined without RUNTIME_FILE
|
||||
* as workaround. */
|
||||
#define PAL_LOADER XSTRINGIFY(RUNTIME_DIR)"/pal-Linux"
|
||||
|
||||
#ifdef __x86_64__
|
||||
# include "sysdep-x86_64.h"
|
||||
|
||||
Reference in New Issue
Block a user