Add dtc to u-boot-tools
authorMaciej Wereski <m.wereski@partner.samsung.com>
Thu, 19 Mar 2015 10:39:59 +0000 (11:39 +0100)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 8 Apr 2016 02:17:33 +0000 (11:17 +0900)
Without dtc mkimage fails.

Change-Id: If66e67881a616dddcda88004ffe073795e010433
Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
packaging/u-boot.spec

index 0590cde..e81af0a 100644 (file)
@@ -32,6 +32,7 @@ and Microblaze.
 %package -n u-boot-tools
 Summary: Companion tools for Das U-Boot bootloader
 Group: System/Kernel
+Provides: dtc
 
 %description -n u-boot-tools
 This package includes the mkimage program, which allows generation of U-Boot
@@ -93,6 +94,7 @@ rm -rf %{buildroot}
 mkdir -p %{buildroot}%{_bindir}
 install -p -m 0755 tools/mkimage %{buildroot}%{_bindir}
 install -p -m 0755 tools/env/fw_printenv %{buildroot}%{_bindir}
+install -p -m 0755 tools/dtc/dtc %{buildroot}%{_bindir}
 ( cd %{buildroot}%{_bindir}; ln -sf fw_printenv fw_setenv )
 
 # u-boot installation
@@ -115,3 +117,4 @@ install -m 755 params.bin %{buildroot}/var/tmp/u-boot
 %{_bindir}/mkimage
 %{_bindir}/fw_printenv
 %{_bindir}/fw_setenv
+%{_bindir}/dtc