VirtualBox

Changeset 18921 in vbox for trunk/src


Ignore:
Timestamp:
Apr 15, 2009 9:02:10 PM (16 years ago)
Author:
vboxsync
Message:

Runtime/R0/FreeBSD: Makefile changes for the FreeBSD port. Use the generic timer implementation instead of the freebsd specific one because it doesn't work with small tick

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/Makefile.kmk

    r18847 r18921  
    12561256        r0drv/freebsd/thread2-r0drv-freebsd.c \
    12571257        r0drv/freebsd/time-r0drv-freebsd.c \
    1258         r0drv/freebsd/timer-r0drv-freebsd.c \
     1258        r0drv/freebsd/mp-r0drv-freebsd.c \
     1259        generic/timer-generic.cpp \
    12591260        r0drv/memobj-r0drv.cpp \
    12601261        r0drv/powernotification-r0drv.c
     1262RuntimeR0Drv_DEPS.freebsd = \
     1263        $(PATH_RuntimeR0Drv)/bus_if.h \
     1264        $(PATH_RuntimeR0Drv)/device_if.h
     1265RuntimeR0Drv_CLEAN.freebsd = $(RuntimeR0Drv_DEPS.freebsd)
     1266RuntimeR0Drv_INCS.freebsd += $(PATH_RuntimeR0Drv)
     1267
     1268 ifeq ($(KBUILD_TARGET),freebsd)
     1269  #
     1270  # FreeBSD: Generate bus and device interface headers.
     1271  # We have to include headers for the RTMp* API which
     1272  # depends on these files.
     1273  #
     1274  # We cannot give a output path to the awk program, it will always generate
     1275  # the header next to the source. So, we'll have to temporarily copy the
     1276  # source file to the destination directory to work.
     1277  #
     1278  VBOX_AWK := /usr/bin/awk
     1279  $$(PATH_RuntimeR0Drv)/bus_if.h: $(VBOX_FREEBSD_SRC)/kern/bus_if.m
     1280        $(call MSG_TOOL,awk,RuntimeR0Drv,$<,$@)
     1281        $(QUIET)$(CP) -f $(VBOX_FREEBSD_SRC)/kern/bus_if.m $(PATH_RuntimeR0Drv)/bus_if.m
     1282        $(QUIET)$(VBOX_AWK) -f $(VBOX_FREEBSD_SRC)/tools/makeobjops.awk $(PATH_RuntimeR0Drv)/bus_if.m -h -p
     1283        $(QUIET)$(RM) $(PATH_RuntimeR0Drv)/bus_if.m
     1284
     1285  $$(PATH_RuntimeR0Drv)/device_if.h: $(VBOX_FREEBSD_SRC)/kern/device_if.m
     1286        $(call MSG_TOOL,awk,RuntimeR0Drv,$<,$@)
     1287        $(QUIET)$(CP) -f $(VBOX_FREEBSD_SRC)/kern/device_if.m $(PATH_RuntimeR0Drv)/device_if.m
     1288        $(QUIET)$(VBOX_AWK) -f $(VBOX_FREEBSD_SRC)/tools/makeobjops.awk $(PATH_RuntimeR0Drv)/device_if.m -h -p
     1289        $(QUIET)$(RM) $(PATH_RuntimeR0Drv)/device_if.m
     1290 endif # FreeBSD
    12611291
    12621292RuntimeR0Drv_SOURCES.solaris = \
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