diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-05-31 21:54:55 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-05-31 21:54:55 (EDT) |
commit | c2c6bf6a98a22bc37df91ceb44008a47b5d297f1 (patch) | |
tree | 92421c104a814c092d089eaac13d1fc4bb43bb96 /build | |
parent | 1a3efa0e7cd0e9b06b611eb7f5a227a78e4c5d04 (diff) |
build: Set PREFIX
Also set macros at build time.
Diffstat (limited to 'build')
-rwxr-xr-x | build | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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 |