aboutsummaryrefslogtreecommitdiffstats
path: root/udev-lfs
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2014-02-16 20:49:53 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2014-02-16 20:49:53 +0000
commitd02c56d5f5dc1d2a8bea323b95acb48cb940051e (patch)
tree3bd064cbb45f1f31fcbf358539df5d8cad5de5d3 /udev-lfs
parent8b69ae47340020f78d57b1be48a93cf5f507f5d6 (diff)
Update to man-pages-3.5.9.
Incorporate beta FHS. Add /usr/share/ppd, /usr/libexec, /usr/share/color, /usr/local/share/color, /var/lib/color, and /usr/share/dict. Remove overrides for /usr/libexec: coreutils, findutils, gawk, gcc, glibc, inetutils, man-db, and tar. Move grub sbin executables from /usr/sbin to /sbin. Document two new glibc errors in the regression tests. Move man-db after util-linux to satisfy a test dependency in /tools and to speed the test up. Restore building the flex static library. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10469 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'udev-lfs')
-rw-r--r--udev-lfs/ChangeLog4
-rw-r--r--udev-lfs/Makefile.lfs9
2 files changed, 8 insertions, 5 deletions
diff --git a/udev-lfs/ChangeLog b/udev-lfs/ChangeLog
index 130678d95..0604f6f30 100644
--- a/udev-lfs/ChangeLog
+++ b/udev-lfs/ChangeLog
@@ -1,3 +1,7 @@
+2014-02-16 <bdubbs@linuxfromscratch.org>
+ * Makefile.lfs: Adjust warning flags. Adjust linking rules to
+ allow build with util-linux in LFS's /tools directory.
+
2010-01-26 Matt Burgess <matthew@linuxfromscratch.org>
* 55-lfs.rules: Remove lots of rules that have been merged upstream.
* 61-cdrom.rules: Remove as upstream has a replacement.
diff --git a/udev-lfs/Makefile.lfs b/udev-lfs/Makefile.lfs
index 1b1909bd5..12ca65559 100644
--- a/udev-lfs/Makefile.lfs
+++ b/udev-lfs/Makefile.lfs
@@ -5,7 +5,7 @@
SHELL=/bin/bash
SYSTEMD_VERSION=208
-VERSION=$(SYSTEMD_VERSION)-1
+VERSION=$(SYSTEMD_VERSION)-3
ifeq ($(V),)
VB = @
@@ -21,7 +21,7 @@ WARN = -Wall -W -Wextra -Wno-inline -Wvla -Wundef -Wformat=2 \
-Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align \
-Wstrict-aliasing=2 -Wwrite-strings -Wno-overlength-strings \
-Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result \
--Werror=overflow -Wp,-D_FORTIFY_SOURCE=2 -Wno-long-long
+-Werror=overflow -Wp,-D_FORTIFY_SOURCE=2 -Wno-long-long -Wno-vla
OPTIONS = -O2 -pipe -ffast-math -fno-common -fdiagnostics-show-option \
-fno-strict-aliasing -ffunction-sections -fdata-sections -fPIC -std=gnu99
@@ -29,7 +29,7 @@ OPTIONS = -O2 -pipe -ffast-math -fno-common -fdiagnostics-show-option \
OPTIONS2 := $(OPTIONS) -fvisibility=hidden
LDFLAGS1 = -pthread -lrt -Wl,--as-needed -Wl,--gc-sections -Wl,--no-undefined
-LDFLAGS2 := $(LDFLAGS1) -lblkid -lkmod
+LDFLAGS2 := $(LDFLAGS1) -L /tools/lib -lblkid -lkmod
DEF = -include cfg.h \
-DSYSCONFDIR=\"/etc\" \
@@ -42,7 +42,7 @@ DEF = -include cfg.h \
-DHAVE_FIRMWARE
INCLUDE = -I src/libudev -I src/shared -I src -I src/login -I src/systemd \
- -I src/core -I udev-lfs-$(SYSTEMD_VERSION)-1
+ -I src/core -I udev-lfs-$(VERSION)
LIBUDEV_SRCS = libudev-device-private.c \
libudev-device.c \
@@ -152,7 +152,6 @@ VPATH = src/login src/udev src/udev/accelerometer \
SED_PROCESS = \
sed -e 's|@VERSION@|$(SYSTEMD_VERSION)|g' \
-e 's|@prefix@|/usr|g' \
- -e 's|@exec_prefix@|/usr|g' \
-e 's|@udevlibexecdir@|/lib/udev|g' \
-e 's|@libdir@|/usr/lib|g' \
-e 's|@includedir@|/usr/include|g' \