updates project makefile name core_developer_branch
authorThomas Walker Lynch <eknp9n@reasoningtechnology.com>
Wed, 11 Nov 2026 08:50:04 +0000 (08:50 +0000)
committerThomas Walker Lynch <eknp9n@reasoningtechnology.com>
Wed, 11 Nov 2026 08:50:04 +0000 (08:50 +0000)
developer/tool/build_component/make
developer/tool/build_component/makefile [deleted file]
developer/tool/build_component/project.mk [new file with mode: 0644]
shared/tool/makefile/Harmony.mk

index 82df53f..833c27c 100755 (executable)
@@ -12,6 +12,6 @@ export KMOD_SOURCE_DIR="authored/$NAMESPACE_DIR"
 export LIBRARY_DIR="scratchpad/made/$NAMESPACE"
 export MACHINE_DIR="scratchpad/made/$NAMESPACE"
 
 export LIBRARY_DIR="scratchpad/made/$NAMESPACE"
 export MACHINE_DIR="scratchpad/made/$NAMESPACE"
 
-# Harmony.mk is the makefile run; it includes tool/build_component/makefile,
+# Harmony.mk is the makefile run; it includes tool/build_component/project.mk,
 # the project's settings, and the namespace's *.mk files.
 /bin/make -f "$REPO_HOME/shared/tool/makefile/Harmony.mk" "$CMD"
 # the project's settings, and the namespace's *.mk files.
 /bin/make -f "$REPO_HOME/shared/tool/makefile/Harmony.mk" "$CMD"
diff --git a/developer/tool/build_component/makefile b/developer/tool/build_component/makefile
deleted file mode 100644 (file)
index ed4ec4a..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-# developer/tool/build_component/makefile
-#
-# The project's make settings, for every namespace the project builds with
-# make. Harmony.mk includes this file after its own defaults and before the
-# namespace's *.mk files, which have the last say. This file holds settings,
-# not rules for building: Harmony.mk has those.
-#
-# Add to a default with +=, replace one with :=, for example:
-#
-#   CFLAGS   += -O2
-#   LN_FLAGS += -lm
-#
-# Settings for one namespace go in a .mk file beside its source instead, such
-# as authored/<namespace>.make/<namespace>.mk. That file is also staged and
-# promoted with the namespace's library, so a project built against the
-# library reads the same settings.
-#
-# Harmony.mk's information and clean are double-colon rules, so a recipe
-# added here as 'information::' or 'clean::' runs as well as Harmony.mk's.
-# Make runs them in the order it read them, so this file's runs first.
diff --git a/developer/tool/build_component/project.mk b/developer/tool/build_component/project.mk
new file mode 100644 (file)
index 0000000..a362ead
--- /dev/null
@@ -0,0 +1,20 @@
+# developer/tool/build_component/project.mk
+#
+# The project's make settings, for every namespace the project builds with
+# make. Harmony.mk includes this file after its own defaults and before the
+# namespace's *.mk files, which have the last say. This file holds settings,
+# not rules for building: Harmony.mk has those.
+#
+# Add to a default with +=, replace one with :=, for example:
+#
+#   CFLAGS   += -O2
+#   LN_FLAGS += -lm
+#
+# Settings for one namespace go in a .mk file beside its source instead, such
+# as authored/<namespace>.make/<namespace>.mk. That file is also staged and
+# promoted with the namespace's library, so a project built against the
+# library reads the same settings.
+#
+# Harmony.mk's information and clean are double-colon rules, so a recipe
+# added here as 'information::' or 'clean::' runs as well as Harmony.mk's.
+# Make runs them in the order it read them, so this file's runs first.
index 2f95a03..58aab0d 100644 (file)
@@ -6,7 +6,7 @@
 # what the layers before it set:
 #
 #   1. Harmony's defaults, in this file
 # what the layers before it set:
 #
 #   1. Harmony's defaults, in this file
-#   2. the project's settings, tool/build_component/makefile
+#   2. the project's settings, tool/build_component/project.mk
 #   3. the namespace's settings, any *.mk beside its source
 #
 # A layer adds to a default with += and replaces one with :=. The flags the
 #   3. the namespace's settings, any *.mk beside its source
 #
 # A layer adds to a default with += and replaces one with :=. The flags the
@@ -55,7 +55,7 @@ KMOD_OUTPUT_DIR  ?= scratchpad/kmod
 #--------------------------------------------------------------------------------
 # 2. the project's settings
 
 #--------------------------------------------------------------------------------
 # 2. the project's settings
 
-include tool/build_component/makefile
+include tool/build_component/project.mk
 
 #--------------------------------------------------------------------------------
 # 3. the namespace's settings
 
 #--------------------------------------------------------------------------------
 # 3. the namespace's settings