mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-18 13:07:50 +00:00
Get udev-lfs Makefile to use different systemd and
udev-lfs versions git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10055 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
b7da138fa2
commit
2c7d610b16
@ -4,7 +4,8 @@
|
||||
# vim: tabstop=3
|
||||
|
||||
SHELL=/bin/bash
|
||||
VERSION=196
|
||||
SYSTEMD_VERSION=196
|
||||
VERSION=196-3
|
||||
|
||||
ifeq ($(V),)
|
||||
VB = @
|
||||
@ -137,7 +138,7 @@ VPATH = src/login src/udev src/udev/accelerometer \
|
||||
src/libudev src/libsystemd-daemon
|
||||
|
||||
SED_PROCESS = \
|
||||
sed -e 's|@VERSION@|$(VERSION)|g' \
|
||||
sed -e 's|@VERSION@|$(SYSTEMD_VERSION)|g' \
|
||||
-e 's|@prefix@|/usr|g' \
|
||||
-e 's|@exec_prefix@|/usr|g' \
|
||||
-e 's|@udevlibexecdir@|/lib/udev|g' \
|
||||
@ -162,7 +163,7 @@ udev: common \
|
||||
build/libudev.pc
|
||||
|
||||
cfg.h: udev-lfs-$(VERSION)/cfg.h
|
||||
sed -e 's/LFS-VERSION/$(VERSION)/' udev-lfs-$(VERSION)/cfg.h > ./cfg.h
|
||||
sed -e 's/LFS-VERSION/$(SYSTEMD_VERSION)/' udev-lfs-$(VERSION)/cfg.h > ./cfg.h
|
||||
@mkdir -p build
|
||||
|
||||
common: cfg.h
|
||||
|
Loading…
Reference in New Issue
Block a user