![segler](/assets/img/avatar_default.png)
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorMake@5758 504e572c-2e33-0410-9681-be2bf7408885
45 lines
1.5 KiB
Diff
45 lines
1.5 KiB
Diff
--- ViitorMake/SysBuild/tools/mISDN 2010-07-23 19:39:03.896995304 +0200
|
|
+++ ViitorMake/SysBuild/tools/mISDN.new 2010-07-23 19:37:22.728995221 +0200
|
|
@@ -64,7 +64,7 @@
|
|
#
|
|
#
|
|
#Letzte Änderung von: $Author: kueller $
|
|
-#Datum der letzten Änderung: $Date: 2008-05-02 15:13:24 +0200 (Fr, 02 Mai 2008) $
|
|
+#Datum der letzten Änderung: $Date: 2008-05-02 14:13:24 +0100 (Fr, 02 Mai 2008) $
|
|
#Version der Datei: $Revision: 4220 $
|
|
#
|
|
#
|
|
@@ -72,27 +72,19 @@
|
|
SRCPATH=Tools/System
|
|
|
|
premk() {
|
|
- # Handling Kernel Modules
|
|
- mkdir -p $TMPROOT/usr/src/kernelmodules/mISDN
|
|
- cp -a drivers include Makefile* VERSION $TMPROOT/usr/src/kernelmodules/mISDN
|
|
- echo -e "#!/bin/bash\n\nmake && make modules-install\n" >$TMPROOT/usr/src/kernelmodules/mISDN/makemodule
|
|
- chmod 755 $TMPROOT/usr/src/kernelmodules/mISDN/makemodule
|
|
-
|
|
- mkdir -p $TMPROOT/etc/init.d
|
|
- mv Makefile Makefile.orig
|
|
- < Makefile.orig >Makefile sed -e "s/INSTALL_PREFIX := \//INSTALL_PREFIX := \$(DESTDIR)\//g"
|
|
+ mkdir -p $TMPROOT/usr/bin/
|
|
}
|
|
|
|
mk() {
|
|
- make -j $NUMCPU DESTDIR=$TMPROOT install
|
|
+ cp -a misdn-init $TMPROOT/usr/bin
|
|
+ cp -a config/mISDN $TMPROOT/usr/bin
|
|
+ cp -a include/* /usr/include
|
|
}
|
|
|
|
postmk() {
|
|
- mkdir -p $TMPROOT/tmp
|
|
- echo -e "#!/bin/bash\n\ncd /usr/src/kernelmodules/mISDN\n/bin/bash /usr/src/kernelmodules/mISDN/makemodule\n" >$TMPROOT/tmp/postinstall
|
|
-
|
|
mkdir -p $TMPROOT/usr/share/doc/mISDN
|
|
for DOC in `find . -name '*README*'`; do
|
|
cp $DOC $TMPROOT/usr/share/doc/mISDN
|
|
done
|
|
+ cp -a config $TMPROOT/usr/share/doc/mISDN
|
|
}
|