Support multiple recovery updater extensions.
Change-Id: I787c086223b674050c0a12fc575add9badb471af
This commit is contained in:
parent
8918673cf7
commit
6242a8bc9b
@ -58,9 +58,9 @@ $(inc) : libs := $(TARGET_RECOVERY_UPDATER_LIBS)
|
||||
$(inc) : $(inc).list
|
||||
$(hide) mkdir -p $(dir $@)
|
||||
$(hide) echo "" > $@
|
||||
$(hide) $(foreach lib,$(libs),echo "extern void Register_$(lib)(void);" >> $@)
|
||||
$(hide) $(foreach lib,$(libs),echo "extern void Register_$(lib)(void);" >> $@;)
|
||||
$(hide) echo "void RegisterDeviceExtensions() {" >> $@
|
||||
$(hide) $(foreach lib,$(libs),echo " Register_$(lib)();" >> $@)
|
||||
$(hide) $(foreach lib,$(libs),echo " Register_$(lib)();" >> $@;)
|
||||
$(hide) echo "}" >> $@
|
||||
|
||||
$(call intermediates-dir-for,EXECUTABLES,updater)/updater.o : $(inc)
|
||||
|
Loading…
Reference in New Issue
Block a user