diff options
author | Jacek Pielaszkiewicz <j.pielaszkie@samsung.com> | 2013-12-12 15:06:24 +0100 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 11:46:07 +0900 |
commit | 44ee7a4b62b2a31d8c80d25252afb3d1309ec97b (patch) | |
tree | de2550d32762ea8af8638903cafb68a240a983a5 /packaging | |
parent | 7257d3889df13e9360e4ba5c3e12d2469f985c92 (diff) | |
download | linux-3.10-44ee7a4b62b2a31d8c80d25252afb3d1309ec97b.tar.gz linux-3.10-44ee7a4b62b2a31d8c80d25252afb3d1309ec97b.tar.bz2 linux-3.10-44ee7a4b62b2a31d8c80d25252afb3d1309ec97b.zip |
linux-kernel and linux kernel modules ABI - next changes
The following changes have implemented:
1. New API/ABI check tools were added:
- "abi-module-checker" - single module ABI/API checker. The tool
compare module fingerprint with kernel fingerprint.
- "abi-module-dumper" - create for current kernel version
ABI/API fingerprint file.
- "abi-module-kernels-list" - list compatible kernel versions with given kernel module
2. sample kernel module was added to show how to use ABI/API tools
3. a new rpm package "linux-kernel-abi-devel" is build. The package
deliver kernel fingerprints repository for development .
4. New links "linux-kernel-build-current" and "linux-kernel-sources-current"
are make easer access to sources and build kernel
directories.
Change-Id: I06f7dc1b8cc118f48e64595d257dbd29fd53e11e
Signed-off-by: Jacek Pielaszkiewicz <j.pielaszkie@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/linux-kernel.spec | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/packaging/linux-kernel.spec b/packaging/linux-kernel.spec index e199f9bfbaf..485f06e39e6 100644 --- a/packaging/linux-kernel.spec +++ b/packaging/linux-kernel.spec @@ -52,10 +52,18 @@ glibc package. %package abi-tools Summary: Kernael ABI tools Group: Development/System +Requires: libelf %description abi-tools The package provide set of tools to test and create ABI/API dumps. +%package abi-devel +Summary: Kernael ABI development package +Group: Development/System + +%description abi-devel +The package provide ABI/API fingerprint developemnt repository + %package sources Summary: Full linux kernel sources for out-of-tree modules Group: Development/System @@ -139,6 +147,10 @@ make INSTALL_PATH=%{buildroot} INSTALL_MOD_PATH=%{buildroot} O=%{kernel_build_di # 4.1 Install ABI/API tools cp abi-checker/src/abi-checker %{buildroot}/usr/local/bin +cp abi-checker/src/abi-module-checker %{buildroot}/usr/local/bin +cp abi-checker/src/abi-module-dumper %{buildroot}/usr/local/bin +cp abi-checker/src/abi-module-kernels-list %{buildroot}/usr/local/bin +chmod 755 %{buildroot}/usr/local/bin/* # 4.2 Install abi_%{version} file %if %{with abidev} @@ -181,6 +193,8 @@ rm -rf %{buildroot}/boot/vmlinux* # 6. Create symbolic links ln -sf /usr/src/linux-kernel-sources-%{version}-%{build_id} %{buildroot}/usr/src/linux-kernel-build-%{version}-%{build_id}/source +ln -sf /usr/src/linux-kernel-build-%{version}-%{build_id} %{buildroot}/usr/src/linux-kernel-build-current +ln -sf /usr/src/linux-kernel-sources-%{version}-%{build_id} %{buildroot}/usr/src/linux-kernel-sources-current %clean rm -rf %{buildroot} @@ -192,10 +206,12 @@ rm -rf %{buildroot} %files sources %defattr (-, root, root) /usr/src/linux-kernel-sources-%{version}-%{build_id} +/usr/src/linux-kernel-sources-current %files build %defattr (-, root, root) /usr/src/linux-kernel-build-%{version}-%{build_id} +/usr/src/linux-kernel-build-current %files uImage %if %{without abidev} @@ -211,3 +227,6 @@ rm -rf %{buildroot} %files abi-dev /boot/abi %endif + +%files abi-devel +/boot/abi |