#!/usr/bin/make -f include ../source.mk common_opts = \ --disable-shared \ --disable-curl --disable-ssl-curl \ --enable-sha256 \ --with-opkglibdir=/var/lib nop: @: build-opkg: oh-autoconfigure -B obj-opkg -- \ $(common_opts) \ --disable-gpg oh-autobuild -B obj-opkg touch $@ build: build-opkg install: build 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 \ dest/usr/lib/$(OPK_HOST_ARCH)/libopkg.la ln -sf opkg-cl dest/usr/bin/opkg ln -sf opkg-cl.1 dest/usr/share/man/man1/opkg.1 oh-fixperms oh-strip -k oh-installfiles