mirror of
https://github.com/ndeadly/MissionControl
synced 2024-11-22 12:23:15 +00:00
Rename btdrv-mitm to bluetooth-mitm
This commit is contained in:
parent
1d92d9cabe
commit
2741cf3734
51 changed files with 15 additions and 13 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -3,7 +3,7 @@
|
|||
.patches/
|
||||
tests/
|
||||
dist/
|
||||
btdrv-mitm/build/
|
||||
bluetooth-mitm/build/
|
||||
*.log
|
||||
*.elf
|
||||
*.nro
|
||||
|
|
19
Makefile
19
Makefile
|
@ -1,27 +1,28 @@
|
|||
PROJECT_NAME := MissionControl
|
||||
BTDRVMITM_TID := 010000000000bd00
|
||||
BLUETOOTH_MITM_TID := 010000000000bd00
|
||||
|
||||
TARGETS := btdrv-mitm
|
||||
TARGETS := bluetooth-mitm
|
||||
|
||||
all: $(TARGETS)
|
||||
|
||||
btdrv-mitm:
|
||||
bluetooth-mitm:
|
||||
$(MAKE) -C $@
|
||||
|
||||
clean:
|
||||
$(MAKE) -C Atmosphere/libraries clean
|
||||
$(MAKE) -C btdrv-mitm clean
|
||||
$(MAKE) -C bluetooth-mitm clean
|
||||
rm -rf dist
|
||||
|
||||
dist: all
|
||||
rm -rf dist
|
||||
|
||||
mkdir -p dist/atmosphere/contents/$(BTDRVMITM_TID)
|
||||
cp btdrv-mitm/btdrv-mitm.nsp dist/atmosphere/contents/$(BTDRVMITM_TID)/exefs.nsp
|
||||
echo "btdrv" > dist/atmosphere/contents/$(BTDRVMITM_TID)/mitm.lst
|
||||
mkdir -p dist/atmosphere/contents/$(BLUETOOTH_MITM_TID)
|
||||
cp bluetooth-mitm/bluetooth-mitm.nsp dist/atmosphere/contents/$(BLUETOOTH_MITM_TID)/exefs.nsp
|
||||
echo "btdrv" > dist/atmosphere/contents/$(BLUETOOTH_MITM_TID)/mitm.lst
|
||||
echo "btm" > dist/atmosphere/contents/$(BLUETOOTH_MITM_TID)/mitm.lst
|
||||
|
||||
mkdir -p dist/atmosphere/contents/$(BTDRVMITM_TID)/flags
|
||||
touch dist/atmosphere/contents/$(BTDRVMITM_TID)/flags/boot2.flag
|
||||
mkdir -p dist/atmosphere/contents/$(BLUETOOTH_MITM_TID)/flags
|
||||
touch dist/atmosphere/contents/$(BLUETOOTH_MITM_TID)/flags/boot2.flag
|
||||
|
||||
cp -r exefs_patches dist/atmosphere/
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "btdrv.mitm",
|
||||
"name": "bluetooth.mitm",
|
||||
"title_id": "0x010000000000bd00",
|
||||
"title_id_range_min": "0x010000000000bd00",
|
||||
"title_id_range_max": "0x010000000000bd00",
|
|
@ -16,8 +16,9 @@
|
|||
*/
|
||||
#include <switch.h>
|
||||
#include <stratosphere.hpp>
|
||||
#include "btdrv_mitm_service.hpp"
|
||||
#include "bluetooth/bluetooth_events.hpp"
|
||||
#include "btdrv_mitm/btdrv_mitm_service.hpp"
|
||||
#include "btm_mitm/btm_mitm_service.hpp"
|
||||
#include "btdrv_mitm/bluetooth/bluetooth_events.hpp"
|
||||
#include <memory>
|
||||
|
||||
extern "C" {
|
Loading…
Reference in a new issue