diff options
author | Frank Rowand <frank.rowand@sony.com> | 2017-04-25 17:09:54 -0700 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2017-04-27 17:26:06 -0500 |
commit | 81d0848fc8d2058c4cc645d971435c889869433b (patch) | |
tree | 1ef1792b3934365e5b1fe9fb2d92c4c4ca061cd8 /drivers/of/unittest-data/Makefile | |
parent | 331f741679564720a49ccf355012e1a8a45686ec (diff) | |
download | talos-op-linux-81d0848fc8d2058c4cc645d971435c889869433b.tar.gz talos-op-linux-81d0848fc8d2058c4cc645d971435c889869433b.zip |
of: Add unit tests for applying overlays
Existing overlay unit tests examine individual pieces of the overlay
code. The new tests target the entire process of applying an overlay.
Signed-off-by: Frank Rowand <frank.rowand@sony.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of/unittest-data/Makefile')
-rw-r--r-- | drivers/of/unittest-data/Makefile | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/drivers/of/unittest-data/Makefile b/drivers/of/unittest-data/Makefile index 1ac5cc01d627..6e00a9c69e58 100644 --- a/drivers/of/unittest-data/Makefile +++ b/drivers/of/unittest-data/Makefile @@ -1,7 +1,18 @@ obj-y += testcases.dtb.o +obj-y += overlay.dtb.o +obj-y += overlay_bad_phandle.dtb.o +obj-y += overlay_base.dtb.o targets += testcases.dtb testcases.dtb.S +targets += overlay.dtb overlay.dtb.S +targets += overlay_bad_phandle.dtb overlay_bad_phandle.dtb.S +targets += overlay_base.dtb overlay_base.dtb.S -.SECONDARY: \ - $(obj)/testcases.dtb.S \ - $(obj)/testcases.dtb +.PRECIOUS: \ + $(obj)/%.dtb.S \ + $(obj)/%.dtb + +# enable creation of __symbols__ node +DTC_FLAGS_overlay := -@ +DTC_FLAGS_overlay_bad_phandle := -@ +DTC_FLAGS_overlay_base := -@ |