diff options
Diffstat (limited to 'build')
-rwxr-xr-x | build | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -4,3 +4,18 @@ include ../source.mk nop: @: + +build: + CFLAGS='$(CFLAGS) -DLTM_DESC -DUSE_LTM' \ + EXTRALIBS='-ltommath' \ + oh-autobuild -- -f makefile.shared + touch $@ + +install: build + oh-autoinstall -- -f makefile.shared \ + LIBPATH='/usr/lib/$(OPK_HOST_ARCH)' \ + INSTALL_GROUP=0 + rm dest/usr/lib/$(OPK_HOST_ARCH)/libtomcrypt.la + oh-fixperms + oh-strip + oh-installfiles |