summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Medve <Emilian.Medve@Freescale.com>2014-01-18 11:57:35 (GMT)
committerEmilian Medve <Emilian.Medve@freescale.com>2014-01-22 16:59:49 (GMT)
commit9b14536ded82ecd6542f4173976adc5e66411845 (patch)
treefc306712e1d87ae5e3bd146ffd0c5cb4ba9509cf
parent6db16c2ecf9ec98f3a71c4d13995f2c355b6ddb6 (diff)
downloadlinux-fsl-qoriq-9b14536ded82ecd6542f4173976adc5e66411845.tar.xz
fsl_qman: Only build the configured tester(s)
Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com> Change-Id: I9c7321c5de8956d4fdef7f5d9128047080de552a Reviewed-on: http://git.am.freescale.net:8181/8098 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Haiying Wang <Haiying.Wang@freescale.com> Reviewed-by: Emilian Medve <Emilian.Medve@freescale.com>
-rw-r--r--drivers/staging/fsl_qbman/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/staging/fsl_qbman/Makefile b/drivers/staging/fsl_qbman/Makefile
index e97214f..0e38610 100644
--- a/drivers/staging/fsl_qbman/Makefile
+++ b/drivers/staging/fsl_qbman/Makefile
@@ -16,8 +16,9 @@ bman_debugfs_interface-y = bman_debugfs.o
obj-$(CONFIG_FSL_QMAN) += qman_high.o qman_utility.o
obj-$(CONFIG_FSL_QMAN_CONFIG) += qman_config.o qman_driver.o
obj-$(CONFIG_FSL_QMAN_TEST) += qman_tester.o
-qman_tester-y = qman_test.o qman_test_hotpotato.o \
- qman_test_high.o
+qman_tester-y = qman_test.o
+qman_tester-$(CONFIG_FSL_QMAN_TEST_STASH_POTATO) += qman_test_hotpotato.o
+qman_tester-$(CONFIG_FSL_QMAN_TEST_HIGH) += qman_test_high.o
obj-$(CONFIG_FSL_QMAN_DEBUGFS) += qman_debugfs_interface.o
qman_debugfs_interface-y = qman_debugfs.o