VirtualBox

Ignore:
Timestamp:
Jul 1, 2009 4:56:35 PM (16 years ago)
Author:
vboxsync
Message:

VBoxGuest-linux: building, logging and a bugfix. (it loads now)

Location:
trunk/src/VBox/Additions/common/VBoxGuest/linux
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/linux/Makefile

    r21118 r21137  
    1 #
     1# $Revision$
     2## @file
    23# VirtualBox Guest Additions Module Makefile.
    34#
    4 # (For 2.6.x this file must be 'Makefile'!)
    5 #
    6 # Copyright (C) 2006-2007 Sun Microsystems, Inc.
     5
     6#
     7# Copyright (C) 2006-2009 Sun Microsystems, Inc.
    78#
    89# This file is part of VirtualBox Open Source Edition (OSE), as
     
    8889        r0drv/linux/semeventmulti-r0drv-linux.o \
    8990        r0drv/linux/semfastmutex-r0drv-linux.o \
     91        r0drv/linux/spinlock-r0drv-linux.o \
    9092        r0drv/linux/thread-r0drv-linux.o \
    91         RTErrConvertFromErrno.o \
    92         RTErrConvertToErrno.o \
    93         divdi3.o \
    94         moddi3.o \
    95         udivdi3.o \
    96         umoddi3.o \
    97         qdivrem.o \
    98         logbackdoor.o \
    99         logformat.o \
    100         strformat.o \
    101         strformatrt.o \
    102         strformattype.o \
    103         strprintf.o \
    104         strformat-vbox.o \
    105         RTAssertShouldPanic-generic.o
     93        r0drv/linux/RTLogWriteDebugger-r0drv-linux.o \
     94        common/err/RTErrConvertFromErrno.o \
     95        common/err/RTErrConvertToErrno.o \
     96        common/log/log.o \
     97        common/log/logellipsis.o \
     98        common/log/logrel.o \
     99        common/log/logrelellipsis.o \
     100        common/log/logcom.o \
     101        common/log/logformat.o \
     102        common/string/strformat.o \
     103        common/string/strformatrt.o \
     104        common/string/strformattype.o \
     105        common/string/strprintf.o \
     106        common/string/strtonum.o \
     107        generic/RTAssertShouldPanic-generic.o \
     108        generic/RTLogWriteStdErr-stub-generic.o \
     109        generic/RTLogWriteStdOut-stub-generic.o \
     110        VBox/log-vbox.o \
     111        VBox/logbackdoor.o \
     112        VBox/strformat-vbox.o
     113ifeq ($(BUILD_TARGET_ARCH),x86)
     114OBJS += \
     115        common/math/gcc/divdi3.o \
     116        common/math/gcc/moddi3.o \
     117        common/math/gcc/udivdi3.o \
     118        common/math/gcc/umoddi3.o \
     119        common/math/gcc/qdivrem.o
     120endif
    106121ifeq ($(BUILD_TARGET_ARCH),amd64)
    107 OBJS += \
    108         alloc/heapsimple.o \
    109         r0drv/linux/spinlock-r0drv-linux.o
     122OBJS += common/alloc/heapsimple.o
    110123endif
    111124
     
    201214 export INCL
    202215endif
    203 KFLAGS   := -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 \
    204             -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DVBGL_VBOXGUEST -DVBOX_WITH_HGCM \
    205             -DLOG_TO_BACKDOOR -DRT_WITH_VBOX -DIN_MODULE -DIN_GUEST_R0
     216KFLAGS   := -D__KERNEL__ -DMODULE \
     217        -DVBOX -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_GUEST -DIN_GUEST_R0 \
     218        -DIN_MODULE -DRT_WITH_VBOX -DVBGL_VBOXGUEST -DVBOX_WITH_HGCM
    206219ifeq ($(BUILD_TARGET_ARCH),amd64)
    207220 KFLAGS  += -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS
     
    258271
    259272clean:
    260         for f in . linux r0drv r0drv/linux; do rm -f $$f/*.o $$f/.*.cmd $$f/.*.flags; done
     273        for f in . linux r0drv r0drv/linux VBox common/err common/string common/log generic common/math/gcc; \
     274            do rm -f $$f/*.o $$f/.*.cmd $$f/.*.flags; done
    261275        rm -rf .vboxguest* .tmp_ver* vboxguest.* Module.symvers Modules.symvers modules.order
  • trunk/src/VBox/Additions/common/VBoxGuest/linux/files_vboxguest

    r21118 r21137  
    5656    ${PATH_ROOT}/include/VBox/VBoxGuest.h=>include/VBox/VBoxGuest.h \
    5757    ${PATH_ROOT}/include/VBox/VBoxGuestLib.h=>include/VBox/VBoxGuestLib.h \
     58    ${PATH_ROOT}/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp=>VBoxGuest.c \
     59    ${PATH_ROOT}/src/VBox/Additions/common/VBoxGuest/VBoxGuest-linux.c=>VBoxGuest-linux.c \
     60    ${PATH_ROOT}/src/VBox/Additions/common/VBoxGuest/VBoxGuestIDC-unix.c.h=>VBoxGuestIDC-unix.c.h \
     61    ${PATH_ROOT}/src/VBox/Additions/common/VBoxGuest/VBoxGuestInternal.h=>VBoxGuestInternal.h \
     62    ${PATH_ROOT}/src/VBox/Additions/common/VBoxGuest/linux/Makefile=>Makefile \
    5863    ${PATH_ROOT}/src/VBox/Additions/common/VBoxGuestLib/GenericRequest.cpp=>GenericRequest.c \
    5964    ${PATH_ROOT}/src/VBox/Additions/common/VBoxGuestLib/HGCMInternal.cpp=>HGCMInternal.c \
     
    7075    ${PATH_ROOT}/src/VBox/Runtime/include/internal/string.h=>include/internal/string.h \
    7176    ${PATH_ROOT}/src/VBox/Runtime/include/internal/thread.h=>include/internal/thread.h \
    72     ${PATH_ROOT}/src/VBox/Runtime/common/alloc/heapsimple.cpp=>alloc/heapsimple.c \
    73     ${PATH_ROOT}/src/VBox/Runtime/common/err/RTErrConvertFromErrno.cpp=>RTErrConvertFromErrno.c \
    74     ${PATH_ROOT}/src/VBox/Runtime/common/err/RTErrConvertToErrno.cpp=>RTErrConvertToErrno.c \
    75     ${PATH_ROOT}/src/VBox/Runtime/common/log/logformat.cpp=>logformat.c \
    76     ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/divdi3.c=>divdi3.c \
    77     ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/moddi3.c=>moddi3.c \
    78     ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/qdivrem.c=>qdivrem.c \
    79     ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/quad.h=>quad.h \
    80     ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/udivdi3.c=>udivdi3.c \
    81     ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/umoddi3.c=>umoddi3.c \
    82     ${PATH_ROOT}/src/VBox/Runtime/common/string/strformat.cpp=>strformat.c \
    83     ${PATH_ROOT}/src/VBox/Runtime/common/string/strformatrt.cpp=>strformatrt.c \
    84     ${PATH_ROOT}/src/VBox/Runtime/common/string/strformattype.cpp=>strformattype.c \
    85     ${PATH_ROOT}/src/VBox/Runtime/common/string/strprintf.cpp=>strprintf.c \
    86     ${PATH_ROOT}/src/VBox/Runtime/generic/RTAssertShouldPanic-generic.cpp=>RTAssertShouldPanic-generic.c \
     77    ${PATH_ROOT}/src/VBox/Runtime/common/alloc/heapsimple.cpp=>common/alloc/heapsimple.c \
     78    ${PATH_ROOT}/src/VBox/Runtime/common/err/RTErrConvertFromErrno.cpp=>common/err/RTErrConvertFromErrno.c \
     79    ${PATH_ROOT}/src/VBox/Runtime/common/err/RTErrConvertToErrno.cpp=>common/err/RTErrConvertToErrno.c \
     80    ${PATH_ROOT}/src/VBox/Runtime/common/log/log.cpp=>common/log/log.c \
     81    ${PATH_ROOT}/src/VBox/Runtime/common/log/logellipsis.cpp=>common/log/logellipsis.c \
     82    ${PATH_ROOT}/src/VBox/Runtime/common/log/logrel.cpp=>common/log/logrel.c \
     83    ${PATH_ROOT}/src/VBox/Runtime/common/log/logrelellipsis.cpp=>common/log/logrelellipsis.c \
     84    ${PATH_ROOT}/src/VBox/Runtime/common/log/logformat.cpp=>common/log/logformat.c \
     85    ${PATH_ROOT}/src/VBox/Runtime/common/log/logcom.cpp=>common/log/logcom.c \
     86    ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/divdi3.c=>common/math/gcc/divdi3.c \
     87    ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/moddi3.c=>common/math/gcc/moddi3.c \
     88    ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/qdivrem.c=>common/math/gcc/qdivrem.c \
     89    ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/quad.h=>common/math/gcc/quad.h \
     90    ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/udivdi3.c=>common/math/gcc/udivdi3.c \
     91    ${PATH_ROOT}/src/VBox/Runtime/common/math/gcc/umoddi3.c=>common/math/gcc/umoddi3.c \
     92    ${PATH_ROOT}/src/VBox/Runtime/common/string/strformat.cpp=>common/string/strformat.c \
     93    ${PATH_ROOT}/src/VBox/Runtime/common/string/strformatrt.cpp=>common/string/strformatrt.c \
     94    ${PATH_ROOT}/src/VBox/Runtime/common/string/strformattype.cpp=>common/string/strformattype.c \
     95    ${PATH_ROOT}/src/VBox/Runtime/common/string/strprintf.cpp=>common/string/strprintf.c \
     96    ${PATH_ROOT}/src/VBox/Runtime/common/string/strtonum.cpp=>common/string/strtonum.c \
     97    ${PATH_ROOT}/src/VBox/Runtime/generic/RTAssertShouldPanic-generic.cpp=>generic/RTAssertShouldPanic-generic.c \
     98    ${PATH_ROOT}/src/VBox/Runtime/generic/RTLogWriteStdErr-stub-generic.cpp=>generic/RTLogWriteStdErr-stub-generic.c \
     99    ${PATH_ROOT}/src/VBox/Runtime/generic/RTLogWriteStdOut-stub-generic.cpp=>generic/RTLogWriteStdOut-stub-generic.c \
    87100    ${PATH_ROOT}/src/VBox/Runtime/r0drv/alloc-r0drv.cpp=>r0drv/alloc-r0drv.c \
    88101    ${PATH_ROOT}/src/VBox/Runtime/r0drv/alloc-r0drv.h=>r0drv/alloc-r0drv.h \
     
    107120    ${PATH_ROOT}/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h=>r0drv/linux/the-linux-kernel.h \
    108121    ${PATH_ROOT}/src/VBox/Runtime/r0drv/linux/thread-r0drv-linux.c=>r0drv/linux/thread-r0drv-linux.c \
    109     ${PATH_ROOT}/src/VBox/Runtime/VBox/logbackdoor.cpp=>logbackdoor.c \
    110     ${PATH_ROOT}/src/VBox/Runtime/VBox/strformat-vbox.cpp=>strformat-vbox.c \
    111     ${PATH_ROOT}/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp=>VBoxGuest.c \
    112     ${PATH_ROOT}/src/VBox/Additions/common/VBoxGuest/VBoxGuest-linux.c=>VBoxGuest-linux.c \
    113     ${PATH_ROOT}/src/VBox/Additions/common/VBoxGuest/VBoxGuestIDC-unix.c.h=>VBoxGuestIDC-unix.c.h \
    114     ${PATH_ROOT}/src/VBox/Additions/common/VBoxGuest/VBoxGuestInternal.h=>VBoxGuestInternal.h \
    115     ${PATH_ROOT}/src/VBox/Additions/common/VBoxGuest/linux/Makefile=>Makefile \
     122    ${PATH_ROOT}/src/VBox/Runtime/r0drv/linux/RTLogWriteDebugger-r0drv-linux.c=>r0drv/linux/RTLogWriteDebugger-r0drv-linux.c \
     123    ${PATH_ROOT}/src/VBox/Runtime/VBox/log-vbox.cpp=>VBox/log-vbox.c \
     124    ${PATH_ROOT}/src/VBox/Runtime/VBox/logbackdoor.cpp=>VBox/logbackdoor.c \
     125    ${PATH_ROOT}/src/VBox/Runtime/VBox/strformat-vbox.cpp=>VBox/strformat-vbox.c \
    116126    ${PATH_OUT}/version-generated.h=>version-generated.h \
    117127"
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette