Browse Source

Updates for udev-lfs-192

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10000 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Bruce Dubbs 13 years ago
parent
commit
669c307bb0
2 changed files with 3 additions and 3 deletions
  1. 2 2
      udev-lfs/Makefile.lfs
  2. 1 1
      udev-lfs/cfg.h

+ 2 - 2
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 $<

+ 1 - 1
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