diff options
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 \ |