Skip to content

Commit e644591

Browse files
committed
build, refactor: Drop useless call Make function
1 parent 5034b7f commit e644591

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

depends/funcs.mk

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -191,40 +191,40 @@ $($(1)_fetched):
191191
mkdir -p $$(@D) $(SOURCES_PATH)
192192
rm -f $$@
193193
touch $$@
194-
cd $$(@D); $(call $(1)_fetch_cmds,$(1))
194+
cd $$(@D); $($(1)_fetch_cmds)
195195
cd $($(1)_source_dir); $(foreach source,$($(1)_all_sources),$(build_SHA256SUM) $(source) >> $$(@);)
196196
touch $$@
197197
$($(1)_extracted): | $($(1)_fetched)
198198
echo Extracting $(1)...
199199
mkdir -p $$(@D)
200-
cd $$(@D); $(call $(1)_extract_cmds,$(1))
200+
cd $$(@D); $($(1)_extract_cmds)
201201
touch $$@
202202
$($(1)_preprocessed): | $($(1)_extracted)
203203
echo Preprocessing $(1)...
204204
mkdir -p $$(@D) $($(1)_patch_dir)
205205
$(foreach patch,$($(1)_patches),cd $(PATCHES_PATH)/$(1); cp $(patch) $($(1)_patch_dir) ;)
206-
cd $$(@D); $(call $(1)_preprocess_cmds, $(1))
206+
cd $$(@D); $($(1)_preprocess_cmds)
207207
touch $$@
208208
$($(1)_configured): | $($(1)_dependencies) $($(1)_preprocessed)
209209
echo Configuring $(1)...
210210
rm -rf $(host_prefix); mkdir -p $(host_prefix)/lib; cd $(host_prefix); $(foreach package,$($(1)_all_dependencies), tar --no-same-owner -xf $($(package)_cached); )
211211
mkdir -p $$(@D)
212-
+cd $$(@D); $($(1)_config_env) $(call $(1)_config_cmds, $(1))
212+
+cd $$(@D); $($(1)_config_env) $($(1)_config_cmds)
213213
touch $$@
214214
$($(1)_built): | $($(1)_configured)
215215
echo Building $(1)...
216216
mkdir -p $$(@D)
217-
+cd $$(@D); $($(1)_build_env) $(call $(1)_build_cmds, $(1))
217+
+cd $$(@D); $($(1)_build_env) $($(1)_build_cmds)
218218
touch $$@
219219
$($(1)_staged): | $($(1)_built)
220220
echo Staging $(1)...
221221
mkdir -p $($(1)_staging_dir)/$(host_prefix)
222-
cd $($(1)_build_dir); $($(1)_stage_env) $(call $(1)_stage_cmds, $(1))
222+
cd $($(1)_build_dir); $($(1)_stage_env) $($(1)_stage_cmds)
223223
rm -rf $($(1)_extract_dir)
224224
touch $$@
225225
$($(1)_postprocessed): | $($(1)_staged)
226226
echo Postprocessing $(1)...
227-
cd $($(1)_staging_prefix_dir); $(call $(1)_postprocess_cmds)
227+
cd $($(1)_staging_prefix_dir); $($(1)_postprocess_cmds)
228228
touch $$@
229229
$($(1)_cached): | $($(1)_dependencies) $($(1)_postprocessed)
230230
echo Caching $(1)...

0 commit comments

Comments
 (0)