blob: 5dfccaaacd7c92a5de665a7bb279f82522984d40 [file] [log] [blame]
Andrew Jeffery812923d2018-02-22 11:59:52 +10301TEST_MBOX_VPNOR_SRCS = common.c pnor_partition_table.cpp \
2 %reldir%/tmpd.cpp
Andrew Jeffery85985912018-02-22 10:20:31 +10303
4test_vpnor_create_pnor_partition_table_SOURCES = \
5 $(TEST_MBOX_VPNOR_SRCS) \
6 %reldir%/create_pnor_partition_table.cpp
7test_vpnor_create_pnor_partition_table_LDFLAGS = $(OESDK_TESTCASE_FLAGS)
8test_vpnor_create_pnor_partition_table_LDADD = -lstdc++fs \
9 $(SDBUSPLUS_LIBS) \
10 $(PHOSPHOR_LOGGING_LIBS) \
11 $(PHOSPHOR_DBUS_INTERFACES_LIBS)
12
13test_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
23test_vpnor_create_read_window_vpnor_LDFLAGS = $(OESDK_TESTCASE_FLAGS)
24test_vpnor_create_read_window_vpnor_LDADD = -lstdc++fs \
25 $(SDBUSPLUS_LIBS) \
26 $(PHOSPHOR_LOGGING_LIBS) \
27 $(PHOSPHOR_DBUS_INTERFACES_LIBS)
28
29test_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
36test_vpnor_write_flash_vpnor_LDFLAGS = $(OESDK_TESTCASE_FLAGS)
37test_vpnor_write_flash_vpnor_LDADD = -lstdc++fs \
38 $(SDBUSPLUS_LIBS) \
39 $(PHOSPHOR_LOGGING_LIBS) \
40 $(PHOSPHOR_DBUS_INTERFACES_LIBS)
41
42if VIRTUAL_PNOR_ENABLED
43check_PROGRAMS += \
44 %reldir%/create_pnor_partition_table \
45 %reldir%/create_read_window_vpnor \
46 %reldir%/write_flash_vpnor
47endif