- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/util-linux-2.12r-umount-no-special.patch
-ifeq "$(ROOT)" ""
-ifeq "$(LFS_PASS)" "install"
- cd $(DIR_APP) && CFLAGS="-Os -fomit-frame-pointer" ./configure
- cd $(DIR_APP) && echo "HAVE_SLANG=yes" >> make_include
- cd $(DIR_APP) && echo "SLANGFLAGS=-I/opt/$(MACHINE)-uClibc/include" >> make_include
- cd $(DIR_APP)/fdisk && make cfdisk
- cd $(DIR_APP)/fdisk && make sfdisk
- cd $(DIR_APP)/fdisk && install -m 0755 cfdisk /install/initrd/bin
- cd $(DIR_APP)/fdisk && install -m 0755 sfdisk /install/initrd/bin
-else
- cd $(DIR_APP) && sed -i 's@etc/adjtime@var/lib/hwclock/adjtime@g' \
- hwclock/hwclock.c
- -mkdir -p /var/lib/hwclock
- cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/$(THISAPP)-cramfs-1.patch
- cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/util-linux-buildfix.patch