Browse Source

[LibOS] Makefile.rules: Specify path to pal-symbols via simple assignment

Previously, Makefile.rules specified the absolute path to pal-symbols
file via recursive assignment ("="). However, because Makefile.rules
is included from other Makefiles, this led to incorrect path
("graphene/Pal/src/host/Linux/Pal/src/pal-symbols"). This commit
replaces recursive assignment "=" with simple only-once ":=".
Dmitrii Kuvaiskii 4 years ago
parent
commit
c10c67840d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Makefile.rules

+ 1 - 1
Makefile.rules

@@ -144,7 +144,7 @@ quiet_cmd_sgx_manifest_dependency = [ $@ ]
 	 echo "") > $@
 
 # pal map
-PAL_SYMBOL_FILE = $(dir $(abspath $(lastword $(MAKEFILE_LIST))))Pal/src/pal-symbols
+PAL_SYMBOL_FILE := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))Pal/src/pal-symbols
 PAL_SYMBOLS = $(shell sed -e 's|$$|;|g' $(PAL_SYMBOL_FILE))
 
 quiet_cmd_pal_map = [ $@ ]