utils/check-package: handle ifdef/ifndef in .mk files
authorRicardo Martincoski <ricardo.martincoski@gmail.com>
Sun, 27 Jan 2019 18:59:42 +0000 (16:59 -0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 29 Jan 2019 15:38:41 +0000 (16:38 +0100)
commitfe7a5d7120a50866315c6b02ce07ad10d32dcc8c
tree1e11b1f3682df2727f33b641eb2a111b26ab468f
parent4a6c5ab2c31f732802a7ac643ca6335821d6d38f
utils/check-package: handle ifdef/ifndef in .mk files

Currently check-package only knows about ifeq/ifneq.
Add code to handle ifdef/ifndef as well.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
utils/checkpackagelib/lib_mk.py