1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-04 23:22:22 +03:00
openwrt-xburst/tools/ipkg-utils/patches/110-buildpackage.patch
hauke 4ca144deb8 tools: refresh patches for tools
lua, mtd-utils, ipkg-utils, squashfs, lzma, and autoconf are touched


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-21 14:46:03 +00:00

24 lines
424 B
Diff

--- 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}