packaging: artik530: add the artik533s packaging
authorJaehoon Chung <jh80.chung@samsung.com>
Tue, 27 Mar 2018 04:53:42 +0000 (13:53 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 21 Jan 2019 07:25:21 +0000 (16:25 +0900)
Add the artik533s packaging.

*NOTE
- ARTIK533S is using the diffrent configuration with ARTIK530S.
- ARTIK530S : artik530_raptor_legacy_defconfig
- ARTIK533S : artik533_raptor_defconfig
- If someone wants to build artik533s, needs to change a config name.
- This is packaging just the prebuilt image.

Change-Id: Ib0faae5540d25545174c4b2726ca8346bbea3ff7
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
packaging/u-boot-artik530.spec

index b9b536718e11e6a8de186d14579aa78c24cc780e..4a7976679a30565d53cd343e861931f5ed26e301 100644 (file)
@@ -13,6 +13,13 @@ BuildRequires: u-boot-tools
 %description
 bootloader for Embedded boards based on ARM processor
 
+%package -n u-boot-artik533s
+Summary: A bootloader for ARTIK533S board
+Group: System/Kernel
+
+%description -n u-boot-artik533s
+bootloader for ARTIK533S Embedded boards based on ARM processor
+
 %define os_version 3.0.0
 
 %prep
@@ -58,8 +65,18 @@ install -m 755 bootloader.img %{buildroot}/boot/u-boot/nonsigned-bootloader.img
 install -m 755 ./scripts/tizen/artik530s/os_3.0.0/bootloader.img %{buildroot}/boot/u-boot
 install -m 755 params.bin %{buildroot}/boot/u-boot
 
+# u-boot artik533 installation
+mkdir -p %{buildroot}/boot/u-boot-artik533s
+install -d %{buildroot}/boot/u-boot-artik533s
+install -m 755 ./scripts/tizen/artik533s/os_3.2.0/bootloader.img %{buildroot}/boot/u-boot-artik533s
+install -m 755 ./scripts/tizen/artik533s/os_3.2.0/tizen_params.bin %{buildroot}/boot/u-boot-artik533s/params.bin
+
 %clean
 
 %files
 %defattr(-,root,root,-)
 /boot/u-boot
+
+%files -n u-boot-artik533s
+%defattr(-,root,root,-)
+/boot/u-boot-artik533s