瀏覽代碼

[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 6 年之前
父節點
當前提交
c10c67840d
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 = [ $@ ]