Add dtc to u-boot-tools 91/39891/1
authorMaciej Wereski <m.wereski@partner.samsung.com>
Thu, 19 Mar 2015 10:39:59 +0000 (11:39 +0100)
committerInha Song <ideal.song@samsung.com>
Tue, 26 May 2015 05:40:59 +0000 (14:40 +0900)
Without dtc mkimage fails.

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

index f6456d2d4c6cca6d144b6246f55c05feb3dfd8df..5092fd285d1dd3b401b5561584351f8d4259b341 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