]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/fcdslslusb
HDDTemp nun fuer jede Platte und nicht nur die erste :D
[people/pmueller/ipfire-2.x.git] / lfs / fcdslslusb
index 7bf78e2a0850921b1a65fe43ab000b1f7fe77401..d1c3073c0a5fc99870cda2c091bf858621490c88 100644 (file)
@@ -92,6 +92,8 @@ ifeq "$(SMP)" ""
                  -include \$$(KRNLINCL)/linux/modversions.h' \
            -e '/^DEFINES/a\ \
                  -DMODVERSIONS \\' src/Makefile
                  -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)/' \
 else
        cd $(DIR_APP) && sed -i \
            -e 's/$$(shell uname -m)/$(MACHINE)/' \
@@ -102,6 +104,8 @@ else
                  -include \$$(KRNLINCL)/linux/modversions.h' \
            -e '/^DEFINES/a\ \
                  -DMODVERSIONS \\' src/Makefile
                  -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
 endif
        cd $(DIR_APP) && CC="$(KGCC)" make
        cd $(DIR_APP) && CC="$(KGCC)" make install