- find /lib/modules/$(VER)-smp/ -name '*.o' -a -type f | xargs gzip -f9
-
- # Move these SCSI drivers into same directory for probescsi.sh
- mv -f /lib/modules/$(VER)-smp/kernel/drivers/scsi/aic7xxx/* /lib/modules/$(VER)-smp/kernel/drivers/scsi
- rm -rf /lib/modules/$(VER)-smp/kernel/drivers/scsi/aic7xxx
- mv -f /lib/modules/$(VER)-smp/kernel/drivers/scsi/aacraid/* /lib/modules/$(VER)-smp/kernel/drivers/scsi
- rm -rf /lib/modules/$(VER)-smp/kernel/drivers/scsi/aacraid
- mv -f /lib/modules/$(VER)-smp/kernel/drivers/scsi/sym53c8xx_2/* /lib/modules/$(VER)-smp/kernel/drivers/scsi
- rm -rf /lib/modules/$(VER)-smp/kernel/drivers/scsi/sym53c8xx_2
-endif
-
-ifeq "$(SMP)" ""
- # Only do this once on the non-SMP pass
- cd $(DIR_APP) && make mandocs
- -mkdir -p /usr/share/man/man9/
- cd $(DIR_APP) && cp -af Documentation/man/* /usr/share/man/man9/
-endif
-else
- cd $(DIR_APP) && make include/linux/version.h
- cd $(DIR_APP) && make symlinks
- cd $(DIR_APP) && cp -HRf include/asm /usr/include
- cd $(DIR_APP) && cp -Rf include/asm-generic /usr/include
- cd $(DIR_APP) && cp -Rf include/linux /usr/include
- touch /usr/include/linux/autoconf.h
-endif
-else
- cd $(DIR_APP) && make include/linux/version.h
- cd $(DIR_APP) && make symlinks
- -mkdir -p /tools/include/asm
- cd $(DIR_APP) && cp -f include/asm/* /tools/include/asm
- cd $(DIR_APP) && cp -Rf include/asm-generic /tools/include
- cd $(DIR_APP) && cp -Rf include/linux /tools/include
- cd $(DIR_APP) && touch /tools/include/linux/autoconf.h