Changeset d2f75eb in mainline


Ignore:
Timestamp:
2018-04-17T20:46:03Z (7 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0582039
Parents:
1cac875
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-04-17 20:46:03)
git-committer:
GitHub <noreply@…> (2018-04-17 20:46:03)
Message:

Replace autogen.py with something simpler. (#30)

Instead of generating headers for certain structures, the headers are written manually and we automate checking correctness instead. Checking is performed by generating a C source with a bunch of static asserts, using a simple awk script. This is then treated as a normal source file.

The primary motivation for this change is to reduce the complexity of the build process. Also, the .ag files we used previously are more difficult to understand than regular C code, and at least one IDE (GNOME Builder) completely refuses to open them.

Files:
42 added
42 deleted
22 edited

Legend:

Unmodified
Added
Removed
  • .gitignore

    r1cac875 rd2f75eb  
    99*.so.*
    1010*.d
    11 *.ag.probe.s
    12 *.ag.probe.c
    1311*.pyc
     12*.check.c
    1413tag
    1514tags
    1615common.h.new
    1716deps.mk
    18 Makefile.ag.depend
    1917/Makefile.config
    2018/Makefile.common
     
    4644boot/image.raw
    4745kernel/arch/amd64/_link.ld
    48 kernel/arch/amd64/include/arch/boot/memmap_struct.h
    49 kernel/arch/amd64/include/arch/common.h
    50 kernel/arch/amd64/include/arch/context_struct.h
    51 kernel/arch/amd64/include/arch/istate_struct.h
    52 kernel/arch/amd64/include/arch/kseg_struct.h
    5346kernel/arch/arm32/_link.ld
    54 kernel/arch/arm32/include/arch/context_struct.h
    55 kernel/arch/arm32/include/arch/istate_struct.h
    5647kernel/arch/ia32/_link.ld
    57 kernel/arch/ia32/include/arch/boot/memmap_struct.h
    58 kernel/arch/ia32/include/arch/context_struct.h
    59 kernel/arch/ia32/include/arch/istate_struct.h
    6048kernel/arch/ia64/_link.ld
    61 kernel/arch/ia64/include/arch/context_struct.h
    62 kernel/arch/ia64/include/arch/istate_struct.h
    6349kernel/arch/mips32/_link.ld
    64 kernel/arch/mips32/include/arch/context_struct.h
    65 kernel/arch/mips32/include/arch/fpu_context_struct.h
    66 kernel/arch/mips32/include/arch/istate_struct.h
    6750kernel/arch/ppc32/_link.ld
    68 kernel/arch/ppc32/include/arch/context_struct.h
    69 kernel/arch/ppc32/include/arch/fpu_context_struct.h
    70 kernel/arch/ppc32/include/arch/istate_struct.h
    7151kernel/arch/sparc64/_link.ld
    72 kernel/arch/sparc64/include/arch/context_struct.h
    73 kernel/arch/sparc64/include/arch/istate_struct.h
    7452kernel/arch/abs32le/_link.ld
    75 kernel/genarch/include/genarch/multiboot/multiboot_info_struct.h
    76 kernel/genarch/include/genarch/multiboot/multiboot_memmap_struct.h
    7753kernel/generic/src/debug/real_map.bin
    7854kernel/kernel.bin
     
    344320uspace/lib/c/arch/amd64/_link-shlib.ld
    345321uspace/lib/c/arch/amd64/_link.ld
    346 uspace/lib/c/arch/amd64/include/libarch/common.h
    347 uspace/lib/c/arch/amd64/include/libarch/fibril_context.h
    348 uspace/lib/c/arch/amd64/include/libarch/istate_struct.h
    349322uspace/lib/c/arch/arm32/_link-dlexe.ld
    350323uspace/lib/c/arch/arm32/_link-loader.ld
    351324uspace/lib/c/arch/arm32/_link-shlib.ld
    352325uspace/lib/c/arch/arm32/_link.ld
    353 uspace/lib/c/arch/arm32/include/libarch/fibril_context.h
    354 uspace/lib/c/arch/arm32/include/libarch/istate_struct.h
    355326uspace/lib/c/arch/ia32/_link-dlexe.ld
    356327uspace/lib/c/arch/ia32/_link-loader.ld
    357328uspace/lib/c/arch/ia32/_link-shlib.ld
    358329uspace/lib/c/arch/ia32/_link.ld
    359 uspace/lib/c/arch/ia32/include/libarch/fibril_context.h
    360 uspace/lib/c/arch/ia32/include/libarch/istate_struct.h
    361330uspace/lib/c/arch/ia64/_link-dlexe.ld
    362331uspace/lib/c/arch/ia64/_link-loader.ld
    363332uspace/lib/c/arch/ia64/_link-shlib.ld
    364333uspace/lib/c/arch/ia64/_link.ld
    365 uspace/lib/c/arch/ia64/include/libarch/fibril_context.h
    366 uspace/lib/c/arch/ia64/include/libarch/istate_struct.h
    367334uspace/lib/c/arch/mips32/_link-dlexe.ld
    368335uspace/lib/c/arch/mips32/_link-loader.ld
    369336uspace/lib/c/arch/mips32/_link-shlib.ld
    370337uspace/lib/c/arch/mips32/_link.ld
    371 uspace/lib/c/arch/mips32/include/libarch/fibril_context.h
    372 uspace/lib/c/arch/mips32/include/libarch/istate_struct.h
    373338uspace/lib/c/arch/mips32eb/_link-dlexe.ld
    374339uspace/lib/c/arch/mips32eb/_link-loader.ld
    375340uspace/lib/c/arch/mips32eb/_link-shlib.ld
    376341uspace/lib/c/arch/mips32eb/_link.ld
    377 uspace/lib/c/arch/mips32eb/include/libarch/fibril_context.h
    378 uspace/lib/c/arch/mips32eb/include/libarch/istate_struct.h
    379342uspace/lib/c/arch/ppc32/_link-dlexe.ld
    380343uspace/lib/c/arch/ppc32/_link-loader.ld
    381344uspace/lib/c/arch/ppc32/_link-shlib.ld
    382345uspace/lib/c/arch/ppc32/_link.ld
    383 uspace/lib/c/arch/ppc32/include/libarch/fibril_context.h
    384 uspace/lib/c/arch/ppc32/include/libarch/istate_struct.h
    385346uspace/lib/c/arch/sparc64/_link-dlexe.ld
    386347uspace/lib/c/arch/sparc64/_link-loader.ld
    387348uspace/lib/c/arch/sparc64/_link-shlib.ld
    388349uspace/lib/c/arch/sparc64/_link.ld
    389 uspace/lib/c/arch/sparc64/include/libarch/fibril_context.h
    390 uspace/lib/c/arch/sparc64/include/libarch/istate_struct.h
    391350uspace/lib/c/arch/abs32le/_link-dlexe.ld
    392351uspace/lib/c/arch/abs32le/_link-loader.ld
  • kernel/Makefile

    r1cac875 rd2f75eb  
    4848#
    4949
    50 AGDEPEND = Makefile.ag.depend
     50AUTOCHECK = $(realpath $(ROOT_PATH)/tools/autocheck.awk)
    5151RAW = kernel.raw
    5252BIN = kernel.bin
     
    7373
    7474.PHONY: all clean autogen_clean depend
     75.DELETE_ON_ERROR:
    7576
    7677all: $(VERSION_DEF) $(COMMON_MAKEFILE) $(COMMON_HEADER) $(CONFIG_MAKEFILE) $(CONFIG_HEADER) $(BIN) $(DISASM)
     
    132133-include arch/$(KARCH)/Makefile.inc
    133134-include genarch/Makefile.inc
    134 -include $(AGDEPEND)
    135135
    136136## The at-sign
     
    346346endif
    347347
     348ARCH_SOURCES += $(ARCH_AUTOCHECK_HEADERS:%.h=%.check.c)
     349GENARCH_SOURCES += $(GENARCH_AUTOCHECK_HEADERS:%.h=%.check.c)
     350
    348351GENERIC_OBJECTS := $(addsuffix .o,$(basename $(GENERIC_SOURCES)))
    349352ARCH_OBJECTS := $(addsuffix .o,$(basename $(ARCH_SOURCES)))
     
    354357GENARCH_DEPENDS := $(addsuffix .d,$(basename $(GENARCH_SOURCES)))
    355358
    356 GENARCH_AUTOGENS_H := $(addsuffix .h,$(basename $(GENARCH_AUTOGENS_AG)))
    357 GENARCH_AUTOGENS_PROBE_C := $(addsuffix .ag.probe.c,$(basename $(GENARCH_AUTOGENS_AG)))
    358 GENARCH_AUTOGENS_PROBE_S := $(addsuffix .ag.probe.s,$(basename $(GENARCH_AUTOGENS_AG)))
    359 
    360 ARCH_AUTOGENS_H := $(addsuffix .h,$(basename $(ARCH_AUTOGENS_AG)))
    361 ARCH_AUTOGENS_PROBE_C := $(addsuffix .ag.probe.c,$(basename $(ARCH_AUTOGENS_AG)))
    362 ARCH_AUTOGENS_PROBE_S := $(addsuffix .ag.probe.s,$(basename $(ARCH_AUTOGENS_AG)))
    363 
    364 AUTOGENS_H := $(ARCH_AUTOGENS_H) $(GENARCH_AUTOGENS_H)
    365 AUTOGENS_AG := $(ARCH_AUTOGENS_AG) $(GENARCH_AUTOGENS_AG)
    366 
    367359AS_CFLAGS := $(addprefix -Xassembler ,$(AFLAGS))
    368360LD_CFLAGS := $(addprefix -Xlinker ,$(LFLAGS))
     
    399391endif
    400392
    401 $(LINK): $(LINK).in | depend
     393$(LINK): $(LINK).in
    402394        $(CC) $(DEFS) $(CFLAGS) -D__ASSEMBLER__ -D__LINKER__ -E -x c $< | grep -v "^\#" > $@
    403395
    404 %.h: %.ag
    405         $(AUTOGEN) probe $< >$<.probe.c
    406         $(CC_AUTOGEN) $(DEFS) $(CFLAGS) -S -o $<.probe.s $<.probe.c
    407         $(AUTOGEN) generate $< <$<.probe.s >$@
    408 
    409 %.o: %.S | depend
     396%.check.c: %.h $(AUTOCHECK)
     397        cd $(<D) && $(AUTOCHECK) $(<F) > $(@F)
     398
     399%.o: %.S
    410400        $(CC_JOB) -c -MD -MP $(DEFS) $(CFLAGS) $(AS_CFLAGS)
    411401
    412 %.o: %.s | depend
     402%.o: %.s
    413403        $(CC_JOB) -c -MD -MP $(DEFS) $(CFLAGS) $(AS_CFLAGS)
    414404
    415 %.o: %.c | depend
     405%.o: %.c
    416406        $(CC_JOB) -c -MD -MP $(DEFS) $(CFLAGS) $(EXTRA_FLAGS) $(FPU_NO_CFLAGS) $(if $(findstring $<,$(INSTRUMENTED_SOURCES)),$(INSTRUMENTATION))
    417407
     
    440430        $(OBJDUMP) -t $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(GENERIC_OBJECTS) > $(DUMP)
    441431        $(GENMAP) $(MAP_PREV) $(DUMP) $@
    442 
    443 $(AUTOGENS_H): $(AGDEPEND)
    444 
    445 $(AGDEPEND): $(AUTOGENS_AG)
    446         echo "# DO NOT EDIT" >$@
    447         for g in $^; do \
    448                 h=`dirname $$g`/`basename $$g .ag`.h; \
    449                 for l in `$(AUTOGEN) depend $$g`; do \
    450                         echo "$$h: $$l" >>$@; \
    451                 done \
    452         done
    453 
    454 depend: $(AUTOGENS_H)
    455 
    456 autogen_clean:
    457         -rm $(ARCH_AUTOGENS_H) $(ARCH_AUTOGENS_PROBE_C) $(ARCH_AUTOGENS_PROBE_S)
    458         -rm $(GENARCH_AUTOGENS_H) $(GENARCH_AUTOGENS_PROBE_C) $(GENARCH_AUTOGENS_PROBE_S)
    459         -rm $(AGDEPEND)
  • kernel/arch/amd64/Makefile.inc

    r1cac875 rd2f75eb  
    8585endif
    8686
    87 ARCH_AUTOGENS_AG = \
    88         arch/$(KARCH)/include/arch/istate_struct.ag \
    89         arch/$(KARCH)/include/arch/context_struct.ag \
    90         arch/$(KARCH)/include/arch/kseg_struct.ag \
    91         arch/$(KARCH)/include/arch/boot/memmap_struct.ag
     87ARCH_AUTOCHECK_HEADERS = \
     88        arch/$(KARCH)/include/arch/istate_struct.h \
     89        arch/$(KARCH)/include/arch/context_struct.h \
     90        arch/$(KARCH)/include/arch/kseg_struct.h \
     91        arch/$(KARCH)/include/arch/boot/memmap_struct.h
  • kernel/arch/arm32/Makefile.inc

    r1cac875 rd2f75eb  
    9696        ARCH_SOURCES += genarch/src/drivers/pl050/pl050.c
    9797endif
    98 
    99 ARCH_AUTOGENS_AG = \
    100         arch/$(KARCH)/include/arch/istate_struct.ag \
    101         arch/$(KARCH)/include/arch/context_struct.ag
    102 
  • kernel/arch/ia32/Makefile.inc

    r1cac875 rd2f75eb  
    102102        arch/$(KARCH)/src/syscall.c
    103103
    104 ARCH_AUTOGENS_AG = \
    105         arch/$(KARCH)/include/arch/istate_struct.ag \
    106         arch/$(KARCH)/include/arch/context_struct.ag \
    107         arch/$(KARCH)/include/arch/boot/memmap_struct.ag
     104ARCH_AUTOCHECK_HEADERS = \
     105        arch/$(KARCH)/include/arch/istate_struct.h \
     106        arch/$(KARCH)/include/arch/context_struct.h \
     107        arch/$(KARCH)/include/arch/boot/memmap_struct.h
    108108
  • kernel/arch/ia64/Makefile.inc

    r1cac875 rd2f75eb  
    7272endif
    7373
    74 ARCH_AUTOGENS_AG = \
    75         arch/$(KARCH)/include/arch/istate_struct.ag \
    76         arch/$(KARCH)/include/arch/context_struct.ag
     74ARCH_AUTOCHECK_HEADERS = \
     75        arch/$(KARCH)/include/arch/istate_struct.h \
     76        arch/$(KARCH)/include/arch/context_struct.h
    7777
  • kernel/arch/mips32/Makefile.inc

    r1cac875 rd2f75eb  
    8888endif
    8989
    90 ARCH_AUTOGENS_AG = \
    91         arch/$(KARCH)/include/arch/istate_struct.ag \
    92         arch/$(KARCH)/include/arch/context_struct.ag \
    93         arch/$(KARCH)/include/arch/fpu_context_struct.ag
     90ARCH_AUTOCHECK_HEADERS = \
     91        arch/$(KARCH)/include/arch/istate_struct.h \
     92        arch/$(KARCH)/include/arch/context_struct.h \
     93        arch/$(KARCH)/include/arch/fpu_context_struct.h
  • kernel/arch/ppc32/Makefile.inc

    r1cac875 rd2f75eb  
    5959        arch/$(KARCH)/src/drivers/pic.c
    6060
    61 ARCH_AUTOGENS_AG = \
    62         arch/$(KARCH)/include/arch/istate_struct.ag \
    63         arch/$(KARCH)/include/arch/context_struct.ag \
    64         arch/$(KARCH)/include/arch/fpu_context_struct.ag
     61ARCH_AUTOCHECK_HEADERS = \
     62        arch/$(KARCH)/include/arch/istate_struct.h \
     63        arch/$(KARCH)/include/arch/context_struct.h \
     64        arch/$(KARCH)/include/arch/fpu_context_struct.h
    6565
  • kernel/arch/riscv64/Makefile.inc

    r1cac875 rd2f75eb  
    5454        arch/$(KARCH)/src/mm/tlb.c
    5555
    56 ARCH_AUTOGENS_AG = \
    57         arch/$(KARCH)/include/arch/istate_struct.ag \
    58         arch/$(KARCH)/include/arch/context_struct.ag
     56ARCH_AUTOCHECK_HEADERS = \
     57        arch/$(KARCH)/include/arch/istate_struct.h \
     58        arch/$(KARCH)/include/arch/context_struct.h
  • kernel/arch/sparc64/Makefile.inc

    r1cac875 rd2f75eb  
    110110endif
    111111
    112 ARCH_AUTOGENS_AG = \
    113         arch/$(KARCH)/include/arch/istate_struct.ag \
    114         arch/$(KARCH)/include/arch/context_struct.ag
     112ARCH_AUTOCHECK_HEADERS = \
     113        arch/$(KARCH)/include/arch/istate_struct.h \
     114        arch/$(KARCH)/include/arch/context_struct.h
    115115
  • kernel/genarch/Makefile.inc

    r1cac875 rd2f75eb  
    172172        genarch/src/multiboot/multiboot.c \
    173173        genarch/src/multiboot/multiboot2.c
    174 GENARCH_AUTOGENS_AG += \
    175         genarch/include/genarch/multiboot/multiboot_memmap_struct.ag \
    176         genarch/include/genarch/multiboot/multiboot_info_struct.ag
     174
     175GENARCH_AUTOCHECK_HEADERS += \
     176        genarch/include/genarch/multiboot/multiboot_memmap_struct.h \
     177        genarch/include/genarch/multiboot/multiboot_info_struct.h
    177178endif
    178179
  • tools/autotool.py

    r1cac875 rd2f75eb  
    681681                sandbox_leave(owd)
    682682
    683         common['AUTOGEN'] = "%s/autogen.py" % os.path.dirname(os.path.abspath(sys.argv[0]))
    684 
    685683        create_makefile(MAKEFILE, common)
    686684        create_header(HEADER, macros)
  • uspace/lib/c/Makefile

    r1cac875 rd2f75eb  
    4747-include arch/$(UARCH)/Makefile.inc
    4848
    49 ARCH_AUTOGENS_H := $(addsuffix .h,$(basename $(ARCH_AUTOGENS_AG)))
    50 ARCH_AUTOGENS_PROBE_C := $(addsuffix .ag.probe.c,$(basename $(ARCH_AUTOGENS_AG)))
    51 ARCH_AUTOGENS_PROBE_S := $(addsuffix .ag.probe.s,$(basename $(ARCH_AUTOGENS_AG)))
    52 
    53 PRE_DEPEND += $(ARCH_AUTOGENS_H)
    54 EXTRA_CLEAN += $(ARCH_AUTOGENS_H) $(ARCH_AUTOGENS_PROBE_C) $(ARCH_AUTOGENS_PROBE_S)
     49ARCH_AUTOGENS_PROBE_C := $(ARCH_AUTOGENS_AG:%.ag.h=.ag.c)
     50ARCH_AUTOGENS_PROBE_S := $(ARCH_AUTOGENS_AG:%.ag.h=.ag.s)
     51
     52PRE_DEPEND += $(ARCH_AUTOGENS_AG)
     53EXTRA_CLEAN += $(ARCH_AUTOGENS_AG) $(ARCH_AUTOGENS_PROBE_C) $(ARCH_AUTOGENS_PROBE_S)
    5554
    5655GENERIC_SOURCES = \
     
    179178endif
    180179
     180ARCH_SOURCES += $(ARCH_AUTOCHECK_HEADERS:%.h=%.check.c)
     181
    181182SOURCES = \
    182183        $(GENERIC_SOURCES) \
     
    195196include $(USPACE_PREFIX)/Makefile.common
    196197
    197 %.h: %.ag
    198         $(AUTOGEN) probe $< >$<.probe.c
    199         $(CC_AUTOGEN) $(DEFS) $(CFLAGS) -S -o $<.probe.s $<.probe.c
    200         $(AUTOGEN) generate $< <$<.probe.s >$@
    201 
    202198$(LIBC_PREFIX)/arch/$(UARCH)/_link.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in
    203199        $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -E -x c $< | grep -v "^\#" > $@
     
    208204$(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in
    209205        $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DDLEXE -E -x c $< | grep -v "^\#" > $@
     206
     207AUTOCHECK = $(realpath $(ROOT_PATH)/tools/autocheck.awk)
     208
     209%.check.c: %.h $(AUTOCHECK)
     210        cd $(<D) && $(AUTOCHECK) $(<F) > $(@F)
  • uspace/lib/c/arch/amd64/Makefile.inc

    r1cac875 rd2f75eb  
    3636        arch/$(UARCH)/src/stacktrace_asm.S
    3737
    38 ARCH_AUTOGENS_AG = \
    39         arch/$(UARCH)/include/libarch/istate_struct.ag \
    40         arch/$(UARCH)/include/libarch/fibril_context.ag
     38ARCH_AUTOCHECK_HEADERS = \
     39        arch/$(UARCH)/include/libarch/fibril_context.h
    4140
    4241EXTRA_OUTPUT += arch/$(UARCH)/src/entry.o
  • uspace/lib/c/arch/arm32/Makefile.inc

    r1cac875 rd2f75eb  
    3838        arch/$(UARCH)/src/stacktrace_asm.S
    3939
    40 ARCH_AUTOGENS_AG = \
    41         arch/$(UARCH)/include/libarch/istate_struct.ag \
    42         arch/$(UARCH)/include/libarch/fibril_context.ag
    43 
    4440EXTRA_OUTPUT += arch/$(UARCH)/src/entry.o
    4541
  • uspace/lib/c/arch/ia32/Makefile.inc

    r1cac875 rd2f75eb  
    3838        arch/$(UARCH)/src/rtld/reloc.c
    3939
    40 ARCH_AUTOGENS_AG = \
    41         arch/$(UARCH)/include/libarch/istate_struct.ag \
    42         arch/$(UARCH)/include/libarch/fibril_context.ag
     40ARCH_AUTOCHECK_HEADERS = \
     41        arch/$(UARCH)/include/libarch/fibril_context.h
    4342
    4443EXTRA_OUTPUT += arch/$(UARCH)/src/entry.o
  • uspace/lib/c/arch/ia64/Makefile.inc

    r1cac875 rd2f75eb  
    3737        arch/$(UARCH)/src/stacktrace_asm.S
    3838
    39 ARCH_AUTOGENS_AG = \
    40         arch/$(UARCH)/include/libarch/istate_struct.ag \
    41         arch/$(UARCH)/include/libarch/fibril_context.ag
     39ARCH_AUTOCHECK_HEADERS = \
     40        arch/$(UARCH)/include/libarch/fibril_context.h
    4241
    4342EXTRA_OUTPUT += arch/$(UARCH)/src/entry.o
  • uspace/lib/c/arch/mips32/Makefile.inc

    r1cac875 rd2f75eb  
    3636        arch/$(UARCH)/src/stacktrace_asm.S
    3737
    38 ARCH_AUTOGENS_AG = \
    39         arch/$(UARCH)/include/libarch/istate_struct.ag \
    40         arch/$(UARCH)/include/libarch/fibril_context.ag
     38ARCH_AUTOCHECK_HEADERS = \
     39        arch/$(UARCH)/include/libarch/fibril_context.h
    4140
    4241EXTRA_OUTPUT += arch/$(UARCH)/src/entry.o
  • uspace/lib/c/arch/mips32eb/Makefile.inc

    r1cac875 rd2f75eb  
    3636        arch/$(UARCH)/src/stacktrace_asm.S
    3737
    38 ARCH_AUTOGENS_AG = \
    39         arch/$(UARCH)/include/libarch/istate_struct.ag \
    40         arch/$(UARCH)/include/libarch/fibril_context.ag
     38ARCH_AUTOCHECK_HEADERS = \
     39        arch/$(UARCH)/include/libarch/fibril_context.h
    4140
    4241EXTRA_OUTPUT += arch/$(UARCH)/src/entry.o
  • uspace/lib/c/arch/ppc32/Makefile.inc

    r1cac875 rd2f75eb  
    3636        arch/$(UARCH)/src/stacktrace_asm.S
    3737
    38 ARCH_AUTOGENS_AG = \
    39         arch/$(UARCH)/include/libarch/istate_struct.ag \
    40         arch/$(UARCH)/include/libarch/fibril_context.ag
     38ARCH_AUTOCHECK_HEADERS = \
     39        arch/$(UARCH)/include/libarch/fibril_context.h
    4140
    4241EXTRA_OUTPUT += arch/$(UARCH)/src/entry.o
  • uspace/lib/c/arch/riscv64/Makefile.inc

    r1cac875 rd2f75eb  
    3535        arch/$(UARCH)/src/stacktrace.c
    3636
    37 ARCH_AUTOGENS_AG = \
    38         arch/$(UARCH)/include/libarch/istate_struct.ag \
    39         arch/$(UARCH)/include/libarch/fibril_context.ag
     37ARCH_AUTOCHECK_HEADERS = \
     38        arch/$(UARCH)/include/libarch/fibril_context.h
    4039
    4140EXTRA_OUTPUT += arch/$(UARCH)/src/entry.o
  • uspace/lib/c/arch/sparc64/Makefile.inc

    r1cac875 rd2f75eb  
    3535        arch/$(UARCH)/src/stacktrace_asm.S
    3636
    37 ARCH_AUTOGENS_AG = \
    38         arch/$(UARCH)/include/libarch/istate_struct.ag \
    39         arch/$(UARCH)/include/libarch/fibril_context.ag
     37ARCH_AUTOCHECK_HEADERS = \
     38        arch/$(UARCH)/include/libarch/fibril_context.h
    4039
    4140EXTRA_OUTPUT += arch/$(UARCH)/src/entry.o
Note: See TracChangeset for help on using the changeset viewer.