diff options
author | P. J. McDermott <pjm@nac.net> | 2012-05-02 06:34:25 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-05-02 06:34:25 (EDT) |
commit | b84ec9ddc074d3f753357dada0315478a2a1cbeb (patch) | |
tree | f65c04044f298db7bf0bdfbd375af29fa1623335 /build | |
parent | cd835e3cf83f34a097e57b6dc9c81dd709df5eef (diff) |
Support cross building with opkhelper 1.0.0.
Diffstat (limited to 'build')
-rwxr-xr-x | build | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |