diff options
author | Łukasz Stelmach <l.stelmach@samsung.com> | 2022-03-04 11:39:41 +0100 |
---|---|---|
committer | Łukasz Stelmach <l.stelmach@samsung.com> | 2022-03-11 10:17:44 +0100 |
commit | 376b1f16b5d564b50db5463f5803ecec27620e20 (patch) | |
tree | 6fc52bff00fd6f8e0280b06516f4434b12c6d397 | |
parent | 95b53986d96270cb2154ff84742aa169b2cfe0b7 (diff) | |
download | linux-tizen-modules-376b1f16b5d564b50db5463f5803ecec27620e20.tar.gz linux-tizen-modules-376b1f16b5d564b50db5463f5803ecec27620e20.tar.bz2 linux-tizen-modules-376b1f16b5d564b50db5463f5803ecec27620e20.zip |
spec: build modules for RPi4 RT kernelsubmit/tizen/20220311.061629accepted/tizen/unified/20220313.220447
Build Tizen modules for RaspberryPI 4 with RT kernel patch
Change-Id: Ifeb9231454f4bc3a427130ed3f0ae321e9f3f4f7
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
-rw-r--r-- | packaging/linux-tizen-modules.spec | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/packaging/linux-tizen-modules.spec b/packaging/linux-tizen-modules.spec index c2fb194..deb9544 100644 --- a/packaging/linux-tizen-modules.spec +++ b/packaging/linux-tizen-modules.spec @@ -20,6 +20,7 @@ BuildRequires: kmod BuildRequires: linux-tizen-modules-source BuildRequires: %{buildarch}-rpi3-linux-kernel-devel BuildRequires: %{buildarch}-rpi4-linux-kernel-devel +BuildRequires: %{buildarch}-rpi4-rt-linux-kernel-devel %ifarch aarch64 BuildRequires: kernel-devel-exynos9110-tw3 %endif @@ -50,6 +51,17 @@ Requires(post): kmod-compat Provides: stability-monitor-kernel-module %description rpi4 +%package rpi4-rt +Summary: Tizen modules for RaspberryPI 4 RT (real-time) +AutoReqProv: no +Requires: %{buildarch}-rpi4-rt-linux-kernel-modules +Requires(post): bash +Requires(post): coreutils +Requires(post): findutils +Requires(post): kmod-compat +Provides: stability-monitor-kernel-module +%description rpi4-rt + %ifarch aarch64 %package tw3 Summary: Tizen modules for TW3 @@ -94,6 +106,10 @@ make -C kernel clean KERNELDIR=/boot/kernel/devel/kernel-devel-%{buildarch}-rpi4 make -C kernel KERNELDIR=/boot/kernel/devel/kernel-devel-%{buildarch}-rpi4 make -C kernel modules_install KERNELDIR=/boot/kernel/devel/kernel-devel-%{buildarch}-rpi4 INSTALL_MOD_STRIP=1 +make -C kernel clean KERNELDIR=/boot/kernel/devel/kernel-devel-%{buildarch}-rpi4-rt +make -C kernel KERNELDIR=/boot/kernel/devel/kernel-devel-%{buildarch}-rpi4-rt +make -C kernel modules_install KERNELDIR=/boot/kernel/devel/kernel-devel-%{buildarch}-rpi4-rt INSTALL_MOD_STRIP=1 + export BUILD_kdbus=n make -C kernel clean KERNELDIR=/boot/kernel/devel/kernel-devel-%{buildarch}-rpi3 @@ -177,7 +193,22 @@ RELEASEVERSION=$(basename $(dirname `find $KMOD_PATH_TM1 -name extra | head -1`) %files rpi4 %manifest %{name}.manifest %license COPYING -%{KMOD_PATH}/*rpi4*/extra +%ifarch aarch64 +%{KMOD_PATH}/*rpi4-v8/extra +%else +%{KMOD_PATH}/*rpi4-v7l/extra +%endif +%{KMOD_PATH}/modprobe.d/tizen-modprobe-rpi4.conf +%{KMOD_PATH}/modules-load.d/tizen-modules-rpi4.conf + +%files rpi4-rt +%manifest %{name}.manifest +%license COPYING +%ifarch aarch64 +%{KMOD_PATH}/*rpi4-rt-v8/extra +%else +%{KMOD_PATH}/*rpi4-rt-v7l/extra +%endif %{KMOD_PATH}/modprobe.d/tizen-modprobe-rpi4.conf %{KMOD_PATH}/modules-load.d/tizen-modules-rpi4.conf |