mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-24 13:28:18 +00:00
Merge branch 'master' of https://github.com/unicorn-engine/unicorn
This commit is contained in:
commit
8ae29a0b2a
2 changed files with 4 additions and 3 deletions
|
@ -43,11 +43,12 @@ Unicorn requires few dependent packages as followings
|
||||||
|
|
||||||
The other way of customize Unicorn without having to edit config.mk is to
|
The other way of customize Unicorn without having to edit config.mk is to
|
||||||
pass the desired options on the commandline to ./make.sh. Currently,
|
pass the desired options on the commandline to ./make.sh. Currently,
|
||||||
Unicorn supports 3 options, as followings.
|
Unicorn supports 4 options, as followings.
|
||||||
|
|
||||||
- UNICORN_ARCHS: specify list of architectures to compiled in.
|
- UNICORN_ARCHS: specify list of architectures to compiled in.
|
||||||
- UNICORN_STATIC: build static library.
|
- UNICORN_STATIC: build static library.
|
||||||
- UNICORN_SHARED: build dynamic (shared) library.
|
- UNICORN_SHARED: build dynamic (shared) library.
|
||||||
|
- UNICORN_QEMU_FLAGS: specify extra flags for qemu's configure script
|
||||||
|
|
||||||
To avoid editing config.mk for these customization, we can pass their values to
|
To avoid editing config.mk for these customization, we can pass their values to
|
||||||
make.sh, as followings.
|
make.sh, as followings.
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -204,11 +204,11 @@ config:
|
||||||
qemu/config-host.h-timestamp:
|
qemu/config-host.h-timestamp:
|
||||||
ifeq ($(UNICORN_DEBUG),yes)
|
ifeq ($(UNICORN_DEBUG),yes)
|
||||||
cd qemu && \
|
cd qemu && \
|
||||||
./configure --extra-cflags="$(UNICORN_CFLAGS)" --target-list="$(UNICORN_TARGETS)"
|
./configure --extra-cflags="$(UNICORN_CFLAGS)" --target-list="$(UNICORN_TARGETS)" ${UNICORN_QEMU_FLAGS}
|
||||||
printf "$(UNICORN_ARCHS)" > config.log
|
printf "$(UNICORN_ARCHS)" > config.log
|
||||||
else
|
else
|
||||||
cd qemu && \
|
cd qemu && \
|
||||||
./configure --disable-debug-info --extra-cflags="$(UNICORN_CFLAGS)" --target-list="$(UNICORN_TARGETS)"
|
./configure --disable-debug-info --extra-cflags="$(UNICORN_CFLAGS)" --target-list="$(UNICORN_TARGETS)" ${UNICORN_QEMU_FLAGS}
|
||||||
printf "$(UNICORN_ARCHS)" > config.log
|
printf "$(UNICORN_ARCHS)" > config.log
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue