Changeset 46c20c8 in mainline for uspace/srv/net/cfg/Makefile


Ignore:
Timestamp:
2010-11-26T20:08:10Z (15 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
45df59a
Parents:
fb150d78 (diff), ffdd2b9 (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 mainline changes.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/cfg/Makefile

    rfb150d78 r46c20c8  
    11#
    2 # Copyright (c) 2005 Martin Decky
     2# Copyright (c) 2010 Martin Decky
    33# All rights reserved.
    44#
     
    2727#
    2828
     29USPACE_PREFIX = ../../..
     30ROOT_PATH = $(USPACE_PREFIX)/..
    2931
    30 ## Common names
    31 #
     32COMMON_MAKEFILE = $(ROOT_PATH)/Makefile.common
     33CONFIG_MAKEFILE = $(ROOT_PATH)/Makefile.config
    3234
    33 include ../../../../Makefile.config
    34 include ../../../Makefile.common
     35-include $(COMMON_MAKEFILE)
     36-include $(CONFIG_MAKEFILE)
    3537
    36 DEPEND = Makefile.depend
    37 DEPEND_PREV = $(DEPEND).prev
    38 JOB = image.job
    39 OUTPUT = image.boot
    40 HELLO = hello.efi
     38ifeq ($(CONFIG_NETIF_NIL_BUNDLE),y)
     39        LO_SOURCE = lo.netif_nil_bundle
     40        NE2K_SOURCE = ne2k.netif_nil_bundle
     41else
     42        LO_SOURCE = lo.netif_standalone
     43        NE2K_SOURCE = ne2k.netif_standalone
     44endif
    4145
    42 LINK = _link.ld
    43 COMPS = _components
     46LO_TARGET = lo
     47NE2K_TARGET = ne2k
    4448
    45 KERNELDIR = ../../../../kernel
    46 USPACEDIR = ../../../../uspace
     49.PHONY: all clean
    4750
    48 ifeq ($(MACHINE),i460GX)
    49         RD_SRVS += \
    50                 $(USPACEDIR)/srv/hw/char/i8042/i8042 \
    51                 $(USPACEDIR)/srv/hid/char_mouse/char_ms
    52 endif
     51all: $(LO_TARGET) $(NE2K_TARGET)
     52
     53clean:
     54        rm -f $(LO_TARGET) $(NE2K_TARGET)
     55
     56$(LO_TARGET): $(LO_SOURCE)
     57        cp $< $@
     58
     59$(NE2K_TARGET): $(NE2K_SOURCE)
     60        cp $< $@
Note: See TracChangeset for help on using the changeset viewer.