Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | From 4ebab8add4a549c16ab8b124137546c0a7b46a9b Mon Sep 17 00:00:00 2001 |
| 2 | From: Joe MacDonald <joe_macdonald@mentor.com> |
| 3 | Date: Tue, 15 Nov 2016 11:11:30 -0500 |
| 4 | Subject: [PATCH] Do not clean kernel source |
| 5 | |
| 6 | The default behaviour should not be to attempt to clean the kernel source |
| 7 | tree when building userspace. When not cross-compiling, however, this action is |
| 8 | harmless, but when attempting to build within the sysroot and since this package |
| 9 | is purely userspace, the clean step will fail. |
| 10 | |
| 11 | Removing the clean step eliminates an unnecessary dependency on the kernel build |
| 12 | infrastructure. |
| 13 | |
| 14 | Upstream-status: Inappropriate (embedded specific) |
| 15 | |
| 16 | Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> |
| 17 | --- |
| 18 | Makefile | 3 +-- |
| 19 | 1 file changed, 1 insertion(+), 2 deletions(-) |
| 20 | |
| 21 | diff --git a/Makefile b/Makefile |
| 22 | index 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 | -- |
| 43 | 1.9.1 |
| 44 | |