[PATCH rtems_rsb 2/4] Modified to fix 'can't cd' error

Mritunjay Sharma mritunjaysharma394 at gmail.com
Thu Jul 23 21:17:19 UTC 2020


Signed-off-by: Mritunjay Sharma <mritunjaysharma394 at gmail.com>
---
 source-builder/config/epics-7-1.cfg | 20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)

diff --git a/source-builder/config/epics-7-1.cfg b/source-builder/config/epics-7-1.cfg
index fe1fb45..ea25f28 100644
--- a/source-builder/config/epics-7-1.cfg
+++ b/source-builder/config/epics-7-1.cfg
@@ -10,7 +10,7 @@
 
 %define epics_version 3afec267ab08568ea454789e562450b00feea5c0
 
-Name:      epics-%{epics_version}-%{_host}-%{release}
+Name:      epicsBaseOwnPlayground-%{epics_version}-%{_host}-%{release}
 Summary:   EPICS v%{epics_version} for target %{_target} on host %{_host}
 Version:   %{epics_version}
 Release:   %{release}
@@ -19,7 +19,8 @@ URL: 	  https://epics.mpg.de/
 #
 # Source
 #
-%source set epics --rsb-file=epics-%{epics_version}.zip https://github.com/hjunkes/epicsBaseOwnPlayground/archive/%{epics_version}.zip
+%source set epics --rsb-file=epicsBaseOwnPlayground-%{epics_version}.tar.gz https://github.com/hjunkes/epicsBaseOwnPlayground/archive/%{epics_version}.tar.gz
+
 
 #
 # Prepare the source code.
@@ -27,25 +28,20 @@ URL: 	  https://epics.mpg.de/
 %prep
   build_top=$(pwd)
 
-  source_dir_epics="epics-%{epics_version}"
+  source_dir_epics="epicsBaseOwnPlayground-%{epics_version}"
 
-  %source setup epics -q -n epics-%{epics_version}
+  %source setup epics -q -n epicsBaseOwnPlayground-%{epics_version}
 
   cd ${build_top}
 
 %build
   build_top=$(pwd)
 
-    
-
-  %{build_directory}
-
-  mkdir -p ${build_dir}
-  cd ${build_dir}
+  cd ${source_dir_epics}
 
-  %{host_build_flags}
+  %{build_build_flags}
 
-  #cd ${source_dir_epics}
+  %{__make} PREFIX=%{_prefix}
 
   ./configure \
     --prefix=%{_prefix}
-- 
2.25.1



More information about the devel mailing list