Changeset cecba66e in mainline for uspace/drv/nic/ar9271/Makefile


Ignore:
Timestamp:
2017-11-08T00:39:43Z (6 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/nic/ar9271/Makefile

    rc631734 rcecba66e  
    2929USPACE_PREFIX = ../../..
    3030
    31 LIBS = \
    32         $(LIBUSBDEV_PREFIX)/libusbdev.a \
    33         $(LIBUSB_PREFIX)/libusb.a \
    34         $(LIBDRV_PREFIX)/libdrv.a \
    35         $(LIBNIC_PREFIX)/libnic.a \
    36         $(LIBIEEE80211_PREFIX)/libieee80211.a \
    37         $(LIBCRYPTO_PREFIX)/libcrypto.a
     31LIBS = usbdev usb drv nic ieee80211 crypto
    3832
    39 EXTRA_CFLAGS += \
    40         -I. \
    41         -I$(LIBUSB_PREFIX)/include \
    42         -I$(LIBUSBDEV_PREFIX)/include \
    43         -I$(LIBDRV_PREFIX)/include \
    44         -I$(LIBNIC_PREFIX)/include \
    45         -I$(LIBIEEE80211_PREFIX)/include \
    46         -I$(LIBCRYPTO_PREFIX)
     33EXTRA_CFLAGS += -I.
    4734
    4835BINARY = ar9271
Note: See TracChangeset for help on using the changeset viewer.