]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/fcpci
HDDTemp nun fuer jede Platte und nicht nur die erste :D
[ipfire-2.x.git] / lfs / fcpci
index 1adaabd27c3de63e0556767fdaaf768a12871a6b..cfc769b83516fab520ffefb3ee82f825c95fb431 100644 (file)
--- a/lfs/fcpci
+++ b/lfs/fcpci
@@ -87,6 +87,8 @@ ifeq "$(SMP)" ""
                  -include \$$(KRNLINCL)/linux/modversions.h' \
            -e '/^DEFINES/a\ \
                  -DMODVERSIONS \\' src/Makefile
+       cd $(DIR_APP) && sed -i \
+           -e 's/$$(shell uname -r)/$(KVER)/' Makefile
 else
        cd $(DIR_APP) && sed -i \
            -e 's/$$(shell uname -m)/$(MACHINE)/' \
@@ -97,6 +99,8 @@ else
                  -include \$$(KRNLINCL)/linux/modversions.h' \
            -e '/^DEFINES/a\ \
                  -DMODVERSIONS \\' src/Makefile
+       cd $(DIR_APP) && sed -i \
+           -e 's/$$(shell uname -r)/$(KVER)-smp/' Makefile
 endif
        cd $(DIR_APP) && CC="$(KGCC)" make
        cd $(DIR_APP) && CC="$(KGCC)" make install