[PATCH 3/6] staging: android: combine sync.o and sync_debug.o into sync-core.o

Mike Rapoport
2015-08-10T06:24:52Z

to avoid cross dependencies when building sync as module

Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com>
---
drivers/staging/android/Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/android/Makefile b/drivers/staging/android/Makefile
index c7b6c99..d9ebca6 100644
--- a/drivers/staging/android/Makefile
+++ b/drivers/staging/android/Makefile
@@ -6,5 +6,7 @@ obj-$(CONFIG_ASHMEM) += ashmem.o
obj-$(CONFIG_ANDROID_TIMED_OUTPUT) += timed_output.o
obj-$(CONFIG_ANDROID_TIMED_GPIO) += timed_gpio.o
obj-$(CONFIG_ANDROID_LOW_MEMORY_KILLER) += lowmemorykiller.o
-obj-$(CONFIG_SYNC) += sync.o sync_debug.o
+obj-$(CONFIG_SYNC) += sync-core.o
obj-$(CONFIG_SW_SYNC) += sw_sync.o
+
+sync-core-y := sync.o sync_debug.o
--
1.8.3.1