summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorJacek Pielaszkiewicz <j.pielaszkie@samsung.com>2014-01-02 22:21:59 -0800
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:46:07 +0900
commit203fbb66fb41f08a9c2ea621c9e956a8908290c4 (patch)
treee2249456d2cf2ec29d8e6d9653edf40c3212d818 /packaging
parent32db5b251746bbe871378528fdf9b3eb24b9978d (diff)
downloadlinux-3.10-203fbb66fb41f08a9c2ea621c9e956a8908290c4.tar.gz
linux-3.10-203fbb66fb41f08a9c2ea621c9e956a8908290c4.tar.bz2
linux-3.10-203fbb66fb41f08a9c2ea621c9e956a8908290c4.zip
Revert "abi-checker - tool directory location update."
This reverts commit 952c6d9596e18f9df43174f513ce84ebe7cd6ca2. Change-Id: Id6f4bd3d4e76c3a07fb8cdf121745c17e59b7a2a
Diffstat (limited to 'packaging')
-rw-r--r--packaging/linux-kernel.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/packaging/linux-kernel.spec b/packaging/linux-kernel.spec
index 0bbbfa50582..485f06e39e6 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 tools/abi-checker/src
+make -C 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 tools/abi-checker/src; chmod 755 build_api_kernel_checker.sh; ./build_api_kernel_checker.sh "%{version}" "%{abiver}" )
+( cd 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 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
+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}
find ../.. -name "Module.symvers" -exec cp {} %{buildroot}/boot/abi/abi_devel \;
%else
-cp tools/abi-checker/data/abi* %{buildroot}/boot/abi/.
+cp 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}/tools/abi-checker
+rm -rf %{buildroot}/usr/src/linux-kernel-sources-%{version}-%{build_id}/abi-checker
rm -rf %{buildroot}/System.map*
rm -rf %{buildroot}/vmlinux*