Also remove Patch0001 since it has been merged in openeuler/kernel
Signed-off-by: Wei Li liwei391@huawei.com --- ...script-to-update-openeuler_defconfig.patch | 85 ------------------- SOURCE | 2 +- kernel.spec | 12 +-- 3 files changed, 8 insertions(+), 91 deletions(-) delete mode 100644 0001-kconfig-Add-script-to-update-openeuler_defconfig.patch
diff --git a/0001-kconfig-Add-script-to-update-openeuler_defconfig.patch b/0001-kconfig-Add-script-to-update-openeuler_defconfig.patch deleted file mode 100644 index c16b85a..0000000 --- a/0001-kconfig-Add-script-to-update-openeuler_defconfig.patch +++ /dev/null @@ -1,85 +0,0 @@ -From 5b6166bdb21db9d73a273138d9da74e20c63c560 Mon Sep 17 00:00:00 2001 -From: Liu Chao liuchao173@huawei.com -Date: Wed, 4 Jan 2023 20:49:34 +0800 -Subject: [PATCH 1/3] kconfig: Add script to update openeuler_defconfig - -hulk inclusion -bugzilla: https://gitee.com/openeuler/kernel/issues/I68D0O - -Reference: https://gitee.com/openeuler/kernel/pulls/286 -Reference: https://gitee.com/openeuler/kernel/commit/ca1af5899ef7c1e1617913ecee37d53972... - -update_oedefconfig:run make openeuler_defconfig and copy .config to arch/$(SRCARCH)/configs/openeuler_defconfig -save_oedefconfig:copy .config to arch/$(SRCARCH)/configs/openeuler_defconfig - -Signed-off-by: Liu Chao liuchao173@huawei.com -[XQ: 1. update helper message - 2. remove more auto generated CONFIG.] -Signed-off-by: Xie XiuQi xiexiuqi@huawei.com ---- - scripts/kconfig/Makefile | 10 ++++++++++ - scripts/kconfig/makeconfig.sh | 24 ++++++++++++++++++++++++ - 2 files changed, 34 insertions(+) - create mode 100644 scripts/kconfig/makeconfig.sh - -diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile -index b8ef0fb4bbef..9d0297ebf9c1 100644 ---- a/scripts/kconfig/Makefile -+++ b/scripts/kconfig/Makefile -@@ -81,6 +81,14 @@ PHONY += savedefconfig defconfig - savedefconfig: $(obj)/conf - $(Q)$< $(silent) --$@=defconfig $(Kconfig) - -+update_oedefconfig: $(obj)/conf -+ $(Q)$< $(silent) --defconfig=arch/$(SRCARCH)/configs/openeuler_defconfig $(Kconfig) -+ $(Q)$(CONFIG_SHELL) $(srctree)/scripts/kconfig/makeconfig.sh $(SRCARCH) -+ -+save_oedefconfig: $(obj)/conf -+ $(Q)$(CONFIG_SHELL) $(srctree)/scripts/kconfig/makeconfig.sh $(SRCARCH) -+ -+ - defconfig: $(obj)/conf - ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG)),) - @$(kecho) "*** Default configuration is based on '$(KBUILD_DEFCONFIG)'" -@@ -141,6 +149,8 @@ help: - @echo ' default value without prompting' - @echo ' tinyconfig - Configure the tiniest possible kernel' - @echo ' testconfig - Run Kconfig unit tests (requires python3 and pytest)' -+ @echo ' update_oedefconfig - Update arch/<ARCH>/configs/openeuler_defconfig base on current source code' -+ @echo ' save_oedefconfig - Save current .config to arch/<ARCH>/configs/openeuler_defconfig' - - # =========================================================================== - # object files used by all kconfig flavours -diff --git a/scripts/kconfig/makeconfig.sh b/scripts/kconfig/makeconfig.sh -new file mode 100644 -index 000000000000..c54f4d84ae9b ---- /dev/null -+++ b/scripts/kconfig/makeconfig.sh -@@ -0,0 +1,24 @@ -+#!/bin/sh -+# SPDX-License-Identifier: GPL-2.0 -+ -+if [ ! -f .config ]; then -+ echo ".config does not exist" -+ exit 1 -+fi -+ -+sed -e '/CONFIG_CC_VERSION_TEXT/d' \ -+ -e '/CONFIG_CC_IS_GCC/d' \ -+ -e '/CONFIG_GCC_VERSION/d' \ -+ -e '/CONFIG_LD_VERSION/d' \ -+ -e '/CONFIG_LD_IS/d' \ -+ -e '/CONFIG_CLANG_VERSION/d' \ -+ -e '/CONFIG_LLD_VERSION/d' \ -+ -e '/CONFIG_CC_CAN/d' \ -+ -e '/CONFIG_CC_HAS/d' \ -+ -e '/CONFIG_AS_VERSION/d' \ -+ -e '/CONFIG_AS_HAS/d' \ -+ -e '/CONFIG_AS_IS/d' \ -+ -e '/CONFIG_PAHOLE_VERSION/d' \ -+ -i .config -+ -+cp .config arch/$1/configs/openeuler_defconfig --- -2.25.1 - diff --git a/SOURCE b/SOURCE index 3bed5ba..62ac79f 100644 --- a/SOURCE +++ b/SOURCE @@ -1 +1 @@ -6.4.0-1.0.2 +6.4.0-2.0.0 diff --git a/kernel.spec b/kernel.spec index b172e2a..d0eb5eb 100644 --- a/kernel.spec +++ b/kernel.spec @@ -23,9 +23,9 @@
%global upstream_version 6.4 %global upstream_sublevel 0 -%global devel_release 1 -%global maintenance_release .0.2 -%global pkg_release .9 +%global devel_release 2 +%global maintenance_release .0.0 +%global pkg_release .10
%define with_debuginfo 1 # Do not recompute the build-id of vmlinux in find-debuginfo.sh @@ -84,7 +84,6 @@ Source9002: series.conf Source9998: patches.tar.bz2 %endif
-Patch0001: 0001-kconfig-Add-script-to-update-openeuler_defconfig.patch Patch0002: 0002-cpupower-clang-compile-support.patch Patch0003: 0003-x86_energy_perf_policy-clang-compile-support.patch Patch0004: 0004-turbostat-clang-compile-support.patch @@ -316,7 +315,6 @@ Applypatches() Applypatches series.conf %{_builddir}/kernel-%{version}/linux-%{KernelVer} %endif
-%patch0001 -p1 %if "%toolchain" == "clang" %patch0002 -p1 %patch0003 -p1 @@ -927,6 +925,10 @@ fi %endif
%changelog +* Tue Aug 29 2023 Wei Li liwei391@huawei.com - 6.4.0-2.0.0.10 +- remove Patch0001 +- update to 6.4.0-2.0.0.10 + * Fri Aug 25 2023 liyunfei liyunfei33@huawei.com - 6.4.0-1.0.2.9 - add clang LTO compile support
反馈: 您发送到kernel-build@openeuler.org的补丁/补丁集,已成功转换为PR! PR链接地址: https://gitee.com/src-openeuler/kernel/pulls/1169 邮件列表地址:https://mailweb.openeuler.org/hyperkitty/list/kernel-build@openeuler.org/mes...
FeedBack: The patch(es) which you have sent to kernel-build@openeuler.org mailing list has been converted to a pull request successfully! Pull request link: https://gitee.com/src-openeuler/kernel/pulls/1169 Mailing list address: https://mailweb.openeuler.org/hyperkitty/list/kernel-build@openeuler.org/mes...