From dc67330b19d3a467e6cb6da04e09d558d0eca439 Mon Sep 17 00:00:00 2001 From: Pablo Greco Date: Jun 12 2020 03:10:17 +0000 Subject: Add module.lds to -devel --- diff --git a/SPECS/raspberrypi2.spec b/SPECS/raspberrypi2.spec index 8e201ea..862eaea 100644 --- a/SPECS/raspberrypi2.spec +++ b/SPECS/raspberrypi2.spec @@ -171,6 +171,9 @@ fi if [ -f arch/%{Arch}/*lds ]; then cp -a arch/%{Arch}/*lds %{buildroot}$DevelDir/arch/%{_arch}/ || : fi +if [ -f arch/%{Arch}/kernel/module.lds ]; then + cp -a --parents arch/%{Arch}/kernel/module.lds %{buildroot}$DevelDir/ +fi rm -f %{buildroot}$DevelDir/scripts/*.o rm -f %{buildroot}$DevelDir/scripts/*/*.o cp -a --parents arch/%{Arch}/include %{buildroot}$DevelDir