test: rockchip: timer: compile depends on CONFIG_IRQ
Change-Id: Ibe626355a882af3e879a604820b7c685c8bd533d Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
This commit is contained in:
parent
7623c170e8
commit
dbe1e39c43
|
|
@ -5,8 +5,8 @@
|
|||
#
|
||||
|
||||
obj-y += test-rockchip.o
|
||||
obj-y += test-timer.o
|
||||
obj-y += test-brom-dnl.o
|
||||
obj-$(CONFIG_IRQ) += test-timer.o
|
||||
obj-$(CONFIG_DM_KEY) += test-key.o
|
||||
obj-$(CONFIG_MMC) += test-emmc.o
|
||||
obj-$(CONFIG_DM_REGULATOR)+= test-regulator.o
|
||||
|
|
|
|||
|
|
@ -14,7 +14,9 @@ typedef struct board_module {
|
|||
} board_module_t;
|
||||
|
||||
static board_module_t g_board_modules[] = {
|
||||
#if defined(CONFIG_IRQ)
|
||||
{ .name = "timer", .test = board_timer_test },
|
||||
#endif
|
||||
{ .name = "brom", .test = board_brom_dnl_test },
|
||||
|
||||
#if defined(CONFIG_DM_KEY)
|
||||
|
|
|
|||
Loading…
Reference in New Issue