]> git.ipfire.org Git - thirdparty/grub.git/commit
gentpl.py: Fix issue where sometimes marker files have CPP defines
authorGlenn Washburn <development@efficientek.com>
Thu, 13 Jan 2022 03:40:20 +0000 (21:40 -0600)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 8 Feb 2022 15:06:49 +0000 (16:06 +0100)
commita274bf458d8133d3c06b73fa3b6271ba5ae0acda
tree3b8313e123de22bf2d2a9ec0f5e4755e88130c9f
parent45bffae133365bc5033d841fbea6f325108fa733
gentpl.py: Fix issue where sometimes marker files have CPP defines

When generating video.lst, modules whose marker file contains the string
VIDEO_LIST_MARKER are selected. But when the marker file contains the CPP
defines, one of the defines is VIDEO_LIST_MARKER and is present in all
marker files, so they are all selected. By removing the defines, the correct
modules are selected.

Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
gentpl.py