From 3f2546b2ef55b661fd8dd69682b38992225e86f6 Mon Sep 17 00:00:00 2001 From: fishsoupisgood Date: Mon, 29 Apr 2019 01:17:54 +0100 Subject: Initial import of qemu-2.4.1 --- roms/openbios/config/xml/config-c.xsl | 57 ++++++ roms/openbios/config/xml/config-forth.xsl | 41 ++++ roms/openbios/config/xml/dictionary.xsl | 195 ++++++++++++++++++ roms/openbios/config/xml/fcode.xsl | 48 +++++ roms/openbios/config/xml/makefile.xsl | 20 ++ roms/openbios/config/xml/object.xsl | 327 ++++++++++++++++++++++++++++++ roms/openbios/config/xml/rules.xml | 34 ++++ roms/openbios/config/xml/util.xsl | 80 ++++++++ roms/openbios/config/xml/xinclude.xsl | 43 ++++ 9 files changed, 845 insertions(+) create mode 100644 roms/openbios/config/xml/config-c.xsl create mode 100644 roms/openbios/config/xml/config-forth.xsl create mode 100644 roms/openbios/config/xml/dictionary.xsl create mode 100644 roms/openbios/config/xml/fcode.xsl create mode 100644 roms/openbios/config/xml/makefile.xsl create mode 100644 roms/openbios/config/xml/object.xsl create mode 100644 roms/openbios/config/xml/rules.xml create mode 100644 roms/openbios/config/xml/util.xsl create mode 100644 roms/openbios/config/xml/xinclude.xsl (limited to 'roms/openbios/config/xml') diff --git a/roms/openbios/config/xml/config-c.xsl b/roms/openbios/config/xml/config-c.xsl new file mode 100644 index 00000000..62ed8544 --- /dev/null +++ b/roms/openbios/config/xml/config-c.xsl @@ -0,0 +1,57 @@ + + + + + + + /* * Automatically generated C config: don't edit */ + + + + + + + + + + #define + + 1 + + + #undef + + + + ERROR: boolean configuration option '' has unsupported value '' instead of [true|false]. + + + + + + + #define + + + + + + + #define + "" + + + + ERROR: configuration option ' has unsupported type ''. + + + + + + + + + + + + diff --git a/roms/openbios/config/xml/config-forth.xsl b/roms/openbios/config/xml/config-forth.xsl new file mode 100644 index 00000000..cace0deb --- /dev/null +++ b/roms/openbios/config/xml/config-forth.xsl @@ -0,0 +1,41 @@ + + + + + + + + + + + [DEFINE] + + + + + + + + ERROR: boolean configuration option '' has unsupported value '' instead of [true|false]. + + + + + + [DEFINE] + + + + + + + + ERROR: configuration option '' has unsupported type ''. + + + + + + + + diff --git a/roms/openbios/config/xml/dictionary.xsl b/roms/openbios/config/xml/dictionary.xsl new file mode 100644 index 00000000..61f62d84 --- /dev/null +++ b/roms/openbios/config/xml/dictionary.xsl @@ -0,0 +1,195 @@ + + + + + + + # # dictionary rules # + + + + + + + 0 + + + + + + + + + + + + -DICTIONARY := + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + -DICTIONARY:=$( + -DICTIONARY) + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + $(ODIR)/ + .dict: $( + + -DICTIONARY) $(ODIR)/forthstrap + + $(ODIR)/.dict + + + + + + + 0 + + + + + + + + + + $(ODIR)/ + + + + + + + + $(call quiet-command,$(ODIR)/forthstrap + + + + 0 + + + + + + + + + + + + + + + + + -I + $(SRCDIR)/ + + + + + + -I$(SRCDIR) + + -I$(ODIR)/forth + + -D $@ + -M $@.d + + -d $(ODIR)/.dict + + -c $@-console.log + $( + + -DICTIONARY)," GEN $(TARGET_DIR)$@") + + + + + + dictionaries: + + + + + 0 + + + + + + + + + + + $(ODIR)/ + .dict + + + + + + + diff --git a/roms/openbios/config/xml/fcode.xsl b/roms/openbios/config/xml/fcode.xsl new file mode 100644 index 00000000..ccc7e6e8 --- /dev/null +++ b/roms/openbios/config/xml/fcode.xsl @@ -0,0 +1,48 @@ + + + + + + + # # fcode rules # + + + + + 0 + + + + + + + + + + + + + + + + + + + + $(ODIR)/ + + : + + $(SRCDIR)/ + + + + + + + + + + + + diff --git a/roms/openbios/config/xml/makefile.xsl b/roms/openbios/config/xml/makefile.xsl new file mode 100644 index 00000000..56c494cc --- /dev/null +++ b/roms/openbios/config/xml/makefile.xsl @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/roms/openbios/config/xml/object.xsl b/roms/openbios/config/xml/object.xsl new file mode 100644 index 00000000..cf521f59 --- /dev/null +++ b/roms/openbios/config/xml/object.xsl @@ -0,0 +1,327 @@ + + + + + + + + + + + + + + + + + + + + # # + + compiler rules # + + + + + + + + + + + + + + 0 + + + + + + + + + + + $(ODIR)/ + + / + + + .o: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + $(ODIR)/ + + : + + + + + + 0 + + + + + + + + + + + + + + + + + + $(ODIR)/ + + / + + + .o + + + + + + + + + 0 + + + + + + + + + $(ODIR)/ + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + $(ODIR)/lib + + + + + .a + + + .so + + + : + + + + + + + + 0 + + + + + + + + + + + + + + + + + + $(ODIR)/ + + / + + + .o + + + + + + + + + + 0 + + + + + + + + + $(ODIR)/ + + + + + + + + + + + + + + + + + -libraries: + + + + + + + -executables: + + + + + + 0 + + + + + + + + $(ODIR)/ + + + + + + + + + diff --git a/roms/openbios/config/xml/rules.xml b/roms/openbios/config/xml/rules.xml new file mode 100644 index 00000000..29a720a0 --- /dev/null +++ b/roms/openbios/config/xml/rules.xml @@ -0,0 +1,34 @@ + + + + $(call quiet-command,$(HOSTCC) $(HOSTCFLAGS) -o $@ $^," HOSTCC $(TARGET_DIR)$@") + + + $(call quiet-command,$(HOSTCC) $(HOSTCFLAGS) $(HOSTINCLUDES) -c -o $@ $<," HOSTCC $(TARGET_DIR)$@") + + + $(call quiet-command,$(HOSTCC) $(HOSTCFLAGS) $(HOSTINCLUDES) + -c -o $@ $<," HOSTCC $(TARGET_DIR)$@") + + + $(call quiet--command,$(AR) cru $@ $^; $(RANLIB) $@," HOSTAR $(TARGET_DIR)$@") + + + $(call quiet-command,$(TOKE) -o $@ $^," TOKE $(TARGET_DIR)$@") + + + + + $(call quiet-command,$(CC) $(CFLAGS) -o $@ $^," CC $(TARGET_DIR)$@") + + + $(call quiet-command,$(CC) $$EXTRACFLAGS $(CFLAGS) $(INCLUDES) -c -o $@ $<," CC $(TARGET_DIR)$@") + + + $(call quiet-command,$(CC) $$EXTRACFLAGS $(CFLAGS) $(INCLUDES) + -c -o $@ $<," CC $(TARGET_DIR)$@") + + + $(call quiet-command,$(AR) cru $@ $^; $(RANLIB) $@," AR $(TARGET_DIR)$@") + + diff --git a/roms/openbios/config/xml/util.xsl b/roms/openbios/config/xml/util.xsl new file mode 100644 index 00000000..3b583b9a --- /dev/null +++ b/roms/openbios/config/xml/util.xsl @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + No valid relative path + + + + + + + + + CONFIG_ + + + + + + + + + 0 + 1 + + 1 + + Error: has no valid value ''. + + + + + + 1 + + Error: is not a boolean value (''). + + + + + + 0 + + + + + diff --git a/roms/openbios/config/xml/xinclude.xsl b/roms/openbios/config/xml/xinclude.xsl new file mode 100644 index 00000000..5bcbf535 --- /dev/null +++ b/roms/openbios/config/xml/xinclude.xsl @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3