]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/fcdslslusb
Am Pakfire weitergearbeitet.
[people/pmueller/ipfire-2.x.git] / lfs / fcdslslusb
index 7bf78e2a0850921b1a65fe43ab000b1f7fe77401..10f1206f4759299a799b78bb579c773f1a320bd4 100644 (file)
@@ -85,23 +85,27 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 ifeq "$(SMP)" ""
        cd $(DIR_APP) && sed -i \
            -e 's/$$(shell uname -m)/$(MACHINE)/' \
-           -e 's/$$(shell uname -r)/$(KVER)/' \
-           -e 's/`uname -r`/$(KVER)/' \
+           -e 's/$$(shell uname -r)/$(KVER)-ipfire/' \
+           -e 's/`uname -r`/$(KVER)-ipfire/' \
            -e 's/^\(CCFLAGS.*\)$$/\1 \\/' \
            -e '\+^CCFLAGS+a\ \
                  -include \$$(KRNLINCL)/linux/modversions.h' \
            -e '/^DEFINES/a\ \
                  -DMODVERSIONS \\' src/Makefile
+       cd $(DIR_APP) && sed -i \
+           -e 's/$$(shell uname -r)/$(KVER)-ipfire/' Makefile
 else
        cd $(DIR_APP) && sed -i \
            -e 's/$$(shell uname -m)/$(MACHINE)/' \
-           -e 's/$$(shell uname -r)/$(KVER)-smp/' \
-           -e 's/`uname -r`/$(KVER)-smp/' \
+           -e 's/$$(shell uname -r)/$(KVER)-ipfire-smp/' \
+           -e 's/`uname -r`/$(KVER)-ipfire-smp/' \
            -e 's/^\(CCFLAGS.*\)$$/\1 \\/' \
            -e '\+^CCFLAGS+a\ \
                  -include \$$(KRNLINCL)/linux/modversions.h' \
            -e '/^DEFINES/a\ \
                  -DMODVERSIONS \\' src/Makefile
+       cd $(DIR_APP) && sed -i \
+           -e 's/$$(shell uname -r)/$(KVER)-ipfire-smp/' Makefile
 endif
        cd $(DIR_APP) && CC="$(KGCC)" make
        cd $(DIR_APP) && CC="$(KGCC)" make install