mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-23 18:14:04 +08:00
kbuild: remove stale code for 'source' symlink in packaging scripts
Since commit d8131c2965
("kbuild: remove $(MODLIB)/source symlink"),
modules_install does not create the 'source' symlink.
Remove the stale code from builddeb and kernel.spec.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
This commit is contained in:
parent
f177cd0c15
commit
2d7d1bc119
@ -64,7 +64,6 @@ install_linux_image () {
|
||||
|
||||
${MAKE} -f ${srctree}/Makefile INSTALL_MOD_PATH="${pdir}" modules_install
|
||||
rm -f "${pdir}/lib/modules/${KERNELRELEASE}/build"
|
||||
rm -f "${pdir}/lib/modules/${KERNELRELEASE}/source"
|
||||
|
||||
# Install the kernel
|
||||
if [ "${ARCH}" = um ] ; then
|
||||
|
@ -68,7 +68,6 @@ cp $(%{make} %{makeflags} -s image_name) %{buildroot}/boot/vmlinuz-%{KERNELRELEA
|
||||
cp System.map %{buildroot}/boot/System.map-%{KERNELRELEASE}
|
||||
cp .config %{buildroot}/boot/config-%{KERNELRELEASE}
|
||||
ln -fns /usr/src/kernels/%{KERNELRELEASE} %{buildroot}/lib/modules/%{KERNELRELEASE}/build
|
||||
ln -fns /usr/src/kernels/%{KERNELRELEASE} %{buildroot}/lib/modules/%{KERNELRELEASE}/source
|
||||
%if %{with_devel}
|
||||
%{make} %{makeflags} run-command KBUILD_RUN_COMMAND='${srctree}/scripts/package/install-extmod-build %{buildroot}/usr/src/kernels/%{KERNELRELEASE}'
|
||||
%endif
|
||||
@ -101,7 +100,6 @@ fi
|
||||
%defattr (-, root, root)
|
||||
/lib/modules/%{KERNELRELEASE}
|
||||
%exclude /lib/modules/%{KERNELRELEASE}/build
|
||||
%exclude /lib/modules/%{KERNELRELEASE}/source
|
||||
/boot/*
|
||||
|
||||
%files headers
|
||||
@ -113,5 +111,4 @@ fi
|
||||
%defattr (-, root, root)
|
||||
/usr/src/kernels/%{KERNELRELEASE}
|
||||
/lib/modules/%{KERNELRELEASE}/build
|
||||
/lib/modules/%{KERNELRELEASE}/source
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user