remove unneeded target

This commit is contained in:
Chiharu Shirasaka 2022-01-23 16:22:34 +09:00
parent 5981ed804b
commit 4515664505
3 changed files with 1 additions and 25 deletions

View File

@ -128,27 +128,8 @@ static void loadDriverIfNeeded(){
wchar_t driverPath[1024];
getThisDllDirectoryPath(driverPath);
wcscat(driverPath, L"\\MyJITDebugger.exe");
TCHAR newDriverPath[128];
wcscpy(newDriverPath,L"\\Windows\\MyJITDebugger.exe");
{
wchar_t buf[1024];
swprintf(buf, L"BrainLILO: copying \"%ls\" to \"%ls\"",
driverPath, newDriverPath);
OutputDebugString(buf);
}
if(!CopyFile(driverPath,newDriverPath, FALSE)){
if(GetFileAttributes(newDriverPath)==(DWORD)-1){
OutputDebugString(L"BrainLILO: failed to copy");
return;
}
}
getThisDllDirectoryPath(driverPath);
wcscat(driverPath, L"\\BrainLILODrv.dll");

View File

@ -9,7 +9,7 @@ AS=$(PREFIX)/bin/arm-mingw32ce-as
NM=$(PREFIX)/bin/arm-mingw32ce-nm
WINDRES=$(PREFIX)/bin/arm-mingw32ce-windres
OUTPUT=BrainLILO.dll BrainLILODrv.dll BrainLILO.exe MyJITDebugger.exe
OUTPUT=BrainLILO.dll BrainLILODrv.dll BrainLILO.exe
CXXFLAGS= -DEV_PLATFORM_WIN32 -DUNICODE -D_UNICODE -DEV_UNSAFE_SWPRINTF -mwin32 \
-O0 -mcpu=arm926ej-s -D_WIN32_WCE=0x600 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 \
@ -46,6 +46,3 @@ BrainLILO.exe: bootloader.cpp
$(CXX) bootloader.cpp -o BrainLILO.exe $(CXXFLAGS)
$(STRIP) BrainLILO.exe
MyJITDebugger.exe: dummy.cpp
$(CXX) dummy.cpp -o MyJITDebugger.exe $(CXXFLAGS)
$(STRIP) MyJITDebugger.exe

View File

@ -1,2 +0,0 @@
//replacement of MyJITDebugger.exe for stopping force reset on abort.
int main(){return 0;}