Revision 9f16732a
b/Makefile.objs | ||
---|---|---|
258 | 258 |
|
259 | 259 |
vl.o: QEMU_CFLAGS+=$(SDL_CFLAGS) |
260 | 260 |
|
261 |
vl.o: qemu-options.h
|
|
261 |
vl.o: qemu-options.def
|
|
262 | 262 |
|
263 |
qemu-options.h: $(SRC_PATH)/qemu-options.hx
|
|
263 |
qemu-options.def: $(SRC_PATH)/qemu-options.hx
|
|
264 | 264 |
$(call quiet-command,sh $(SRC_PATH)/hxtool -h < $< > $@," GEN $(TARGET_DIR)$@") |
265 | 265 |
|
b/vl.c | ||
---|---|---|
1875 | 1875 |
#define DEF(option, opt_arg, opt_enum, opt_help, arch_mask) \ |
1876 | 1876 |
opt_help |
1877 | 1877 |
#define DEFHEADING(text) stringify(text) "\n" |
1878 |
#include "qemu-options.h"
|
|
1878 |
#include "qemu-options.def"
|
|
1879 | 1879 |
#undef DEF |
1880 | 1880 |
#undef DEFHEADING |
1881 | 1881 |
#undef GEN_DOCS |
... | ... | |
1903 | 1903 |
#define DEF(option, opt_arg, opt_enum, opt_help, arch_mask) \ |
1904 | 1904 |
opt_enum, |
1905 | 1905 |
#define DEFHEADING(text) |
1906 |
#include "qemu-options.h"
|
|
1906 |
#include "qemu-options.def"
|
|
1907 | 1907 |
#undef DEF |
1908 | 1908 |
#undef DEFHEADING |
1909 | 1909 |
#undef GEN_DOCS |
... | ... | |
1921 | 1921 |
#define DEF(option, opt_arg, opt_enum, opt_help, arch_mask) \ |
1922 | 1922 |
{ option, opt_arg, opt_enum, arch_mask }, |
1923 | 1923 |
#define DEFHEADING(text) |
1924 |
#include "qemu-options.h"
|
|
1924 |
#include "qemu-options.def"
|
|
1925 | 1925 |
#undef DEF |
1926 | 1926 |
#undef DEFHEADING |
1927 | 1927 |
#undef GEN_DOCS |
Also available in: Unified diff