Changeset 76ca3f7 in mainline for uspace/srv/loader/Makefile


Ignore:
Timestamp:
2010-03-23T20:49:54Z (15 years ago)
Author:
Lukas Mejdrech <lukasmejdrech@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e417b96
Parents:
b48ebd19 (diff), 63f8966 (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 mailnline changes, revision 329

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/loader/Makefile

    rb48ebd19 r76ca3f7  
    2828#
    2929
    30 -include ../../../Makefile.config
     30USPACE_PREFIX = ../..
     31ROOT_PATH = $(USPACE_PREFIX)/..
     32
     33COMMON_MAKEFILE = $(ROOT_PATH)/Makefile.common
     34CONFIG_MAKEFILE = $(ROOT_PATH)/Makefile.config
     35
     36-include $(COMMON_MAKEFILE)
     37-include $(CONFIG_MAKEFILE)
    3138-include arch/$(UARCH)/Makefile.inc
    3239
    33 USPACE_PREFIX = ../..
    34 LIBS = $(LIBC_PREFIX)/libc.a
    35 EXTRA_CFLAGS += -Iinclude
    36 LINK_SCRIPT = arch/$(UARCH)/_link.ld
     40LINKER_SCRIPT = arch/$(UARCH)/_link.ld
     41EXTRA_CLEAN = $(LINKER_SCRIPT)
    3742
    38 OUTPUT = loader
    39 EXTRA_OUTPUT = $(LINK_SCRIPT)
     43EXTRA_CFLAGS = -Iinclude
     44
     45BINARY = loader
    4046
    4147GENERIC_SOURCES = \
     
    4450        interp.s
    4551
    46 SOURCES := $(GENERIC_SOURCES) $(ARCH_SOURCES)
    47 OBJECTS := $(addsuffix .o,$(basename $(SOURCES)))
     52SOURCES = \
     53        $(GENERIC_SOURCES) \
     54        $(ARCH_SOURCES)
    4855
    49 include ../Makefile.common
     56include $(USPACE_PREFIX)/Makefile.common
    5057
    51 $(LINK_SCRIPT): $(LINK_SCRIPT).in
     58$(LINKER_SCRIPT): $(LINKER_SCRIPT).in
    5259        $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PREFIX=$(LIBC_PREFIX) -E -x c $< | grep -v "^\#" > $@
Note: See TracChangeset for help on using the changeset viewer.