Changeset 48e1467 in mainline for uspace/srv/loader/Makefile
- Timestamp:
- 2010-01-22T16:52:17Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0cb2d72
- Parents:
- 92bee46 (diff), 9d3133d (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/loader/Makefile
r92bee46 r48e1467 28 28 # 29 29 30 include Makefile.common 30 -include ../../../Makefile.config 31 -include arch/$(UARCH)/Makefile.inc 31 32 32 .PHONY: all clean 33 USPACE_PREFIX = ../.. 34 LIBS = $(LIBC_PREFIX)/libc.a 35 EXTRA_CFLAGS += -Iinclude 36 LINK_SCRIPT = arch/$(UARCH)/_link.ld 33 37 34 all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS) 35 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 36 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK) 38 OUTPUT = loader 39 EXTRA_OUTPUT = $(LINK_SCRIPT) 37 40 38 clean: 39 rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm arch/*/_link.ld 40 find . -name '*.o' -follow -exec rm \{\} \; 41 GENERIC_SOURCES = \ 42 main.c \ 43 elf_load.c \ 44 interp.s 45 46 SOURCES := $(GENERIC_SOURCES) $(ARCH_SOURCES) 47 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 48 49 include ../Makefile.common 50 51 $(LINK_SCRIPT): $(LINK_SCRIPT).in 52 $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PREFIX=$(LIBC_PREFIX) -E -x c $< | grep -v "^\#" > $@
Note:
See TracChangeset
for help on using the changeset viewer.