mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
Build plugins.
svn-id: r14754
This commit is contained in:
parent
d0d7e594d6
commit
65729bcff5
@ -14,4 +14,6 @@ common
|
||||
base
|
||||
backends
|
||||
scummvm.elf
|
||||
*.plg
|
||||
scummvm.bin
|
||||
SCUMMVM.BIN
|
||||
*.PLG
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
ronindir = /usr/local/ronin
|
||||
|
||||
# BUILD_PLUGINS = 1
|
||||
BUILD_PLUGINS = 1
|
||||
|
||||
srcdir = ../..
|
||||
VPATH = $(srcdir)
|
||||
@ -28,6 +28,8 @@ HAVE_GCC3 = true
|
||||
|
||||
ifdef BUILD_PLUGINS
|
||||
DEFINES += -DDYNAMIC_MODULES
|
||||
PRE_OBJS_FLAGS = -Wl,--whole-archive
|
||||
POST_OBJS_FLAGS = -Wl,--no-whole-archive
|
||||
endif
|
||||
|
||||
OBJS := dcmain.o time.o display.o audio.o input.o selector.o icon.o \
|
||||
@ -40,3 +42,13 @@ include $(srcdir)/Makefile.common
|
||||
scummvm.bin : scummvm.elf
|
||||
sh-elf-objcopy -S -R .stack -O binary $< $@
|
||||
|
||||
SCUMMVM.BIN : scummvm.bin
|
||||
scramble $< $@
|
||||
|
||||
plugin_dist :
|
||||
find . -name '*.plg' | while read p; do \
|
||||
sh-elf-strip -g -o "`basename \"$$p\" | tr '[:lower:]' '[:upper:]'`" "$$p"; \
|
||||
done
|
||||
|
||||
dist : SCUMMVM.BIN plugins plugin_dist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user