From: jino.cho Date: Wed, 16 Mar 2016 08:26:04 +0000 (+0900) Subject: packaging: Add ARTIK-5/10 spec files for GBS build X-Git-Tag: submit/tizen/20160318.071304^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F73%2F62473%2F3;p=profile%2Fcommon%2Fplatform%2Fkernel%2Fu-boot-artik.git packaging: Add ARTIK-5/10 spec files for GBS build This patch adds the .spec files to make possible gbs build. Change-Id: I8e48e93d730ce3e409725b9eead28008695fd616 Signed-off-by: jino.cho --- diff --git a/packaging/u-boot-artik10.manifest b/packaging/u-boot-artik10.manifest new file mode 100644 index 000000000..017d22d3a --- /dev/null +++ b/packaging/u-boot-artik10.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/u-boot-artik10.spec b/packaging/u-boot-artik10.spec new file mode 100644 index 000000000..6d800174c --- /dev/null +++ b/packaging/u-boot-artik10.spec @@ -0,0 +1,42 @@ +Name: u-boot-artik10 +Summary: Bootloader for Embedded boards based on ARM processor +Version: 2012.07 +Release: 0 +Group: System/Kernel +License: GPL-2.0+ +ExclusiveArch: %{arm} +URL: http://www.denx.de/wiki/U-Boot +Source0: %{name}-%{version}.tar.bz2 +Source1001: packaging/u-boot-artik10.manifest + +%description +bootloader for Embedded boards based on ARM processor + +%prep +%setup -q + +%build +cp %{SOURCE1001} . +make distclean +make artik10_config + +# Build tools +make %{?_smp_mflags} HOSTSTRIP=/bin/true tools + +# Build image +make %{?_smp_mflags} EXTRAVERSION=`echo %{vcs} | sed 's/.*u-boot.*#\(.\{9\}\).*/-g\1-TIZEN.org/'` + +%install +rm -rf %{buildroot} + +# u-boot installation +mkdir -p %{buildroot}/boot/u-boot +install -d %{buildroot}/boot/u-boot +install -m 755 u-boot.bin %{buildroot}/boot/u-boot + +%clean + +%files +%manifest u-boot-artik10.manifest +%defattr(-,root,root,-) +/boot/u-boot diff --git a/packaging/u-boot-artik5.manifest b/packaging/u-boot-artik5.manifest new file mode 100644 index 000000000..017d22d3a --- /dev/null +++ b/packaging/u-boot-artik5.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/u-boot-artik5.spec b/packaging/u-boot-artik5.spec new file mode 100644 index 000000000..bb6758534 --- /dev/null +++ b/packaging/u-boot-artik5.spec @@ -0,0 +1,42 @@ +Name: u-boot-artik5 +Summary: Bootloader for Embedded boards based on ARM processor +Version: 2012.07 +Release: 0 +Group: System/Kernel +License: GPL-2.0+ +ExclusiveArch: %{arm} +URL: http://www.denx.de/wiki/U-Boot +Source0: %{name}-%{version}.tar.bz2 +Source1001: packaging/u-boot-artik5.manifest + +%description +bootloader for Embedded boards based on ARM processor + +%prep +%setup -q + +%build +cp %{SOURCE1001} . +make distclean +make artik5_config + +# Build tools +make %{?_smp_mflags} HOSTSTRIP=/bin/true tools + +# Build image +make %{?_smp_mflags} EXTRAVERSION=`echo %{vcs} | sed 's/.*u-boot.*#\(.\{9\}\).*/-g\1-TIZEN.org/'` + +%install +rm -rf %{buildroot} + +# u-boot installation +mkdir -p %{buildroot}/boot/u-boot +install -d %{buildroot}/boot/u-boot +install -m 755 u-boot.bin %{buildroot}/boot/u-boot + +%clean + +%files +%manifest u-boot-artik5.manifest +%defattr(-,root,root,-) +/boot/u-boot