Skip to content

Commit

Permalink
Temporarily switch to the prebuilt u-boot.bin (see hardkernel/u-boot#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
cottsay committed Aug 4, 2015
1 parent 27275b4 commit cb7df6c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions odroid-u-uboot.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Name: odroid-u-uboot
Version: 2014.08.29
Release: 1%{?dist}
Release: 2%{?dist}
Summary: U-boot for ODROID-U2/U3/X2

Group: System Environment/Base
Expand Down Expand Up @@ -31,8 +31,8 @@ default boot.ini, and also configures grubby.
%setup -qn u-boot-%{commit}
%patch0 -p1
rm -f mkbl2
#dos2unix COPYING.txt
#chmod 644 COPYING.txt
dos2unix COPYING.txt
chmod 644 COPYING.txt

%build
make %{?_smp_mflags} smdk4412_config
Expand All @@ -41,7 +41,7 @@ make %{?_smp_mflags} CROSS_COMPILE=arm-none-eabi-
%install
install -p -m0644 -D %{SOURCE2} %{buildroot}%{_datadir}/%{name}/grubby-%{version}-%{release}
install -p -m0644 -D %{SOURCE1} %{buildroot}/boot/uboot/boot.ini
install -p -m0755 -D u-boot.bin %{buildroot}/boot/uboot/u-boot.bin
install -p -m0755 -D sd_fuse/u-boot.bin.HardKernel %{buildroot}/boot/uboot/u-boot.bin

ln -s grubby-%{version}-%{release} %{buildroot}%{_datadir}/%{name}/grubby

Expand All @@ -61,5 +61,8 @@ done < %{_datadir}/%{name}/grubby-%{version}-%{release}
/boot/uboot/u-boot.bin

%changelog
* Mon Aug 03 2015 Scott K Logan <[email protected]> - 2014.08.29-2
- Temporarily switch to the prebuilt u-boot.bin (see https://github.com/hardkernel/u-boot/issues/16)

* Sun Jul 19 2015 Scott K Logan <[email protected]> - 2014.08.29-1
- Initial package

0 comments on commit cb7df6c

Please sign in to comment.