Changeset 8e7c9fe in mainline for uspace/lib/c/Makefile


Ignore:
Timestamp:
2014-09-12T03:45:25Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c53b58e
Parents:
3eb0c85 (diff), 105d8d6 (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

most usb changes were reverted. blink and usbmass were fixed
known problems:
ehci won't initialize
usbmast asserts on unmount (happens on mainline too)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/Makefile

    r3eb0c85 r8e7c9fe  
    3131ROOT_PATH = $(USPACE_PREFIX)/..
    3232
    33 COMMON_MAKEFILE = $(ROOT_PATH)/Makefile.common
    34 COMMON_HEADER = $(ROOT_PATH)/common.h
     33CONFIG_MAKEFILE = $(ROOT_PATH)/Makefile.config
    3534COMMON_HEADER_ARCH = arch/$(UARCH)/include/libarch/common.h
    36 
    37 CONFIG_MAKEFILE = $(ROOT_PATH)/Makefile.config
    3835
    3936LINKER_SCRIPTS = \
     
    5047LSONAME = libc.so0
    5148
    52 
    53 -include $(COMMON_MAKEFILE)
    5449-include $(CONFIG_MAKEFILE)
    5550-include arch/$(UARCH)/Makefile.inc
     51
     52ARCH_AUTOGENS_H := $(addsuffix .h,$(basename $(ARCH_AUTOGENS_AG)))
     53ARCH_AUTOGENS_PROBE_C := $(addsuffix .ag.probe.c,$(basename $(ARCH_AUTOGENS_AG)))
     54ARCH_AUTOGENS_PROBE_S := $(addsuffix .ag.probe.s,$(basename $(ARCH_AUTOGENS_AG)))
     55
     56PRE_DEPEND += $(ARCH_AUTOGENS_H)
     57EXTRA_CLEAN += $(ARCH_AUTOGENS_H) $(ARCH_AUTOGENS_PROBE_C) $(ARCH_AUTOGENS_PROBE_S)
    5658
    5759GENERIC_SOURCES = \
     
    7072        generic/device/pio_window.c \
    7173        generic/device/clock_dev.c \
     74        generic/device/led_dev.c \
    7275        generic/dhcp.c \
    7376        generic/dnsr.c \
     
    9699        generic/io/input.c \
    97100        generic/io/io.c \
     101        generic/io/chardev.c \
     102        generic/io/chardev_srv.c \
    98103        generic/io/chargrid.c \
    99104        generic/io/output.c \
     
    113118        generic/iplink.c \
    114119        generic/iplink_srv.c \
     120        generic/irc.c \
     121        generic/irq.c \
    115122        generic/ieee_double.c \
    116123        generic/power_of_ten.c \
     
    131138        generic/time.c \
    132139        generic/stdlib.c \
    133         generic/mman.c \
    134140        generic/udebug.c \
    135141        generic/vfs/vfs.c \
     
    161167include $(USPACE_PREFIX)/Makefile.common
    162168
     169%.h: %.ag
     170        $(AUTOGEN) probe $< >$<.probe.c
     171        $(CC) $(DEFS) $(CFLAGS) -S -o $<.probe.s $<.probe.c
     172        $(AUTOGEN) generate $< <$<.probe.s >$@   
    163173
    164174$(LIBC_PREFIX)/arch/$(UARCH)/_link.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in
Note: See TracChangeset for help on using the changeset viewer.