Remove unnecessary directory about overlay and change a kernel image
from Image.itb to Image.
Also it doesn't need to use BuildRequires: u-boot-tools because it
doesn't use mkimage.
Change-Id: I3e1c3f3b3ab574c0fe8ac741939c90222a9110ca
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
BuildRequires: python3
BuildRequires: rsync
BuildRequires: python3-devel
-BuildRequires: u-boot-tools
# kernel
Provides: %{variant}-kernel-uname-r = %{fullVersion}
# Install kernel DTB
install -m 644 arch/%{buildarch}/boot/dts/spacemit/k1*.dtb %{buildroot}/boot/
-mkdir -p %{buildroot}/boot/overlays
# Install kernel headers
make headers_install %{?_smp_mflags} INSTALL_HDR_PATH=%{buildroot}/usr
-install -m 644 arch/%{buildarch}/boot/Image.itb %{buildroot}/boot/Image
+install -m 644 arch/%{buildarch}/boot/Image %{buildroot}/boot/
# Install modules
make INSTALL_MOD_STRIP=1 INSTALL_MOD_PATH=%{buildroot} modules_install