summaryrefslogtreecommitdiff
path: root/tools/ipkg-utils/patches/110-buildpackage.patch
blob: 8e62ee70cf7241ccbdbb1c24e43151b1e16b0931 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- a/ipkg-buildpackage
+++ b/ipkg-buildpackage
@@ -30,8 +30,9 @@
 
 set -e
 
-#SCRIPTDIR=/usr/local/bin
-SCRIPTDIR=/other/kurth/ipaq-dev/familiar/dist/ipkg/util/
+SCRIPTDIR=/usr/local/bin
+
+IPKG_BUILD_OPTIONS=$*
 
 SCRIPTNAME=`basename $0`
 
@@ -212,7 +213,7 @@ done
 # build the ipk package
 owd=`pwd`
 cd ..
-ipkg-build /tmp/${pkg} || exit 1
+ipkg-build $IPKG_BUILD_OPTIONS /tmp/${pkg} || exit 1
 
 rm -rf /tmp/${pkg}