Эх сурвалжийг харах

doc: update buildsystem doc about TARGET variable

Signed-off-by: Huaqi Fang <578567190@qq.com>
Huaqi Fang 5 жил өмнө
parent
commit
d3a2e06d10

+ 13 - 0
doc/source/develop/buildsystem.rst

@@ -577,6 +577,19 @@ This is a necessary variable which must be defined in application Makefile.
 It is used to set the name of the application, it will affect the generated
 It is used to set the name of the application, it will affect the generated
 target filenames.
 target filenames.
 
 
+.. warning::
+
+    * Please don't put any spaces in TARGET variable
+    * The variable shouldn't contain any space
+
+    .. code-block:: Makefile
+
+        # invalid case 1
+        TARGET ?= hello world
+        # invalid case 2
+        TARGET ?= helloworld # before this # there is a extra space
+
+
 .. _develop_buildsystem_var_nuclei_sdk_root:
 .. _develop_buildsystem_var_nuclei_sdk_root:
 
 
 NUCLEI_SDK_ROOT
 NUCLEI_SDK_ROOT