Use OUT_DIR for thunkroot variable

Pick up the thunk from the correct location. It is no longer inside
THUNK_ROOT, but instead part of the OUT folder.

Change-Id: I41dd7dae243e66270d0ea7182f1ba119b18a1cfb
This commit is contained in:
Kent Russell
2015-11-09 16:13:21 -05:00
parent 4e4d4a81e1
commit 3786e18d99
+2 -2
View File
@@ -1,6 +1,6 @@
%define name libhsakmt
%define version 1.6.0
%define thunkroot %{getenv:THUNK_ROOT}
%define thunkroot %{getenv:OUT_DIR}
Name: %{name}
Version: %{version}
@@ -18,7 +18,7 @@ for AMD KFD
%setup -T -D -c -n %{name}
%install
cp -R %thunkroot/build/rpm/libhsakmt $RPM_BUILD_ROOT
cp -R %thunkroot/build/build_thunk.sh/rpm/libhsakmt $RPM_BUILD_ROOT
find $RPM_BUILD_ROOT \! -type d | sed "s|$RPM_BUILD_ROOT||"> thunk.list
%clean