Andrew Jeffery | 812923d | 2018-02-22 11:59:52 +1030 | [diff] [blame] | 1 | TEST_MBOX_VPNOR_SRCS = common.c pnor_partition_table.cpp \ |
| 2 | %reldir%/tmpd.cpp |
Andrew Jeffery | 8598591 | 2018-02-22 10:20:31 +1030 | [diff] [blame] | 3 | |
| 4 | test_vpnor_create_pnor_partition_table_SOURCES = \ |
| 5 | $(TEST_MBOX_VPNOR_SRCS) \ |
| 6 | %reldir%/create_pnor_partition_table.cpp |
| 7 | test_vpnor_create_pnor_partition_table_LDFLAGS = $(OESDK_TESTCASE_FLAGS) |
| 8 | test_vpnor_create_pnor_partition_table_LDADD = -lstdc++fs \ |
| 9 | $(SDBUSPLUS_LIBS) \ |
| 10 | $(PHOSPHOR_LOGGING_LIBS) \ |
| 11 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) |
| 12 | |
| 13 | test_vpnor_create_read_window_vpnor_SOURCES = \ |
| 14 | $(TEST_MBOX_VPNOR_SRCS) $(TEST_MOCK_SRCS) \ |
| 15 | mboxd_msg.c \ |
| 16 | mboxd_windows.c \ |
| 17 | mboxd_lpc.c \ |
| 18 | mboxd_lpc_virtual.cpp \ |
| 19 | mboxd_pnor_partition_table.cpp \ |
| 20 | mboxd_flash_virtual.cpp \ |
| 21 | pnor_partition.cpp \ |
| 22 | %reldir%/create_read_window_vpnor.cpp |
| 23 | test_vpnor_create_read_window_vpnor_LDFLAGS = $(OESDK_TESTCASE_FLAGS) |
| 24 | test_vpnor_create_read_window_vpnor_LDADD = -lstdc++fs \ |
| 25 | $(SDBUSPLUS_LIBS) \ |
| 26 | $(PHOSPHOR_LOGGING_LIBS) \ |
| 27 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) |
| 28 | |
| 29 | test_vpnor_write_flash_vpnor_SOURCES = \ |
| 30 | $(TEST_MBOX_VPNOR_SRCS) \ |
| 31 | mboxd_pnor_partition_table.cpp \ |
| 32 | mboxd_flash_virtual.cpp \ |
| 33 | mtd.c \ |
| 34 | pnor_partition.cpp \ |
| 35 | %reldir%/write_flash_vpnor.cpp |
| 36 | test_vpnor_write_flash_vpnor_LDFLAGS = $(OESDK_TESTCASE_FLAGS) |
| 37 | test_vpnor_write_flash_vpnor_LDADD = -lstdc++fs \ |
| 38 | $(SDBUSPLUS_LIBS) \ |
| 39 | $(PHOSPHOR_LOGGING_LIBS) \ |
| 40 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) |
| 41 | |
| 42 | if VIRTUAL_PNOR_ENABLED |
| 43 | check_PROGRAMS += \ |
| 44 | %reldir%/create_pnor_partition_table \ |
| 45 | %reldir%/create_read_window_vpnor \ |
| 46 | %reldir%/write_flash_vpnor |
| 47 | endif |