Skip to content

Commit

Permalink
unified installers
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalLumberjack committed Feb 15, 2015
1 parent 3219f6c commit 2a1ba87
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
obj-m := mk_arcade_joystick_rpi.o
KVERSION := `uname -r`

ifdef RPI2
ifneq (,$(findstring -v7, $(KVERSION)))
CFLAGS_mk_arcade_joystick_rpi.o := -DRPI2
endif

Expand Down
21 changes: 4 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,9 @@ Download the installation script :
mkdir mkjoystick
cd mkjoystick
```
For RPi B and B+
```shell
wget https://github.com/digitalLumberjack/mk_arcade_joystick_rpi/releases/download/v0.1.4/install-rpi1.sh
mv install-rpi1.sh install.sh
```
For RPi 2

```shell
wget https://github.com/digitalLumberjack/mk_arcade_joystick_rpi/releases/download/v0.1.4/install-rpi2.sh
mv install-rpi2.sh install.sh
wget https://github.com/digitalLumberjack/mk_arcade_joystick_rpi/releases/download/v0.1.4/install.sh
```

Update your system :
Expand Down Expand Up @@ -123,16 +117,9 @@ sudo rm linux-headers-`uname -r`_`uname -r`-2_armhf.deb
```

3 - Install driver from release (prefered):
-- RPi1
```shell
wget https://github.com/digitalLumberjack/mk_arcade_joystick_rpi/releases/download/v0.1.4/mk-arcade-joystick-rpi-0.1.4-rpi1.deb
sudo dpkg -i mk-arcade-joystick-rpi-0.1.4-rpi1.deb
```

-- RPi2
```shell
wget https://github.com/digitalLumberjack/mk_arcade_joystick_rpi/releases/download/v0.1.4/mk-arcade-joystick-rpi-0.1.4-rpi2.deb
sudo dpkg -i mk-arcade-joystick-rpi-0.1.4-rpi2.deb
wget https://github.com/digitalLumberjack/mk_arcade_joystick_rpi/releases/download/v0.1.4/mk-arcade-joystick-rpi-0.1.4.deb
sudo dpkg -i mk-arcade-joystick-rpi-0.1.4.deb
```

### Loading the driver ###
Expand Down

0 comments on commit 2a1ba87

Please sign in to comment.