diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-06-01 00:10:39 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-06-01 00:10:39 (EDT) |
commit | 43289e69d8986829c2cbb0e4f1d5f8bdb1e88b85 (patch) | |
tree | ab44bbef88cdb956145a68ca52c344dd910f45b3 | |
parent | 8c191616dc6e14ab9cea06a8a64c375d0e7dcd22 (diff) |
build: Set PREFIX
Also set macros at build time.
-rwxr-xr-x | build | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -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 |