include Config
PKG_NAME = util-linux-ng
-VER = 2.13.1
+PKG_VER = 2.14.2
-THISAPP = $(PKG_NAME)-$(VER)
+THISAPP = $(PKG_NAME)-$(PKG_VER)
DL_FILE = $(THISAPP).tar.bz2
DIR_APP = $(DIR_SRC)/$(THISAPP)
-TARGET = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
+OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
###############################################################################
# Top-level Rules
objects = $(DL_FILE)
-install : $(TARGET)
+install : $(OBJECT)
download : $(objects)
# Installation Details
###############################################################################
-$(TARGET) :
+$(OBJECT) :
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
ifeq "$(STAGE)" "toolchain"
- cd $(DIR_APP) && ./configure --prefix=$(TOOLS_DIR)
- cd $(DIR_APP) && make -C mount mount umount
- cd $(DIR_APP) && make -C text-utils more
+ # There's a bug with this version of Util-linux-ng and the E2fsprogs version
+ # we installed, so -luuid needs to be added.
+ cd $(DIR_APP) && \
+ ./configure \
+ $(CONFIGURE_ARCH) \
+ --prefix=$(TOOLS_DIR)
+ cd $(DIR_APP) && make -C mount mount umount $(PARALLELISMFLAGS)
+ cd $(DIR_APP) && make -C text-utils more $(PARALLELISMFLAGS)
cd $(DIR_APP) && cp -v mount/{,u}mount text-utils/more $(TOOLS_DIR)/bin
endif
cd $(DIR_APP) && sed -e 's@etc/adjtime@var/lib/hwclock/adjtime@g' \
-i $$(grep -rl '/etc/adjtime' .)
mkdir -pv /var/lib/hwclock
- cd $(DIR_APP) && ./configure
+ cd $(DIR_APP) && \
+ ./configure \
+ $(CONFIGURE_ARCH) \
+ --enable-arch \
+ --enable-partx \
+ --enable-write
cd $(DIR_APP) && make $(PARALLELISMFLAGS)
cd $(DIR_APP) && make install