VirtualBox

Changeset 14730 in vbox


Ignore:
Timestamp:
Nov 27, 2008 6:25:19 PM (16 years ago)
Author:
vboxsync
Message:

Main/USB: re-enable libhal on Linux hosts and get it right

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r14727 r14730  
    302302# Enable statically linked libhal support for Linux
    303303ifeq ($(KBUILD_TARGET),linux)
    304 # VBOX_WITH_LIBHAL = 1
     304 VBOX_WITH_LIBHAL = 1
    305305endif
    306306# Disable WINMM support for Windows (not implemented)
     
    13431343# libhal settings for Linux
    13441344ifeq ($(KBUILD_TARGET),linux)
    1345  ifdef $(VBOX_WITH_LIBHAL)
    1346   VBOX_LIBHAL_CFLAGS ?= $(shell pkg-config hal --cflags)
    1347   VBOX_LIBHAL_CXXFLAGS ?= VBOX_LIBHAL_CFLAGS
    1348   VBOX_LIBHAL_LDFLAGS ?= $(shell pkg-config hal --libs)
     1345 ifdef VBOX_WITH_LIBHAL
     1346  VBOX_LIBHAL_CFLAGS := $(shell pkg-config hal --cflags)
     1347  VBOX_LIBHAL_CXXFLAGS := $(VBOX_LIBHAL_CFLAGS)
     1348  VBOX_LIBHAL_LDFLAGS := $(shell pkg-config hal --libs)
    13491349 endif
    13501350endif
  • trunk/src/VBox/Main/Makefile.kmk

    r14722 r14730  
    2222SUB_DEPTH = ../../..
    2323include $(KBUILD_PATH)/subheader.kmk
    24 
    2524
    2625#
  • trunk/src/VBox/Main/testcase/Makefile.kmk

    r14723 r14730  
    132132        $(if $(VBOX_USB_WITH_SYSFS),VBOX_USB_WITH_SYSFS,)
    133133tstUSBLinux_LIBS     += $(PATH_OUT)/lib/USBLib.a
    134 ifeq ($(KBUILD_TARGET),linux)
    135  # Why on earth does this not work?  Config.kmk has an identical statement.
    136  VBOX_LIBHAL_LDFLAGS  ?= $(shell pkg-config hal --libs)
    137 endif
    138134tstUSBLinux_CFLAGS   += $(if $(VBOX_WITH_LIBHAL),$(VBOX_LIBHAL_CFLAGS),)
    139135tstUSBLinux_CXXFLAGS += $(if $(VBOX_WITH_LIBHAL),$(VBOX_LIBHAL_CXXFLAGS),)
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