Commit 1a0c1d75 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Initial commit

parents
all:
tar xf util-linux-2.32.tar.xz
mkdir -pv /var/lib/hwclock
cd util-linux-2.32 && ./configure --build=$(CLFS_TARGET) ADJTIME_PATH=/var/lib/hwclock/adjtime --docdir=/usr/share/doc/util-linux-2.32 --disable-chfn-chsh --disable-login --disable-nologin --disable-su --disable-setpriv --disable-runuser --disable-pylibmount --disable-static
$(MAKE) -C util-linux-2.32
if [[ ! "$(BUILD_OPTIONS)" =~ no-tests ]] ; then \
cd util-linux-2.32 ; \
chown -Rv nobody . ; \
su nobody -s /bin/bash -c "PATH=$$PATH make -k check" ; \
fi
$(MAKE) -C util-linux-2.32 install
rm -rf util-linux-2.32
<project name="util-linux">
<target name="temporary-util-linux">
<property name="makedir" value="${builddir}/util-linux-2.32"/>
<exec executable="tar" failonerror="true">
<arg line="xf packages/util-linux/util-linux-2.32.tar.xz -C ${builddir}"/>
</exec>
<exec executable="./configure" dir="${makedir}" failonerror="true">
<env key="PATH" path="${PATH}"/>
<env key="CC" value="${CLFS_TARGET}-gcc"/>
<env key="CXX" value="${CLFS_TARGET}-g++"/>
<env key="AR" value="${CLFS_TARGET}-ar"/>
<env key="AS" value="${CLFS_TARGET}-as"/>
<env key="RANLIB" value="${CLFS_TARGET}-ranlib"/>
<env key="LD" value="${CLFS_TARGET}-ld"/>
<env key="STRIP" value="${CLFS_TARGET}-strip"/>
<env key="LDFLAGS" value="-Wl,-rpath,${sysrootdir}/tools/lib,-rpath-link,${sysrootdir}/tools/lib"/>
<arg line="--prefix=${sysrootdir}/tools --build=${CLFS_HOST} --host=${CLFS_TARGET} --without-python --disable-makeinstall-chown --without-systemdsystemunitdir --without-ncurses --without-ncursesw PKG_CONFIG=&quot;&quot;"/>
</exec>
<exec executable="make" dir="${makedir}" failonerror="true">
<env key="PATH" path="${PATH}"/>
<env key="CC" value="${CLFS_TARGET}-gcc"/>
<env key="CXX" value="${CLFS_TARGET}-g++"/>
<env key="AR" value="${CLFS_TARGET}-ar"/>
<env key="AS" value="${CLFS_TARGET}-as"/>
<env key="RANLIB" value="${CLFS_TARGET}-ranlib"/>
<env key="LD" value="${CLFS_TARGET}-ld"/>
<env key="STRIP" value="${CLFS_TARGET}-strip"/>
</exec>
<exec executable="make" dir="${makedir}" failonerror="true">
<env key="PATH" path="${PATH}"/>
<env key="CC" value="${CLFS_TARGET}-gcc"/>
<env key="CXX" value="${CLFS_TARGET}-g++"/>
<env key="AR" value="${CLFS_TARGET}-ar"/>
<env key="AS" value="${CLFS_TARGET}-as"/>
<env key="RANLIB" value="${CLFS_TARGET}-ranlib"/>
<env key="LD" value="${CLFS_TARGET}-ld"/>
<env key="STRIP" value="${CLFS_TARGET}-strip"/>
<arg line="install"/>
</exec>
<delete dir="${makedir}"/>
</target>
</project>
bin
/bin/.*
/sbin/.*
/usr/bin/.*
/usr/sbin/.*
headers
/usr/include/.*
locale
/usr/share/locale/.*
bash-completion
/usr/share/bash-completion/.*
doc
/usr/share/doc/.*
man
/usr/share/man/.*
lib
/usr/lib/lib.*
/lib/.*
pkg
/usr/lib/pkgconfig/.*
bytecode
/.*\.py[oc]
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