From c2c6bf6a98a22bc37df91ceb44008a47b5d297f1 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Fri, 31 May 2019 21:54:55 -0400 Subject: build: Set PREFIX Also set macros at build time. --- diff --git a/build b/build index f7ff3ab..b563c1d 100755 --- a/build +++ b/build @@ -1,15 +1,18 @@ #!/usr/bin/make -f +macros = \ + PREFIX='/usr' \ + LIBPATH='/usr/lib/$(OPK_HOST_ARCH)' + nop: @: build: - oh-autobuild -- -f makefile.shared + oh-autobuild -- -f makefile.shared $(macros) touch $@ install: build - oh-autoinstall -- -f makefile.shared \ - LIBPATH='/usr/lib/$(OPK_HOST_ARCH)' + oh-autoinstall -- -f makefile.shared $(macros) rm dest/usr/lib/$(OPK_HOST_ARCH)/libtommath.la oh-fixperms oh-strip -- cgit v0.9.1