packaging : provide nexell tool for build image file for artik710
authoreunggu kim <egukim@dignsys.com>
Tue, 7 Nov 2017 05:37:51 +0000 (14:37 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 21 Jan 2019 07:07:57 +0000 (16:07 +0900)
provide nexell tool for build image file for artik710.

Change-Id: Id0590c334c587c0fd644a1d9d789ab5f5f49d7ea
Signed-off-by: eunggu kim <egukim@dignsys.com>
packaging/u-boot-artik7.spec

index 4473b799d1bb070e90873a0167813ae6e4bf13a7..ebdf07c36f3b015652c39a0b2973bcc01fc6ee18 100644 (file)
@@ -14,6 +14,14 @@ BuildRequires: u-boot-tools
 %description
 bootloader for Embedded boards based on ARM processor
 
+%package -n nexell-tools
+Summary: tools to create nexell soc loadable image
+Group: System/Kernel
+
+%description -n nexell-tools
+This package includes SECURE_BINGEN and config files for the tool to create
+image with nexell format.
+
 %prep
 %setup -q
 
@@ -55,6 +63,10 @@ mkdir -p %{buildroot}/boot/u-boot
 install -d %{buildroot}/boot/u-boot
 install -m 755 fip-nonsecure.img %{buildroot}/boot/u-boot
 install -m 755 params.bin %{buildroot}/boot/u-boot
+mkdir -p %{buildroot}/boot/tools
+install -d %{buildroot}/boot/tools
+install -m 755 tools/nexell/SECURE_BINGEN %{buildroot}/boot/tools
+install -m 755 tools/nexell/nsih/raptor-64.txt %{buildroot}/boot/tools
 
 %clean
 
@@ -62,3 +74,6 @@ install -m 755 params.bin %{buildroot}/boot/u-boot
 %manifest u-boot-artik7.manifest
 %defattr(-,root,root,-)
 /boot/u-boot
+
+%files -n nexell-tools
+/boot/tools