diff options
-rw-r--r-- | udev-lfs/Makefile.lfs | 4 | ||||
-rw-r--r-- | udev-lfs/cfg.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/udev-lfs/Makefile.lfs b/udev-lfs/Makefile.lfs index 0c7a10f24..9015f52d9 100644 --- a/udev-lfs/Makefile.lfs +++ b/udev-lfs/Makefile.lfs @@ -4,7 +4,7 @@ # vim: tabstop=3 SHELL=/bin/bash -VERSION=190 +VERSION=192 ifeq ($(V),) VB = @ @@ -159,7 +159,7 @@ udev: common \ common: udev-lfs-$(VERSION)/cfg.h @mkdir -p build - cp udev-lfs-$(VERSION)/cfg.h . + sed -e 's/LFS-VERSION/$(VERSION)/' udev-lfs-$(VERSION)/cfg.h > ./cfg.h build/%o: %c common @echo CC $< diff --git a/udev-lfs/cfg.h b/udev-lfs/cfg.h index 695c90b53..824a9ed78 100644 --- a/udev-lfs/cfg.h +++ b/udev-lfs/cfg.h @@ -41,7 +41,7 @@ # define _GNU_SOURCE 1 /* Version number of package */ -#define VERSION "190" +#define VERSION "LFS-VERSION" #define HAVE_DECL_PIVOT_ROOT 0 #define HAVE_DECL_GETTID 0 |