Avoid inline comments in variable assignments in Makefile

This commit is contained in:
Ruize Tang
2024-12-10 10:08:58 +08:00
committed by Tate, Hongliang Tian
parent dbee797bca
commit 065a3bd1c3
3 changed files with 8 additions and 5 deletions

View File

@ -1,6 +1,7 @@
# SPDX-License-Identifier: MPL-2.0
MAKEFLAGS += --no-builtin-rules # Prevent the implicit rules from compiling ".c" or ".s" files automatically.
# Prevent the implicit rules from compiling ".c" or ".s" files automatically.
MAKEFLAGS += --no-builtin-rules
MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
CUR_DIR := $(patsubst %/,%,$(dir $(MKFILE_PATH)))