kernel-rpi: fix installation.
This commit is contained in:
parent
c9bbadcda9
commit
a717fa7a27
1 changed files with 4 additions and 4 deletions
|
@ -69,11 +69,11 @@ do_install() {
|
|||
|
||||
# Switch to /usr.
|
||||
vmkdir usr
|
||||
vmove lib usr
|
||||
mv ${DESTDIR}/lib ${DESTDIR}/usr
|
||||
|
||||
cd ${DESTDIR}/usr/lib/modules/${_kernver} && \
|
||||
rm -f source build && \
|
||||
ln -sf ../../../src/kernel-headers-rpi-${_kernver} build
|
||||
cd ${DESTDIR}/usr/lib/modules/${_kernver}
|
||||
rm -f source build
|
||||
ln -sf ../../../src/kernel-headers-rpi-${_kernver} build
|
||||
|
||||
cd ${wrksrc}
|
||||
# Install required headers to build external modules
|
||||
|
|
Loading…
Reference in a new issue