Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

make: define PLUGIN when preprocessing plugin linker scripts

This matches the behavior of codecs, which define CODEC,
and is needed to get an accurate definition of USE_IRAM
out of config.h.

Change-Id: I84855ba88d01495bb63c609b3e4d67922b908440

+12 -12
+1 -1
apps/plugins/chessbox/chessbox.make
··· 31 31 $(CHESSBOX_OBJDIR)/chessbox.refmap: $(CHESSBOX_OBJ) 32 32 33 33 $(CHESSBOX_OUTLDS): $(PLUGIN_LDS) $(CHESSBOX_OBJDIR)/chessbox.refmap 34 - $(call PRINTS,PP $(@F))$(call preprocess2file,$<,$@,-DOVERLAY_OFFSET=$(shell \ 34 + $(call PRINTS,PP $(@F))$(call preprocess2file,$<,$@,-DPLUGIN -DOVERLAY_OFFSET=$(shell \ 35 35 $(TOOLSDIR)/ovl_offset.pl $(CHESSBOX_OBJDIR)/chessbox.refmap)) 36 36 37 37 $(CHESSBOX_OBJDIR)/chessbox.ovl: $(CHESSBOX_OBJ) $(CHESSBOX_OUTLDS)
+1 -1
apps/plugins/goban/goban.make
··· 28 28 $(GOBAN_BUILDDIR)/goban.refmap: $(GOBAN_OBJ) 29 29 30 30 $(GOBAN_OUTLDS): $(PLUGIN_LDS) $(GOBAN_BUILDDIR)/goban.refmap 31 - $(call PRINTS,PP $(@F))$(call preprocess2file,$<,$@,-DOVERLAY_OFFSET=$(shell \ 31 + $(call PRINTS,PP $(@F))$(call preprocess2file,$<,$@,-DPLUGIN -DOVERLAY_OFFSET=$(shell \ 32 32 $(TOOLSDIR)/ovl_offset.pl $(GOBAN_BUILDDIR)/goban.refmap)) 33 33 34 34 $(GOBAN_BUILDDIR)/goban.ovl: $(GOBAN_OBJ) $(GOBAN_OUTLDS)
+1 -1
apps/plugins/imageviewer/imageviewer.make
··· 50 50 -lgcc $(IMGDECLDFLAGS) 51 51 52 52 $(IMGVBUILDDIR)/%.link: $(PLUGIN_LDS) $(IMGVBUILDDIR)/%.refmap 53 - $(call PRINTS,PP $(@F))$(call preprocess2file,$<,$@,-DIMGVDECODER_OFFSET=$(shell \ 53 + $(call PRINTS,PP $(@F))$(call preprocess2file,$<,$@,-DPLUGIN -DIMGVDECODER_OFFSET=$(shell \ 54 54 $(TOOLSDIR)/ovl_offset.pl $(IMGVBUILDDIR)/$*.refmap))
+1 -1
apps/plugins/lua/lua.make
··· 65 65 $(LUA_BUILDDIR)/lua.refmap: $(LUA_OBJ) $(TLSFLIB) 66 66 67 67 $(LUA_OUTLDS): $(PLUGIN_LDS) $(LUA_BUILDDIR)/lua.refmap 68 - $(call PRINTS,PP $(@F))$(call preprocess2file,$<,$@,-DOVERLAY_OFFSET=$(shell \ 68 + $(call PRINTS,PP $(@F))$(call preprocess2file,$<,$@,-DPLUGIN -DOVERLAY_OFFSET=$(shell \ 69 69 $(TOOLSDIR)/ovl_offset.pl $(LUA_BUILDDIR)/lua.refmap)) 70 70 71 71 $(LUA_BUILDDIR)/lua.ovl: $(LUA_OBJ) $(TLSFLIB) $(LUA_OUTLDS)
+1 -1
apps/plugins/pictureflow/pictureflow.make
··· 29 29 $(PICTUREFLOW_OBJDIR)/pictureflow.refmap: $(PICTUREFLOW_OBJ) 30 30 31 31 $(PICTUREFLOW_OUTLDS): $(PLUGIN_LDS) $(PICTUREFLOW_OBJDIR)/pictureflow.refmap 32 - $(call PRINTS,PP $(@F))$(call preprocess2file,$<,$@,-DOVERLAY_OFFSET=$(shell \ 32 + $(call PRINTS,PP $(@F))$(call preprocess2file,$<,$@,-DPLUGIN -DOVERLAY_OFFSET=$(shell \ 33 33 $(TOOLSDIR)/ovl_offset.pl $(PICTUREFLOW_OBJDIR)/pictureflow.refmap)) 34 34 35 35 $(PICTUREFLOW_OBJDIR)/pictureflow.ovl: $(PICTUREFLOW_OBJ) $(PICTUREFLOW_OUTLDS)
+2 -2
apps/plugins/plugins.make
··· 95 95 $(PLUGINLINK_LDS): $(PLUGIN_LDS) $(CONFIGFILE) 96 96 $(call PRINTS,PP $(@F)) 97 97 $(shell mkdir -p $(dir $@)) 98 - $(call preprocess2file,$<,$@,) 98 + $(call preprocess2file,$<,$@,-DPLUGIN) 99 99 100 100 $(OVERLAYREF_LDS): $(PLUGIN_LDS) 101 101 $(call PRINTS,PP $(@F)) 102 102 $(shell mkdir -p $(dir $@)) 103 - $(call preprocess2file,$<,$@,-DOVERLAY_OFFSET=0) 103 + $(call preprocess2file,$<,$@,-DPLUGIN -DOVERLAY_OFFSET=0) 104 104 105 105 $(BUILDDIR)/credits.raw credits.raw: $(DOCSDIR)/CREDITS 106 106 $(call PRINTS,Create credits.raw)perl $(APPSDIR)/plugins/credits.pl < $< > $(BUILDDIR)/$(@F)
+1 -1
apps/plugins/rockboy/rockboy.make
··· 29 29 $(ROCKBOY_OBJDIR)/rockboy.refmap: $(ROCKBOY_OBJ) 30 30 31 31 $(ROCKBOY_OUTLDS): $(PLUGIN_LDS) $(ROCKBOY_OBJDIR)/rockboy.refmap 32 - $(call PRINTS,PP $(@F))$(call preprocess2file,$<,$@,-DOVERLAY_OFFSET=$(shell \ 32 + $(call PRINTS,PP $(@F))$(call preprocess2file,$<,$@,-DPLUGIN -DOVERLAY_OFFSET=$(shell \ 33 33 $(TOOLSDIR)/ovl_offset.pl $(ROCKBOY_OBJDIR)/rockboy.refmap)) 34 34 35 35 $(ROCKBOY_OBJDIR)/rockboy.ovl: $(ROCKBOY_OBJ) $(ROCKBOY_OUTLDS)
+3 -3
apps/plugins/sdl/sdl.make
··· 70 70 $(SDL_OBJDIR)/duke3d.refmap: $(SDL_OBJ) $(DUKE3D_OBJ) $(TLSFLIB) 71 71 72 72 $(DUKE3D_OUTLDS): $(PLUGIN_LDS) $(SDL_OBJDIR)/duke3d.refmap 73 - $(call PRINTS,PP $(@F))$(call preprocess2file,$<,$@,-DOVERLAY_OFFSET=$(shell \ 73 + $(call PRINTS,PP $(@F))$(call preprocess2file,$<,$@,-DPLUGIN -DOVERLAY_OFFSET=$(shell \ 74 74 $(TOOLSDIR)/ovl_offset.pl $(SDL_OBJDIR)/duke3d.refmap)) 75 75 76 76 $(SDL_OBJDIR)/duke3d.ovl: $(SDL_OBJ) $(DUKE3D_OBJ) $(TLSFLIB) $(DUKE3D_OUTLDS) ··· 87 87 $(SDL_OBJDIR)/wolf3d.refmap: $(SDL_OBJ) $(WOLF3D_OBJ) $(TLSFLIB) 88 88 89 89 $(WOLF3D_OUTLDS): $(PLUGIN_LDS) $(SDL_OBJDIR)/wolf3d.refmap 90 - $(call PRINTS,PP $(@F))$(call preprocess2file,$<,$@,-DOVERLAY_OFFSET=$(shell \ 90 + $(call PRINTS,PP $(@F))$(call preprocess2file,$<,$@,-DPLUGIN -DOVERLAY_OFFSET=$(shell \ 91 91 $(TOOLSDIR)/ovl_offset.pl $(SDL_OBJDIR)/wolf3d.refmap)) 92 92 93 93 $(SDL_OBJDIR)/wolf3d.ovl: $(SDL_OBJ) $(WOLF3D_OBJ) $(TLSFLIB) $(WOLF3D_OUTLDS) ··· 105 105 $(SDL_OBJDIR)/quake.refmap: $(SDL_OBJ) $(QUAKE_OBJ) $(TLSFLIB) 106 106 107 107 $(QUAKE_OUTLDS): $(PLUGIN_LDS) $(SDL_OBJDIR)/quake.refmap 108 - $(call PRINTS,PP $(@F))$(call preprocess2file,$<,$@,-DOVERLAY_OFFSET=$(shell \ 108 + $(call PRINTS,PP $(@F))$(call preprocess2file,$<,$@,-DPLUGIN -DOVERLAY_OFFSET=$(shell \ 109 109 $(TOOLSDIR)/ovl_offset.pl $(SDL_OBJDIR)/quake.refmap)) 110 110 111 111 $(SDL_OBJDIR)/quake.ovl: $(SDL_OBJ) $(QUAKE_OBJ) $(TLSFLIB) $(QUAKE_OUTLDS)
+1 -1
apps/plugins/zxbox/zxbox.make
··· 37 37 $(ZXBOX_OBJDIR)/zxbox.refmap: $(ZXBOX_OBJ) 38 38 39 39 $(ZXBOX_OUTLDS): $(PLUGIN_LDS) $(ZXBOX_OBJDIR)/zxbox.refmap 40 - $(call PRINTS,PP $(@F))$(call preprocess2file,$<,$@,-DOVERLAY_OFFSET=$(shell \ 40 + $(call PRINTS,PP $(@F))$(call preprocess2file,$<,$@,-DPLUGIN -DOVERLAY_OFFSET=$(shell \ 41 41 $(TOOLSDIR)/ovl_offset.pl $(ZXBOX_OBJDIR)/zxbox.refmap)) 42 42 43 43 $(ZXBOX_OBJDIR)/zxbox.ovl: $(ZXBOX_OBJ) $(ZXBOX_OUTLDS)