[PATCH rtems_rsb 3/4] Added Patch for pc386 and EPICS build is working now

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


Signed-off-by: Mritunjay Sharma <mritunjaysharma394 at gmail.com>
---
 rtems/config/epics/epics-7-1.cfg    | 28 ++++++++++++++++++++++++++++
 rtems/config/epics/epics-base.bset  | 26 ++++++++++++++++++++++++++
 source-builder/config/epics-7-1.cfg |  6 ++----
 3 files changed, 56 insertions(+), 4 deletions(-)
 create mode 100644 rtems/config/epics/epics-7-1.cfg
 create mode 100644 rtems/config/epics/epics-base.bset

diff --git a/rtems/config/epics/epics-7-1.cfg b/rtems/config/epics/epics-7-1.cfg
new file mode 100644
index 0000000..ed1f768
--- /dev/null
+++ b/rtems/config/epics/epics-7-1.cfg
@@ -0,0 +1,28 @@
+#
+# EPICS 3afec267ab08568ea454789e562450b00feea5c0
+#
+
+%if %{release} == %{nil}
+ %define release 1
+%endif
+
+#%include %{_configdir}/rtems-bsp.cfg
+
+#
+# EPICS Version
+#
+%define epics_version 3afec267ab08568ea454789e562450b00feea5c0
+
+#%hash sha512 epics-%{ntp_version}.tar.gz 8d76fc7e92b2ea6dd5031e6030a7aba4ff6fb3e19d3bc0153852509861be5d0960e70604814163caedb81f8315a451d78371f99634a50b55cfe1cbd2c69e3046
+
+#
+# Patch for RTEMS support.
+#
+%patch add epics -p1 file:///home/mritunjay/development/rtems/src/rsb_GSoC/rtems/patches/0001-Added-Support-for-RTEMS-pc386.patch
+ 
+#%hash  sha512 rtems-ntp-4.2.6p5.diff 257223d207d0b77cde2b9d7add22e3b9d657b58998411d2e20d0b1adf36910be21f1277386c54c34f5d9616fccd29f721d007295708047ea7ae0270a00be25a0
+
+#
+# EPICS Build configuration
+#
+%include %{_configdir}/epics-7-1.cfg
diff --git a/rtems/config/epics/epics-base.bset b/rtems/config/epics/epics-base.bset
new file mode 100644
index 0000000..550daad
--- /dev/null
+++ b/rtems/config/epics/epics-base.bset
@@ -0,0 +1,26 @@
+#
+# Build set for EPICS
+#
+
+%define release 1
+
+#
+# RTEMS Version
+#
+%define rtems_version 5
+
+#
+# The RTEMS URL paths.
+#
+%include rtems-urls.bset
+
+#
+# The RTEMS Package defines
+#
+%include rtems-package.bset
+
+
+#
+# Build EPICS.
+#
+epics/epics-7-1.cfg
\ No newline at end of file
diff --git a/source-builder/config/epics-7-1.cfg b/source-builder/config/epics-7-1.cfg
index ea25f28..b18f62b 100644
--- a/source-builder/config/epics-7-1.cfg
+++ b/source-builder/config/epics-7-1.cfg
@@ -31,6 +31,7 @@ URL: 	  https://epics.mpg.de/
   source_dir_epics="epicsBaseOwnPlayground-%{epics_version}"
 
   %source setup epics -q -n epicsBaseOwnPlayground-%{epics_version}
+  %patch setup epics -p1
 
   cd ${build_top}
 
@@ -43,10 +44,7 @@ URL: 	  https://epics.mpg.de/
 
   %{__make} PREFIX=%{_prefix}
 
-  ./configure \
-    --prefix=%{_prefix}
-
-  %{__make} %{?_smp_mflags}
+  #%{__make} %{?_smp_mflags}
 
   cd ${build_top}
 
-- 
2.25.1



More information about the devel mailing list