sort-makefile-lines.py: Allow '_' in name and "^# name"
commit6a2512bf1605a4208dd94ef67408488d8acb2409
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 15 Feb 2024 11:22:55 +0000 (15 03:22 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 15 Feb 2024 12:28:27 +0000 (15 04:28 -0800)
tree978eae17fb76faed290714529f07a3aecdac06ef
parentdbae3a3940940977b8b8190a145a444732846219
sort-makefile-lines.py: Allow '_' in name and "^# name"

'_' is used in Makefile variable names and many variables end with
"^# name".  Relax sort-makefile-lines.py to allow '_' in name and
"^# name" as variable end.  This fixes BZ #31385.
scripts/sort-makefile-lines.py