now builds as a haiku target
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11284 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -4,14 +4,20 @@ UsePrivateHeaders input ;
|
|||||||
UsePrivateHeaders kernel ;
|
UsePrivateHeaders kernel ;
|
||||||
|
|
||||||
if ! $(HAIKU_COMPATIBLE) {
|
if ! $(HAIKU_COMPATIBLE) {
|
||||||
SubDirCcFlags -DCOMPILE_FOR_R5 ;
|
SubDirCcFlags -DCOMPILE_FOR_R5 ;
|
||||||
}
|
|
||||||
|
|
||||||
R5KernelAddon ps2_hid : kernel drivers bin :
|
R5KernelAddon ps2_hid : kernel drivers bin :
|
||||||
common.c
|
common.c
|
||||||
keyboard.c
|
keyboard.c
|
||||||
mouse.c
|
mouse.c
|
||||||
;
|
;
|
||||||
|
} else {
|
||||||
|
KernelAddon ps2_hid : kernel drivers bin :
|
||||||
|
common.c
|
||||||
|
keyboard.c
|
||||||
|
mouse.c
|
||||||
|
;
|
||||||
|
}
|
||||||
|
|
||||||
# Link to kernel/drivers/dev/input/
|
# Link to kernel/drivers/dev/input/
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -13,7 +13,11 @@
|
|||||||
// although the kb_mouse replacement driver never locks.
|
// although the kb_mouse replacement driver never locks.
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
#ifdef COMPILE_FOR_R5
|
||||||
#include "cbuf_adapter.h"
|
#include "cbuf_adapter.h"
|
||||||
|
#else
|
||||||
|
#include "cbuf.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
//#include <lock.h>
|
//#include <lock.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user