aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/grub/files/grub2-remove-sparc64-setup-from-x86-builds.patch
blob: 5168d3ca569467fe64fa34fd144385530dfd15b7 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Subject: [PATCH] grub2: remove grub-sparc64-setup from x86 builds

* remove the grub-sparc64-setup files from the x86 builds.

Upstream-Status: Inappropriate [embedded specific]

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 Makefile.util.def | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/Makefile.util.def b/Makefile.util.def
index b80187c..a670cf2 100644
--- a/Makefile.util.def
+++ b/Makefile.util.def
@@ -321,24 +321,6 @@ program = {
 };
 
 program = {
-  name = grub-sparc64-setup;
-  installdir = sbin;
-  mansection = 8;
-  common = util/grub-setup.c;
-  common = util/lvm.c;
-  common = grub-core/kern/emu/argp_common.c;
-  common = grub-core/lib/reed_solomon.c;
-  common = util/ieee1275/ofpath.c;
-
-  ldadd = libgrubmods.a;
-  ldadd = libgrubkern.a;
-  ldadd = libgrubgcry.a;
-  ldadd = grub-core/gnulib/libgnu.a;
-  ldadd = '$(LIBINTL) $(LIBDEVMAPPER) $(LIBUTIL) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
-  cppflags = '-DGRUB_SETUP_SPARC64=1';
-};
-
-program = {
   name = grub-ofpathname;
   installdir = sbin;
   mansection = 8;
-- 
2.8.1