]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Conf/build_rule.template
BaseTools: Various typo
[mirror_edk2.git] / BaseTools / Conf / build_rule.template
index 3ab560603f42263fbaaf8b1dd765d4161df9086a..760bfae812969dcef801bfed6f4f6a0896245b0f 100755 (executable)
@@ -62,7 +62,8 @@
 #   $(BIN_DIR)          Common directory for executable files\r
 #   $(FV_DIR)           Directory to store flash image files\r
 #   $(INC)              Search path of current module\r
-#   $(INC_LIST)         A file containing search pathes of current module\r
+#   $(NASM_INC)         Search nasm file path of current module\r
+#   $(INC_LIST)         A file containing search paths of current module\r
 #   $(LIBS)             Static library files of current module\r
 #   $(<tool>_FLAGS)     Tools flags of current module\r
 #   $(MODULE_NAME)      Current module name\r
     <Command>\r
         "$(PP)" $(PP_FLAGS) $(INC) ${src} > ${d_path}(+)${s_base}.i\r
         Trim --trim-long --source-code -o ${d_path}(+)${s_base}.iii ${d_path}(+)${s_base}.i\r
-        "$(NASM)" -I${s_path}(+) $(NASM_FLAGS) -o $dst ${d_path}(+)${s_base}.iii\r
+        "$(NASM)" -I${s_path}(+) $(NASM_INC) $(NASM_FLAGS) -o $dst ${d_path}(+)${s_base}.iii\r
 \r
 [Device-Tree-Source-File]\r
     <InputFile>\r
         $(OBJCOPY) --strip-unneeded -R .eh_frame ${src}\r
 \r
         #\r
-        #The below 2 lines are only needed for UNIXGCC tool chain, which genereates PE image directly\r
+        #The below 2 lines are only needed for UNIXGCC tool chain, which generates PE image directly\r
         #\r
         -$(OBJCOPY) $(OBJCOPY_ADDDEBUGFLAG) ${src}\r
         -$(CP) $(DEBUG_DIR)(+)$(MODULE_NAME).debug $(BIN_DIR)(+)$(MODULE_NAME_GUID).debug\r