Update manpage and tweak sys/sdk.sh a bit
This commit is contained in:
parent
4174c73404
commit
3443c81946
|
@ -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
|
||||
|
|
12
sys/sdk.sh
12
sys/sdk.sh
|
@ -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 .
|
||||
|
|
Loading…
Reference in New Issue