summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/build b/build
index cb433a5..56adf30 100755
--- a/build
+++ b/build
@@ -1,18 +1,21 @@
#!/usr/bin/make -f
+macros = \
+ PREFIX='/usr' \
+ LIBPATH='/usr/lib/$(OPK_HOST_ARCH)' \
+ INSTALL_GROUP=0
+
nop:
@:
build:
CFLAGS='$(CFLAGS) -DLTM_DESC -DUSE_LTM' \
EXTRALIBS='-ltommath' \
- 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)' \
- INSTALL_GROUP=0
+ oh-autoinstall -- -f makefile.shared $(macros)
rm dest/usr/lib/$(OPK_HOST_ARCH)/libtomcrypt*.la
oh-fixperms
oh-strip