summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSangYoun Kwak <sy.kwak@samsung.com>2024-04-18 16:22:32 +0900
committerSangYoun Kwak <sy.kwak@samsung.com>2024-04-18 16:22:32 +0900
commit6756449a9dc7a244e6001347c21567d5f411bc20 (patch)
tree5700e0cb6494416f2319a78be50040c75b8fb22f
parent85d5e6a30b6bff0d258e70133e21d940a757b0d1 (diff)
downloadupgrade-tools-generic-6756449a9dc7a244e6001347c21567d5f411bc20.tar.gz
upgrade-tools-generic-6756449a9dc7a244e6001347c21567d5f411bc20.tar.bz2
upgrade-tools-generic-6756449a9dc7a244e6001347c21567d5f411bc20.zip
Change-Id: Id295beff3cfb9548f2045d74dd9e0c69a3fe255c Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
-rw-r--r--CMakeLists.txt1
-rw-r--r--packaging/upgrade-tools-generic.spec19
2 files changed, 19 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..1dda4b0
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1 @@
+PROJECT(upgrade-tools-generic)
diff --git a/packaging/upgrade-tools-generic.spec b/packaging/upgrade-tools-generic.spec
index dd089fa..c481637 100644
--- a/packaging/upgrade-tools-generic.spec
+++ b/packaging/upgrade-tools-generic.spec
@@ -8,5 +8,22 @@ Source0: %{name}-%{version}.tar.gz
Source1001: %{name}.manifest
+BuildRequires: cmake
+
%description
-This is a dummy package \ No newline at end of file
+This is a dummy package
+
+%prep
+%setup -q
+%cmake .
+
+%build
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/upgrade-tools/mk_delta
+cp -r ./rpi4 %{buildroot}/upgrade-tools/mk_delta/.
+
+%files
+/upgrade-tools/*