]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/fcdslusb
HDDTemp nun fuer jede Platte und nicht nur die erste :D
[people/pmueller/ipfire-2.x.git] / lfs / fcdslusb
index b5040ddc76002ab99cdc29532a70344386229751..539a27ce6527ff7c77f81e744d165db0d2009f1e 100644 (file)
@@ -90,6 +90,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)/' \
@@ -100,6 +102,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