Changeset cecba66e in mainline for uspace/drv/bus/usb/ehci/Makefile


Ignore:
Timestamp:
2017-11-08T00:39:43Z (7 years ago)
Author:
jzr <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6d15572
Parents:
c631734
Message:

Instead of using library paths directly, refer to libraries by name and let the build script take care of compiler arguments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ehci/Makefile

    rc631734 rcecba66e  
    2929USPACE_PREFIX = ../../../..
    3030
    31 LIBS = \
    32         $(LIBUSBHOST_PREFIX)/libusbhost.a \
    33         $(LIBUSBVIRT_PREFIX)/libusbvirt.a \
    34         $(LIBUSB_PREFIX)/libusb.a \
    35         $(LIBDRV_PREFIX)/libdrv.a
    36 
    37 EXTRA_CFLAGS += \
    38         -I$(LIBUSB_PREFIX)/include \
    39         -I$(LIBUSBDEV_PREFIX)/include \
    40         -I$(LIBUSBHOST_PREFIX)/include \
    41         -I$(LIBUSBVIRT_PREFIX)/include \
    42         -I$(LIBDRV_PREFIX)/include
     31LIBS = usbhost usbvirt usb drv usbdev
    4332
    4433BINARY = ehci
Note: See TracChangeset for help on using the changeset viewer.