summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2024-08-02 14:58:38 +0900
committerJaehoon Chung <jh80.chung@samsung.com>2024-08-02 15:24:21 +0900
commit88af486deb02d217e523f84cbf8af52a89930e0d (patch)
tree3f8bbb185ca5f9c3284ec53f9ec7be9be80fbacb
parent870c18ea6ee9a0d0b6e8257ec343b90533b0cf5c (diff)
downloadlinux-riscv-accepted/tizen/unified/x/20240805.104555.tar.gz
linux-riscv-accepted/tizen/unified/x/20240805.104555.tar.bz2
linux-riscv-accepted/tizen/unified/x/20240805.104555.zip
packaging: Remove unnecessary code and change a kernel imageaccepted/tizen/unified/x/20240805.104555
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>
-rw-r--r--packaging/linux-bpif3.spec4
1 files changed, 1 insertions, 3 deletions
diff --git a/packaging/linux-bpif3.spec b/packaging/linux-bpif3.spec
index cbec3e0ea197..30df43d72c88 100644
--- a/packaging/linux-bpif3.spec
+++ b/packaging/linux-bpif3.spec
@@ -35,7 +35,6 @@ BuildRequires: binutils-devel
BuildRequires: python3
BuildRequires: rsync
BuildRequires: python3-devel
-BuildRequires: u-boot-tools
# kernel
Provides: %{variant}-kernel-uname-r = %{fullVersion}
@@ -110,12 +109,11 @@ mkdir -p %{buildroot}/lib/modules
# 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