Skip to content

Conversation

xxuejie
Copy link
Collaborator

@xxuejie xxuejie commented Feb 24, 2025

When include lines are used in Makefile, the newly included Makefile path will be appended to MAKEFILE_LIST. And using lastword to fetch current Makefile path would fail. This change alter the code to use firstword so as to fetch the top level Makefile path.

When `include` lines are used in Makefile, the newly included Makefile
path will be appended to MAKEFILE_LIST. And using `lastword` to fetch
current Makefile path would fail. This change alter the code to use
firstword so as to fetch the top level Makefile path.
@xxuejie xxuejie requested a review from XuJiandong February 24, 2025 05:20
@xxuejie xxuejie merged commit e186ad7 into main Feb 24, 2025
8 checks passed
@xxuejie xxuejie deleted the use-firstword branch February 24, 2025 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants