summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-09-06 12:15:19 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-09-10 12:13:06 +0100
commitef38b43dbbeba5c2a2e287b4ffd9645993e4e863 (patch)
tree63414d93c25c5ba451b300c7357d1bdc274183d4
parentfd3a47eceba942c21fa6294e81cf5dd3336d44b6 (diff)
downloadpoky-ef38b43dbbeba5c2a2e287b4ffd9645993e4e863.tar.gz
python3: trim PGO patch
There's no need to delete the line that removes the profile data, as we're not using it after the build. This reduces the size of the patch, making it easier to maintain. (From OE-Core rev: 561577add4b935d9bfb7b7dd6abdc3e26c1d9143) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/python/python3/0002-Makefile-add-target-to-split-profile-generation.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/python/python3/0002-Makefile-add-target-to-split-profile-generation.patch b/meta/recipes-devtools/python/python3/0002-Makefile-add-target-to-split-profile-generation.patch
index bb01c5bcb4..2b4ba316e4 100644
--- a/meta/recipes-devtools/python/python3/0002-Makefile-add-target-to-split-profile-generation.patch
+++ b/meta/recipes-devtools/python/python3/0002-Makefile-add-target-to-split-profile-generation.patch
@@ -19,7 +19,7 @@ diff --git a/Makefile.pre.in b/Makefile.pre.in
19index 84bc3ff..017a2c4 100644 19index 84bc3ff..017a2c4 100644
20--- a/Makefile.pre.in 20--- a/Makefile.pre.in
21+++ b/Makefile.pre.in 21+++ b/Makefile.pre.in
22@@ -469,13 +469,11 @@ profile-opt: 22@@ -469,13 +469,12 @@ profile-opt:
23 $(MAKE) profile-removal 23 $(MAKE) profile-removal
24 $(MAKE) build_all_generate_profile 24 $(MAKE) build_all_generate_profile
25 $(MAKE) profile-removal 25 $(MAKE) profile-removal
@@ -31,7 +31,7 @@ index 84bc3ff..017a2c4 100644
31 @echo "Rebuilding with profile guided optimizations:" 31 @echo "Rebuilding with profile guided optimizations:"
32 $(MAKE) clean 32 $(MAKE) clean
33 $(MAKE) build_all_use_profile 33 $(MAKE) build_all_use_profile
34- $(MAKE) profile-removal 34 $(MAKE) profile-removal
35 35
36 build_all_generate_profile: 36 build_all_generate_profile:
37 $(MAKE) @DEF_MAKE_RULE@ CFLAGS_NODIST="$(CFLAGS) $(EXTRA_CFLAGS) $(PGO_PROF_GEN_FLAG) @LTOFLAGS@" LDFLAGS="$(LDFLAGS) $(PGO_PROF_GEN_FLAG) @LTOFLAGS@" LIBS="$(LIBS)" 37 $(MAKE) @DEF_MAKE_RULE@ CFLAGS_NODIST="$(CFLAGS) $(EXTRA_CFLAGS) $(PGO_PROF_GEN_FLAG) @LTOFLAGS@" LDFLAGS="$(LDFLAGS) $(PGO_PROF_GEN_FLAG) @LTOFLAGS@" LIBS="$(LIBS)"