diff options
author | Jacek Pielaszkiewicz <j.pielaszkie@samsung.com> | 2013-12-17 14:27:39 +0100 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 11:46:07 +0900 |
commit | a54216436ae264432562965e7630ae0ff52719ea (patch) | |
tree | d181b2a7050d1e4d09e0ffa3135f91c363a55ec9 /packaging | |
parent | 44ee7a4b62b2a31d8c80d25252afb3d1309ec97b (diff) | |
download | linux-3.10-a54216436ae264432562965e7630ae0ff52719ea.tar.gz linux-3.10-a54216436ae264432562965e7630ae0ff52719ea.tar.bz2 linux-3.10-a54216436ae264432562965e7630ae0ff52719ea.zip |
abi-checker - tool directory location update.
- abi-checker tool has been moved into tools/directory
- abi-checker short documentation has been added.
Change-Id: I88d4c6081b1df276243c9edfb44d1de2e009cc10
Signed-off-by: Jacek Pielaszkiewicz <j.pielaszkie@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/linux-kernel.spec | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/packaging/linux-kernel.spec b/packaging/linux-kernel.spec index 485f06e39e6..0bbbfa50582 100644 --- a/packaging/linux-kernel.spec +++ b/packaging/linux-kernel.spec @@ -92,7 +92,7 @@ Linux kernel uImage %build # 0. Build abi checker -make -C abi-checker/src +make -C tools/abi-checker/src # 1. Create main build directory rm -rf %{kernel_build_dir} @@ -112,7 +112,7 @@ make EXTRAVERSION="-%{build_id}" O=%{kernel_build_dir}/linux-kernel-build-%{vers %if %{with abidev} echo "No linuks kernel ABI/API checks" %else -( cd abi-checker/src; chmod 755 build_api_kernel_checker.sh; ./build_api_kernel_checker.sh "%{version}" "%{abiver}" ) +( cd tools/abi-checker/src; chmod 755 build_api_kernel_checker.sh; ./build_api_kernel_checker.sh "%{version}" "%{abiver}" ) %endif make EXTRAVERSION="-%{build_id}" O=%{kernel_build_dir}/linux-kernel-build-%{version}-%{build_id} uImage %{?jobs:-j%jobs} @@ -146,17 +146,17 @@ make INSTALL_PATH=%{buildroot}/boot INSTALL_MOD_PATH=%{buildroot} O=%{kernel_bui make INSTALL_PATH=%{buildroot} INSTALL_MOD_PATH=%{buildroot} O=%{kernel_build_dir}/linux-kernel-build-%{version}-%{build_id} INSTALL_HDR_PATH=%{buildroot}/usr headers_install # 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 +cp tools/abi-checker/src/abi-checker %{buildroot}/usr/local/bin +cp tools/abi-checker/src/abi-module-checker %{buildroot}/usr/local/bin +cp tools/abi-checker/src/abi-module-dumper %{buildroot}/usr/local/bin +cp tools/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} find ../.. -name "Module.symvers" -exec cp {} %{buildroot}/boot/abi/abi_devel \; %else -cp abi-checker/data/abi* %{buildroot}/boot/abi/. +cp tools/abi-checker/data/abi* %{buildroot}/boot/abi/. ln -sf /boot/abi/abi_%{version}_%{abiver} %{buildroot}/boot/abi/current %endif @@ -183,7 +183,7 @@ rm -rf %{buildroot}/usr/src/linux-kernel-sources-%{version}-%{build_id}/%{kernel rm -f %{buildroot}/usr/src/linux-kernel-sources-%{version}-%{build_id}/source rm -f %{buildroot}/usr/src/linux-kernel-build-%{version}-%{build_id}/source -rm -rf %{buildroot}/usr/src/linux-kernel-sources-%{version}-%{build_id}/abi-checker +rm -rf %{buildroot}/usr/src/linux-kernel-sources-%{version}-%{build_id}/tools/abi-checker rm -rf %{buildroot}/System.map* rm -rf %{buildroot}/vmlinux* |