summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild9
1 files changed, 6 insertions, 3 deletions
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