Skip to content

Commit

Permalink
Fix ARCH and r2 plugin path
Browse files Browse the repository at this point in the history
  • Loading branch information
trufae committed May 9, 2018
1 parent dce6626 commit 667963e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
9 changes: 4 additions & 5 deletions dist/debian/Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
include ./CONFIG

DEPENDS=
ARCH=amd64
ARCH=x64
CROSSARCH=x64
PWD=$(shell pwd)
PACKAGE_DIR?=${PWD}

DOCKCROSS=$(PWD)/../dockcross
R2PLUGDIR=/usr/lib/radare2/last
R2PLUGDIR=/usr/lib/radare2/$(VERSION)


all: root
Expand All @@ -19,8 +18,8 @@ all: root
${MAKE} deb

root:
cd ../.. ; \
$(DOCKCROSS) --image dockcross/linux-$(ARCH) bash -c \
cd ../.. && \
$(DOCKCROSS) --image dockcross/linux-$(CROSSARCH) bash -c \
"R2_PLUGDIR=$(R2PLUGDIR) DESTDIR=$(PWD)/root bash dist/deps.sh"
mkdir -p root/$(R2PLUGDIR)
cp ../../io_frida.so root/$(R2PLUGDIR)
Expand Down
1 change: 0 additions & 1 deletion dist/deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ RV=2.5.0
RA=amd64
wget -c http://radare.mikelloc.com/get/${RV}/radare2_${RV}_${RA}.deb
wget -c http://radare.mikelloc.com/get/${RV}/radare2-dev_${RV}_${RA}.deb
#wget -c http://www.radare.org/get/debian/radare2-dev_${RV}_${RA}.deb
sudo dpkg -i radare2_${RV}_${RA}.deb
sudo dpkg -i radare2-dev_${RV}_${RA}.deb

Expand Down

0 comments on commit 667963e

Please sign in to comment.