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