diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-02 01:56:10 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-02 01:56:10 (EDT) |
commit | bce1fd95ebb1229a393381d9fc4f3258abe2fc56 (patch) | |
tree | bcc79dc4c61651457d91510f3c4886e6b6630ae4 /build | |
parent | 8598983afa0d3403f18f1b256bc123b7c5360e99 (diff) |
build: Build out-of-tree
Diffstat (limited to 'build')
-rwxr-xr-x | build | 22 |
1 files changed, 14 insertions, 8 deletions
@@ -2,20 +2,26 @@ include ../source.mk +common_opts = \ + --disable-shared \ + --disable-curl --disable-ssl-curl \ + --enable-sha256 \ + --with-opkglibdir=/var/lib + nop: @: -build: - oh-autoconfigure -- \ - --disable-shared \ - --disable-curl --disable-ssl-curl --disable-gpg \ - --enable-sha256 \ - --with-opkglibdir=/var/lib - oh-autobuild +build-opkg: + oh-autoconfigure -B obj-opkg -- \ + $(common_opts) \ + --disable-gpg + oh-autobuild -B obj-opkg touch $@ +build: build-opkg + install: build - oh-autoinstall + oh-autoinstall -B obj-opkg rm -Rf dest/usr/include/ \ dest/usr/lib/$(OPK_HOST_ARCH)/pkgconfig/ \ dest/usr/lib/$(OPK_HOST_ARCH)/libopkg.a \ |