blob: 2c466119cdf17ebceb167de5958a6c6a894916c7 [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001From 4ebab8add4a549c16ab8b124137546c0a7b46a9b Mon Sep 17 00:00:00 2001
2From: Joe MacDonald <joe_macdonald@mentor.com>
3Date: Tue, 15 Nov 2016 11:11:30 -0500
4Subject: [PATCH] Do not clean kernel source
5
6The default behaviour should not be to attempt to clean the kernel source
7tree when building userspace. When not cross-compiling, however, this action is
8harmless, but when attempting to build within the sysroot and since this package
9is purely userspace, the clean step will fail.
10
11Removing the clean step eliminates an unnecessary dependency on the kernel build
12infrastructure.
13
14Upstream-status: Inappropriate (embedded specific)
15
16Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
17---
18 Makefile | 3 +--
19 1 file changed, 1 insertion(+), 2 deletions(-)
20
21diff --git a/Makefile b/Makefile
22index c8cd00e..9576bba 100644
23--- a/Makefile
24+++ b/Makefile
25@@ -37,7 +37,7 @@ endif
26
27 all: user
28
29-user: iscsiuio/Makefile
30+user:
31 $(MAKE) -C utils/sysdeps
32 $(MAKE) -C utils/fwparam_ibft
33 $(MAKE) -C usr
34@@ -75,7 +75,6 @@ clean:
35 $(MAKE) -C utils/fwparam_ibft clean
36 $(MAKE) -C utils clean
37 $(MAKE) -C usr clean
38- $(MAKE) -C kernel clean
39 [ ! -f iscsiuio/Makefile ] || $(MAKE) -C iscsiuio clean
40 [ ! -f iscsiuio/Makefile ] || $(MAKE) -C iscsiuio distclean
41
42--
431.9.1
44