Changeset 361e61b in mainline for uspace/drv/ohci/Makefile


Ignore:
Timestamp:
2011-03-21T14:23:15Z (13 years ago)
Author:
Matej Klonfar <maklf@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
55e388a1
Parents:
c32688d (diff), 48fe0c9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge with development

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/drv/ohci/Makefile

    rc32688d r361e61b  
    11#
    2 # Copyright (c) 2011 Jiri Svoboda
     2# Copyright (c) 2011 Jan Vesely
    33# All rights reserved.
    44#
     
    2727#
    2828
    29 -include ../version
    30 -include ../Makefile.config
    31 -include ../boot/arch/$(BARCH)/Makefile.inc
    32 -include ../boot/Makefile.common
     29USPACE_PREFIX = ../..
     30LIBS = $(LIBDRV_PREFIX)/libdrv.a $(LIBUSB_PREFIX)/libusb.a
     31EXTRA_CFLAGS += -I$(LIBDRV_PREFIX)/include -I$(LIBUSB_PREFIX)/include -I.
     32BINARY = ohci
    3333
    34 PROFILES = amd64 arm32/GXemul arm32/integratorcp arm32/gta02 ia32 \
    35     ia64/i460GX ia64/ski mips32/GXemul mips32/msim sparc64/niagara \
    36     sparc64/serengeti sparc64/ultra
     34SOURCES = \
     35        iface.c \
     36        batch.c \
     37        main.c \
     38        hc.c \
     39        root_hub.c \
     40        pci.c
    3741
    38 ifdef POST_OUTPUT
    39         IMGFILE = $(POST_OUTPUT)
    40 else
    41         IMGFILE = $(BOOT_OUTPUT)
    42 endif
    43 
    44 SUFFIX = $(suffix $(IMGFILE))
    45 DISTFILE = HelenOS-$(RELEASE)-$(PLATFORM)-$(MACHINE)-$(PROCESSOR)$(SUFFIX)
    46 
    47 .PHONY: all clean dist distfile
    48 
    49 all: distfile
    50 distfile: $(DISTFILE)
    51 
    52 $(DISTFILE): $(IMGFILE)
    53         cp $< $@
    54 
    55 dist:
    56         for profile in $(PROFILES); do \
    57                 $(MAKE) -C .. clean ; \
    58                 $(MAKE) -C .. PROFILE=$$profile distfile ; \
    59         done
    60 
    61 clean:
    62         rm -f $(DISTFILE)
     42include $(USPACE_PREFIX)/Makefile.common
Note: See TracChangeset for help on using the changeset viewer.