aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/kmod/kmod/0001-Makefile.am-fix-parallel-build-problem.patch
blob: 49b020902993509a8afa8117f5c3abf733f38082 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Upstream-Status: Pending

Subject: Makefile.am: fix parallel build problem

Fix parallel build problem to avoid errors like below.

    install: cannot stat 'testsuite/module-playground/mod-fake-cciss.ko': No such file or directory

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 9457655..d5b02eb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -237,7 +237,7 @@ rootfs: build-module-playground
 
 .PHONY: rootfs build-playground
 
-$(ROOTFS): $(ROOTFS_PRISTINE)
+$(ROOTFS): $(ROOTFS_PRISTINE) build-module-playground
 	$(CREATE_ROOTFS)
 
 TESTSUITE_OVERRIDE_LIBS = \
-- 
1.9.1