Changeset 95aed62 in mainline
- Timestamp:
- 2018-03-06T18:12:14Z (7 years ago)
- Children:
- 1033d1fb
- Parents:
- db3c8834
- Files:
-
- 1 deleted
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/Makefile
rdb3c8834 r95aed62 49 49 50 50 AUTOGEN = $(ROOT_PATH)/tools/autogen2.sh 51 AGDEPEND = Makefile.ag.depend52 51 RAW = kernel.raw 53 52 BIN = kernel.bin … … 134 133 -include arch/$(KARCH)/Makefile.inc 135 134 -include genarch/Makefile.inc 136 -include $(AGDEPEND)137 135 138 136 ## The at-sign -
tools/autogen2.sh
rdb3c8834 r95aed62 5 5 # array subscript. Error handling is mostly omitted for simplicity, so any input that does not follow these rules will result 6 6 # in cryptic errors. 7 8 echo $PWD9 7 10 8 input="$1" -
uspace/Makefile.common
rdb3c8834 r95aed62 67 67 CONFIG_MAKEFILE = $(ROOT_PATH)/Makefile.config 68 68 CONFIG_HEADER = $(ROOT_PATH)/config.h 69 70 AUTOGEN = $(ROOT_PATH)/tools/autogen2.sh 69 71 70 72 -include $(VERSION_DEF) … … 352 354 $(CC_JOB) -c -MD -MP $(DEFS) $(LIB_CFLAGS) $(EXTRA_CFLAGS) 353 355 356 %.ag.h %.ag.s %.ag.c %.ag.d: %.h 357 CC="$(CC)" CFLAGS="$(CFLAGS)" $(AUTOGEN) $< $@ 358 354 359 -include $(DEPENDS) 355 360 -
uspace/lib/c/Makefile
rdb3c8834 r95aed62 48 48 -include arch/$(UARCH)/Makefile.inc 49 49 50 ARCH_AUTOGENS_H := $(addsuffix .h,$(basename $(ARCH_AUTOGENS_AG))) 51 ARCH_AUTOGENS_PROBE_C := $(addsuffix .ag.probe.c,$(basename $(ARCH_AUTOGENS_AG))) 52 ARCH_AUTOGENS_PROBE_S := $(addsuffix .ag.probe.s,$(basename $(ARCH_AUTOGENS_AG))) 53 54 PRE_DEPEND += $(ARCH_AUTOGENS_H) 55 EXTRA_CLEAN += $(ARCH_AUTOGENS_H) $(ARCH_AUTOGENS_PROBE_C) $(ARCH_AUTOGENS_PROBE_S) 50 ARCH_AUTOGENS_PROBE_C := $(ARCH_AUTOGENS_AG:%.ag.h=.ag.c) 51 ARCH_AUTOGENS_PROBE_S := $(ARCH_AUTOGENS_AG:%.ag.h=.ag.s) 52 53 PRE_DEPEND += $(ARCH_AUTOGENS_AG) 54 EXTRA_CLEAN += $(ARCH_AUTOGENS_AG) $(ARCH_AUTOGENS_PROBE_C) $(ARCH_AUTOGENS_PROBE_S) 56 55 57 56 GENERIC_SOURCES = \ … … 194 193 include $(USPACE_PREFIX)/Makefile.common 195 194 196 %.h: %.ag197 $(AUTOGEN) probe $< >$<.probe.c198 $(CC_AUTOGEN) $(DEFS) $(CFLAGS) -S -o $<.probe.s $<.probe.c199 $(AUTOGEN) generate $< <$<.probe.s >$@200 201 195 $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in 202 196 $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -E -x c $< | grep -v "^\#" > $@ -
uspace/lib/c/arch/arm32/Makefile.inc
rdb3c8834 r95aed62 39 39 40 40 ARCH_AUTOGENS_AG = \ 41 arch/$(UARCH)/include/libarch/istate_struct.ag \ 42 arch/$(UARCH)/include/libarch/fibril_context.ag 41 arch/$(UARCH)/include/libarch/fibril_context.ag.h 43 42 44 43 EXTRA_OUTPUT += arch/$(UARCH)/src/entry.o -
uspace/lib/c/arch/ia32/Makefile.inc
rdb3c8834 r95aed62 39 39 40 40 ARCH_AUTOGENS_AG = \ 41 arch/$(UARCH)/include/libarch/istate_struct.ag \ 42 arch/$(UARCH)/include/libarch/fibril_context.ag 41 arch/$(UARCH)/include/libarch/fibril_context.ag.h 43 42 44 43 EXTRA_OUTPUT += arch/$(UARCH)/src/entry.o -
uspace/lib/c/arch/ia64/Makefile.inc
rdb3c8834 r95aed62 38 38 39 39 ARCH_AUTOGENS_AG = \ 40 arch/$(UARCH)/include/libarch/istate_struct.ag \ 41 arch/$(UARCH)/include/libarch/fibril_context.ag 40 arch/$(UARCH)/include/libarch/fibril_context.ag.h 42 41 43 42 EXTRA_OUTPUT += arch/$(UARCH)/src/entry.o -
uspace/lib/c/arch/mips32/Makefile.inc
rdb3c8834 r95aed62 37 37 38 38 ARCH_AUTOGENS_AG = \ 39 arch/$(UARCH)/include/libarch/istate_struct.ag \ 40 arch/$(UARCH)/include/libarch/fibril_context.ag 39 arch/$(UARCH)/include/libarch/fibril_context.ag.h 41 40 42 41 EXTRA_OUTPUT += arch/$(UARCH)/src/entry.o -
uspace/lib/c/arch/mips32eb/Makefile.inc
rdb3c8834 r95aed62 37 37 38 38 ARCH_AUTOGENS_AG = \ 39 arch/$(UARCH)/include/libarch/istate_struct.ag \ 40 arch/$(UARCH)/include/libarch/fibril_context.ag 39 arch/$(UARCH)/include/libarch/fibril_context.ag.h 41 40 42 41 EXTRA_OUTPUT += arch/$(UARCH)/src/entry.o -
uspace/lib/c/arch/ppc32/Makefile.inc
rdb3c8834 r95aed62 37 37 38 38 ARCH_AUTOGENS_AG = \ 39 arch/$(UARCH)/include/libarch/istate_struct.ag \ 40 arch/$(UARCH)/include/libarch/fibril_context.ag 39 arch/$(UARCH)/include/libarch/fibril_context.ag.h 41 40 42 41 EXTRA_OUTPUT += arch/$(UARCH)/src/entry.o -
uspace/lib/c/arch/riscv64/Makefile.inc
rdb3c8834 r95aed62 36 36 37 37 ARCH_AUTOGENS_AG = \ 38 arch/$(UARCH)/include/libarch/istate_struct.ag \ 39 arch/$(UARCH)/include/libarch/fibril_context.ag 38 arch/$(UARCH)/include/libarch/fibril_context.ag.h 40 39 41 40 EXTRA_OUTPUT += arch/$(UARCH)/src/entry.o -
uspace/lib/c/arch/sparc64/Makefile.inc
rdb3c8834 r95aed62 36 36 37 37 ARCH_AUTOGENS_AG = \ 38 arch/$(UARCH)/include/libarch/istate_struct.ag \ 39 arch/$(UARCH)/include/libarch/fibril_context.ag 38 arch/$(UARCH)/include/libarch/fibril_context.ag.h 40 39 41 40 EXTRA_OUTPUT += arch/$(UARCH)/src/entry.o
Note:
See TracChangeset
for help on using the changeset viewer.