From b84ec9ddc074d3f753357dada0315478a2a1cbeb Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 02 May 2012 06:34:25 -0400 Subject: Support cross building with opkhelper 1.0.0. --- (limited to 'build') diff --git a/build b/build index e00ceab..1700de2 100755 --- a/build +++ b/build @@ -5,7 +5,9 @@ opkg opkg-doc libopkg.1 libopkg.1-dbg libopkg.1-dev: opkg.buildstamp .SILENT: opkg.buildstamp opkg.buildstamp: cd src && chmod a+x configure && \ - ./configure --prefix=/usr --disable-static \ + ./configure --prefix=/usr \ + --build=${OH_BUILD_ARCH_GNU} --host=${OH_HOST_ARCH_GNU} \ + --disable-static \ --disable-curl --disable-ssl-curl --disable-gpg && \ make && make DESTDIR=$$(pwd)/../dest install oh-strip -gl /usr/lib/libopkg.so.1.0.0 -- cgit v0.9.1