Update manpage and tweak sys/sdk.sh a bit

This commit is contained in:
pancake 2017-08-31 15:22:43 +02:00
parent 4174c73404
commit 3443c81946
2 changed files with 12 additions and 2 deletions

View File

@ -70,7 +70,7 @@ Append a 32bit number in little endian
.It Fl N Ar num64
Append a 64bit number in little endian
.It Fl p Ar padding
Specify generic paddings with a format string.
Specify generic paddings with a format string. Use lowercase letters to prefix, and uppercase to suffix, keychars are. 'n' for nop, 't' for trap, 'a' for sequence and 's' for zero.
.It Fl P Ar size
Prepend debruijn sequence of given length.
.It Fl q Ar fragment

View File

@ -14,7 +14,7 @@ export CFLAGS="-Os"
make mrproper
cp -f plugins.bin.cfg plugins.cfg
#./configure-plugins
./configure --prefix="$PREFIX" --with-nonpic --without-pic || exit 1
./configure --prefix="$PREFIX" --with-nonpic --without-pic --without-gpl || exit 1
#--disable-loadlibs || exit 1
make -j8 || exit 1
rm -rf "${SDKDIR}"
@ -23,3 +23,13 @@ rm -f libr/libr.a
cp -rf libr/include "${SDKDIR}"
FILES=`find libr shlr -iname '*.a'`
cp -f ${FILES} "${SDKDIR}"/lib
OS=`uname`
AR=`uname -m`
SF=r2sdk-${OS}-${AR}
(
cd ${SDKDIR}/..
mv r2-sdk ${SF}
zip -r ${SF}.zip ${SF}
)
mv ${SDKDIR}/../${SF}.zip .