]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/fcclassic
Kernel Update
[people/pmueller/ipfire-2.x.git] / lfs / fcclassic
index e4a742c694564d324ce57d6ed0bfe6b05805b807..28cbbf70693c43b38cd24559dd6f61f6c0e149d0 100644 (file)
@@ -83,8 +83,8 @@ $(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' \
@@ -93,8 +93,8 @@ ifeq "$(SMP)" ""
 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' \
@@ -103,10 +103,5 @@ else
 endif
        cd $(DIR_APP) && CC="$(KGCC)" make
        cd $(DIR_APP) && CC="$(KGCC)" make install
-ifeq "$(SMP)" ""
-       find /lib/modules/$(KVER)/misc/ -name '*.o' -a -type f | xargs gzip -f9
-else
-       find /lib/modules/$(KVER)-smp/misc/ -name '*.o' -a -type f | xargs gzip -f9
-endif
-#      @rm -rf $(DIR_APP)
+       @rm -rf $(DIR_APP)
        @$(POSTBUILD)
\ No newline at end of file