Commit 69669ab5 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Upgraded kmod to 29

parent 3fdd709c
all:
tar xf kmod-27.tar.xz
cd kmod-27 && ./configure --build=$(CLFS_TARGET) --prefix=/usr --bindir=/bin --sysconfdir=/etc --with-rootlibdir=/lib --with-xz --with-zlib
$(MAKE) -C kmod-27
$(MAKE) -C kmod-27 install
tar xf kmod-29.tar.xz
cd kmod-29 && ./configure --build=$(CLFS_TARGET) --prefix=/usr --bindir=/bin --sysconfdir=/etc --with-rootlibdir=/lib --with-xz --with-zlib
$(MAKE) -C kmod-29
$(MAKE) -C kmod-29 install
for tool in depmod insmod lsmod modinfo modprobe rmmod; do \
ln -sfv /bin/kmod /sbin/$${tool} ; \
done
......@@ -10,6 +10,6 @@ all:
tests:
if [[ ! "$(BUILD_OPTIONS)" =~ no-tests ]] ; then \
$(MAKE) -C kmod-27 check ; \
$(MAKE) -C kmod-29 check ; \
fi
rm -rf kmod-27
rm -rf kmod-29
<project name="kmod">
<target name="boot-kmod">
<property name="makedir" value="${builddir}/kmod-27"/>
<property name="makedir" value="${builddir}/kmod-29"/>
<mkdir dir="${makedir}"/>
<exec executable="tar" failonerror="true">
<arg line="xf packages/kmod/kmod-27.tar.xz -C ${builddir}"/>
<arg line="xf packages/kmod/kmod-29.tar.xz -C ${builddir}"/>
</exec>
<exec executable="cp" dir="${makedir}" failonerror="true">
<arg line="-v libkmod/libkmod.c libkmod/libkmod.c.orig"/>
......
File added
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment