of: unittest: refactor Makefile
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 5 Jan 2018 11:55:30 +0000 (20:55 +0900)
committerRob Herring <robh@kernel.org>
Tue, 9 Jan 2018 04:08:46 +0000 (22:08 -0600)
commitbd6dc70b62bb99d257a3ef39840fd89bf98bc0dd
tree3903df33a52fc6ef63fba2174b1c87e615176d00
parent0fa1c579349fdd90173381712ad78aa99c09d38b
of: unittest: refactor Makefile

Some cleanups:
 - use obj-$(CONFIG_OF_OVERLAY) instead of ifdef ... endif
 - compute targets from obj-y

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/unittest-data/Makefile