The console driver is now only compiled and linked into the kernel
on x86. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5194 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
9fd568e2e9
commit
1dd920800b
@ -1,12 +1,22 @@
|
||||
SubDir OBOS_TOP src kernel drivers ;
|
||||
|
||||
KernelStaticLibrary libdrivers :
|
||||
<$(SOURCE_GRIST)>dev.c
|
||||
{
|
||||
local console_src ;
|
||||
|
||||
<$(SOURCE_GRIST)>arch/$(OBOS_ARCH)/console/console.c
|
||||
<$(SOURCE_GRIST)>fb_console/fb_console.c
|
||||
:
|
||||
-fno-pic -Wno-unused
|
||||
;
|
||||
# console is currently x86 only
|
||||
if $(OBOS_ARCH) = x86 {
|
||||
console_src = <$(SOURCE_GRIST)>arch/$(OBOS_ARCH)/console/console.c ;
|
||||
} else {
|
||||
console_src = ;
|
||||
}
|
||||
|
||||
KernelStaticLibrary libdrivers :
|
||||
<$(SOURCE_GRIST)>dev.c
|
||||
$(console_src)
|
||||
<$(SOURCE_GRIST)>fb_console/fb_console.c
|
||||
:
|
||||
-fno-pic -Wno-unused
|
||||
;
|
||||
}
|
||||
|
||||
SubInclude OBOS_TOP src kernel drivers arch ;
|
||||
|
Loading…
Reference in New Issue
Block a user