summaryrefslogtreecommitdiffstats
path: root/bare
diff options
context:
space:
mode:
authorVijay Kumar Banerjee <vijay@rtems.org>2020-04-10 01:51:54 +0530
committerJoel Sherrill <joel@rtems.org>2020-04-10 08:44:32 -0500
commit190b39e9139980a594bbeeb552dcab67aed1b949 (patch)
treefba6ad884c8ad8ce79be76d2c886c346c969dcd5 /bare
parentbare/config: Add devel/dtc-1.6.0 (diff)
downloadrtems-source-builder-190b39e9139980a594bbeeb552dcab67aed1b949.tar.bz2
source-builder: Add capstone
Diffstat (limited to 'bare')
-rw-r--r--bare/config/devel/capstone-4.0.1-1.cfg27
-rw-r--r--bare/config/devel/capstone.bset7
2 files changed, 34 insertions, 0 deletions
diff --git a/bare/config/devel/capstone-4.0.1-1.cfg b/bare/config/devel/capstone-4.0.1-1.cfg
new file mode 100644
index 0000000..9f3627c
--- /dev/null
+++ b/bare/config/devel/capstone-4.0.1-1.cfg
@@ -0,0 +1,27 @@
+#
+# Capstone from Git
+#
+
+%if %{release} == %{nil}
+ %define release 1
+%endif
+
+%include %{_configdir}/base.cfg
+
+%include %{_configdir}/bare-config.cfg
+
+#
+# Capstone Version.
+#
+%define capstone_version 4.0.1
+
+#
+# Set source from github.
+#
+%source set capstone --rsb-file=capstone-%{capstone_version}.tar.gz https://github.com/aquynh/capstone/archive/%{capstone_version}.tar.gz
+%hash sha512 capstone-%{capstone_version}.tar.gz 43c52024065b41b45eff9423341db3f3d5163fa7aa01b360faa30437786740c8f2c34c36faa04dced5308e09d8bd78df3bad0ab9c06f98612169edb176f83c36
+
+#
+# The build instructions.
+#
+%include %{_configdir}/capstone-1-1.cfg
diff --git a/bare/config/devel/capstone.bset b/bare/config/devel/capstone.bset
new file mode 100644
index 0000000..d56406d
--- /dev/null
+++ b/bare/config/devel/capstone.bset
@@ -0,0 +1,7 @@
+#
+# Build set for Capstone Disassembler
+#
+
+%define release 1
+
+devel/capstone-4.0.1-1