build the R5 driver only when COMPILE_FOR_R5 is defined

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9338 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2004-10-14 09:29:17 +00:00
parent a7df5c7c5b
commit f79a45bd14

View File

@ -1,9 +1,5 @@
SubDir OBOS_TOP src add-ons kernel drivers arch x86 ps2mouse ;
if $(COMPILE_FOR_R5) {
SubDirCcFlags -DCOMPILE_FOR_R5 ;
}
UsePrivateHeaders input kernel ;
KernelObjects
@ -24,6 +20,9 @@ KernelLd ps2mouse :
drivers/dev/ps2mouse
;
if $(COMPILE_FOR_R5) {
SubDirCcFlags -DCOMPILE_FOR_R5 ;
R5KernelAddon <driver>ps2mouse : kernel drivers bin :
ps2mouse.c
;
@ -48,3 +47,4 @@ R5KernelAddon <driver>ps2mouse : kernel drivers bin :
# :
# boot home config add-ons kernel drivers dev input ;
}