aboutsummaryrefslogtreecommitdiff
path: root/skiboot.spec
diff options
context:
space:
mode:
authorCédric Le Goater <clg@fr.ibm.com>2016-03-31 14:23:49 +0200
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-04-01 13:03:14 +1100
commit629424505e1b13c18f0646c22a44d415bb021e0b (patch)
tree38886e7ff44ffda556e814cb98d6e65219f14e1c /skiboot.spec
parent7c3786192de47fe34a4a777f758a12ae10ced98f (diff)
downloadskiboot-629424505e1b13c18f0646c22a44d415bb021e0b.zip
skiboot-629424505e1b13c18f0646c22a44d415bb021e0b.tar.gz
skiboot-629424505e1b13c18f0646c22a44d415bb021e0b.tar.bz2
external: improve xscom commands Makefile
The current Makefile is a bit rustic compared to other skiboot tools. This patch adds a proper install target and a new versioning target. Signed-off-by: Cédric Le Goater <clg@fr.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'skiboot.spec')
-rw-r--r--skiboot.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/skiboot.spec b/skiboot.spec
index 1d70467..29c396b 100644
--- a/skiboot.spec
+++ b/skiboot.spec
@@ -58,8 +58,7 @@ XSCOM_VERSION=%version make V=1 -C external/xscom-utils
%install
make -C external/opal-prd install DESTDIR=%{buildroot} prefix=/usr
make -C external/gard install DESTDIR=%{buildroot} prefix=/usr
-cp external/xscom-utils/{get,put}scom %{buildroot}%{_sbindir}
-cp external/pflash/pflash %{buildroot}%{_sbindir}
+make -C external/xscom-utils install DESTDIR=%{buildroot} prefix=/usr
mkdir -p %{buildroot}%{_unitdir}
install -m 644 -p %{SOURCE1} %{buildroot}%{_unitdir}/opal-prd.socket
@@ -102,6 +101,7 @@ fi
%{_sbindir}/opal-gard
%{_sbindir}/getscom
%{_sbindir}/putscom
+%{_sbindir}/getsram
%{_sbindir}/pflash
%{_mandir}/man1/*