Skip to content

Commit

Permalink
run dos2unix on all source files
Browse files Browse the repository at this point in the history
  • Loading branch information
xyzz committed Jul 24, 2018
1 parent 40893ce commit 6f05133
Show file tree
Hide file tree
Showing 3 changed files with 331 additions and 331 deletions.
70 changes: 35 additions & 35 deletions driver/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
cmake_minimum_required(VERSION 2.8)

if(NOT DEFINED CMAKE_TOOLCHAIN_FILE)
if(DEFINED ENV{VITASDK})
set(CMAKE_TOOLCHAIN_FILE "$ENV{VITASDK}/share/vita.toolchain.cmake" CACHE PATH "toolchain file")
else()
message(FATAL_ERROR "Please define VITASDK to point to your SDK path!")
endif()
endif()

project(gamesd)
include("${VITASDK}/share/vita.cmake" REQUIRED)

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wl,-q -Wall -O3 -nostdlib")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-rtti -fno-exceptions")

add_executable(gamesd
main.c
)

target_link_libraries(gamesd
SceIofilemgrForDriver_stub
SceSysclibForDriver_stub
SceSysmemForDriver_stub
SceModulemgrForKernel_stub
SceModulemgrForDriver_stub
SceThreadmgrForDriver_stub
SceKernelSuspendForDriver_stub
taihenForKernel_stub
taihenModuleUtils_stub
)

vita_create_self(gamesd.skprx gamesd CONFIG exports.yml UNSAFE)

vita_create_stubs(stubs gamesd ${CMAKE_SOURCE_DIR}/exports.yml KERNEL)
cmake_minimum_required(VERSION 2.8)

if(NOT DEFINED CMAKE_TOOLCHAIN_FILE)
if(DEFINED ENV{VITASDK})
set(CMAKE_TOOLCHAIN_FILE "$ENV{VITASDK}/share/vita.toolchain.cmake" CACHE PATH "toolchain file")
else()
message(FATAL_ERROR "Please define VITASDK to point to your SDK path!")
endif()
endif()

project(gamesd)
include("${VITASDK}/share/vita.cmake" REQUIRED)

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wl,-q -Wall -O3 -nostdlib")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-rtti -fno-exceptions")

add_executable(gamesd
main.c
)

target_link_libraries(gamesd
SceIofilemgrForDriver_stub
SceSysclibForDriver_stub
SceSysmemForDriver_stub
SceModulemgrForKernel_stub
SceModulemgrForDriver_stub
SceThreadmgrForDriver_stub
SceKernelSuspendForDriver_stub
taihenForKernel_stub
taihenModuleUtils_stub
)

vita_create_self(gamesd.skprx gamesd CONFIG exports.yml UNSAFE)

vita_create_stubs(stubs gamesd ${CMAKE_SOURCE_DIR}/exports.yml KERNEL)
28 changes: 14 additions & 14 deletions driver/exports.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
VitaShellKernel:
attributes: 0
version:
major: 1
minor: 0
main:
start: module_start
stop: module_stop
modules:
VitaShellKernelLibrary:
syscall: true
functions:
- shellKernelIsUx0Redirected
- shellKernelRedirectUx0
VitaShellKernel:
attributes: 0
version:
major: 1
minor: 0
main:
start: module_start
stop: module_stop
modules:
VitaShellKernelLibrary:
syscall: true
functions:
- shellKernelIsUx0Redirected
- shellKernelRedirectUx0
- shellKernelUnredirectUx0
Loading

0 comments on commit 6f05133

Please sign in to comment.