From 85afd6960d0e0ffdf5b153108bb0a4da2962812e Mon Sep 17 00:00:00 2001 From: Josh Boyer Date: Mon, 13 Apr 2015 05:37:18 -0400 Subject: [PATCH] Linux v4.0 --- Kbuild-Add-an-option-to-enable-GCC-VTA.patch | 2 +- kernel.spec | 21 ++++++++++---------- sources | 5 ++--- 3 files changed, 13 insertions(+), 15 deletions(-) diff --git a/Kbuild-Add-an-option-to-enable-GCC-VTA.patch b/Kbuild-Add-an-option-to-enable-GCC-VTA.patch index 334276562..5b1357c4e 100644 --- a/Kbuild-Add-an-option-to-enable-GCC-VTA.patch +++ b/Kbuild-Add-an-option-to-enable-GCC-VTA.patch @@ -43,7 +43,7 @@ Signed-off-by: Josh Stone 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile -index 54430f933b62..09e578408544 100644 +index fbd43bfe4445..4bc89d2a3508 100644 --- a/Makefile +++ b/Makefile @@ -706,7 +706,11 @@ KBUILD_CFLAGS += -fomit-frame-pointer diff --git a/kernel.spec b/kernel.spec index f2041236a..cb8270d09 100644 --- a/kernel.spec +++ b/kernel.spec @@ -6,7 +6,7 @@ Summary: The Linux kernel # For a stable, released kernel, released_kernel should be 1. For rawhide # and/or a kernel built from an rc or git snapshot, released_kernel should # be 0. -%global released_kernel 0 +%global released_kernel 1 # Sign modules on x86. Make sure the config files match this setting if more # architectures are added. @@ -63,12 +63,11 @@ Summary: The Linux kernel ## The not-released-kernel case ## %else # The next upstream release sublevel (base_sublevel+1) -# define upstream_sublevel %(echo $((%{base_sublevel} + 1))) -%define upstream_sublevel 0 +%define upstream_sublevel %(echo $((%{base_sublevel} + 1))) # The rc snapshot level -%define rcrev 7 +%define rcrev 0 # The git snapshot level -%define gitrev 2 +%define gitrev 0 # Set rpm version accordingly %define rpmversion 4.%{upstream_sublevel}.0 %endif @@ -151,8 +150,7 @@ Summary: The Linux kernel %endif # The kernel tarball/base version -# define kversion 4.%{base_sublevel} -%define kversion 4.%{base_sublevel}-rc%rcrev +%define kversion 4.%{base_sublevel} %define make_target bzImage @@ -405,8 +403,7 @@ BuildRequires: binutils-%{_build_arch}-linux-gnu, gcc-%{_build_arch}-linux-gnu %define cross_opts CROSS_COMPILE=%{_build_arch}-linux-gnu- %endif -#Source0: ftp://ftp.kernel.org/pub/linux/kernel/v4.x/linux-%{kversion}.tar.xz -Source0: ftp://ftp.kernel.org/pub/linux/kernel/v4.x/linux-4.0-rc7.tar.xz +Source0: ftp://ftp.kernel.org/pub/linux/kernel/v4.x/linux-%{kversion}.tar.xz Source10: perf-man-%{kversion}.tar.gz Source11: x509.genkey @@ -477,8 +474,7 @@ Patch00: %{stable_patch_00} # near the top of this spec file. %else %if 0%{?rcrev} -### HAX we're using -rc$x tarballs to make transitioning easier -# Patch00 patch-4.%{upstream_sublevel}-rc%{rcrev}.xz +Patch00 patch-4.%{upstream_sublevel}-rc%{rcrev}.xz %if 0%{?gitrev} Patch01: patch-4.%{upstream_sublevel}-rc%{rcrev}-git%{gitrev}.xz %endif @@ -2217,6 +2213,9 @@ fi # # %changelog +* Sun Apr 12 2015 Josh Boyer - 4.0.0-1 +- Linux v4.0 + * Fri Apr 10 2015 Josh Boyer - 4.0.0-0.rc7.git2.1 - Linux v4.0-rc7-42-ge5e02de0665e diff --git a/sources b/sources index 60a5043a0..6f4c65cef 100644 --- a/sources +++ b/sources @@ -1,3 +1,2 @@ -26db663899b1a54397b4f184ca05f213 linux-4.0-rc7.tar.xz -3fa282f45f65ef53dda78e0f9628f3ae perf-man-4.0-rc7.tar.gz -99e01af833dde1309f953abef9b1402f patch-4.0-rc7-git2.xz +a86916bd12798220da9eb4a1eec3616d linux-4.0.tar.xz +d125eecce68ab6fb5f1f23523c2c04b8 perf-man-4.0.tar.gz