@@ -188,53 +188,53 @@ endef
188188
189189define int_add_cmds
190190$($(1 ) _fetched) :
191- $( AT ) mkdir -p $$(@D ) $(SOURCES_PATH )
192- $( AT ) rm -f $$@
193- $( AT ) touch $$@
194- $( AT ) cd $$(@D ) ; $(call $(1 ) _fetch_cmds,$(1 ) )
195- $( AT ) cd $($(1 ) _source_dir) ; $(foreach source,$($(1 ) _all_sources) ,$(build_SHA256SUM ) $(source ) >> $$(@ ) ;)
196- $( AT ) touch $$@
191+ mkdir -p $$(@D ) $(SOURCES_PATH )
192+ rm -f $$@
193+ touch $$@
194+ cd $$(@D ) ; $(call $(1 ) _fetch_cmds,$(1 ) )
195+ cd $($(1 ) _source_dir) ; $(foreach source,$($(1 ) _all_sources) ,$(build_SHA256SUM ) $(source ) >> $$(@ ) ;)
196+ touch $$@
197197$($(1 ) _extracted) : | $($(1 ) _fetched)
198- $( AT ) echo Extracting $(1 ) ...
199- $( AT ) mkdir -p $$(@D )
200- $( AT ) cd $$(@D ) ; $(call $(1 ) _extract_cmds,$(1 ) )
201- $( AT ) touch $$@
198+ echo Extracting $(1 ) ...
199+ mkdir -p $$(@D )
200+ cd $$(@D ) ; $(call $(1 ) _extract_cmds,$(1 ) )
201+ touch $$@
202202$($(1 ) _preprocessed) : | $($(1 ) _extracted)
203- $( AT ) echo Preprocessing $(1 ) ...
204- $( AT ) mkdir -p $$(@D ) $($(1 ) _patch_dir)
205- $(AT )$( foreach patch,$($(1 ) _patches) ,cd $(PATCHES_PATH ) /$(1 ) ; cp $(patch ) $($(1 ) _patch_dir) ;)
206- $( AT ) cd $$(@D ) ; $(call $(1 ) _preprocess_cmds, $(1 ) )
207- $( AT ) touch $$@
203+ echo Preprocessing $(1 ) ...
204+ mkdir -p $$(@D ) $($(1 ) _patch_dir)
205+ $(foreach patch,$($(1 ) _patches) ,cd $(PATCHES_PATH ) /$(1 ) ; cp $(patch ) $($(1 ) _patch_dir) ;)
206+ cd $$(@D ) ; $(call $(1 ) _preprocess_cmds, $(1 ) )
207+ touch $$@
208208$($(1 ) _configured) : | $($(1 ) _dependencies) $($(1 ) _preprocessed)
209- $( AT ) echo Configuring $(1 ) ...
210- $( AT ) rm -rf $(host_prefix ) ; mkdir -p $(host_prefix ) /lib; cd $(host_prefix ) ; $(foreach package,$($(1 ) _all_dependencies) , tar --no-same-owner -xf $($(package ) _cached) ; )
211- $( AT ) mkdir -p $$(@D )
212- $( AT ) +cd $$(@D ) ; $($(1 ) _config_env) $(call $(1 ) _config_cmds, $(1 ) )
213- $( AT ) touch $$@
209+ echo Configuring $(1 ) ...
210+ rm -rf $(host_prefix ) ; mkdir -p $(host_prefix ) /lib; cd $(host_prefix ) ; $(foreach package,$($(1 ) _all_dependencies) , tar --no-same-owner -xf $($(package ) _cached) ; )
211+ mkdir -p $$(@D )
212+ +cd $$(@D ) ; $($(1 ) _config_env) $(call $(1 ) _config_cmds, $(1 ) )
213+ touch $$@
214214$($(1 ) _built) : | $($(1 ) _configured)
215- $( AT ) echo Building $(1 ) ...
216- $( AT ) mkdir -p $$(@D )
217- $( AT ) +cd $$(@D ) ; $($(1 ) _build_env) $(call $(1 ) _build_cmds, $(1 ) )
218- $( AT ) touch $$@
215+ echo Building $(1 ) ...
216+ mkdir -p $$(@D )
217+ +cd $$(@D ) ; $($(1 ) _build_env) $(call $(1 ) _build_cmds, $(1 ) )
218+ touch $$@
219219$($(1 ) _staged) : | $($(1 ) _built)
220- $( AT ) echo Staging $(1 ) ...
221- $( AT ) mkdir -p $($(1 ) _staging_dir) /$(host_prefix )
222- $( AT ) cd $($(1 ) _build_dir) ; $($(1 ) _stage_env) $(call $(1 ) _stage_cmds, $(1 ) )
223- $( AT ) rm -rf $($(1 ) _extract_dir)
224- $( AT ) touch $$@
220+ echo Staging $(1 ) ...
221+ mkdir -p $($(1 ) _staging_dir) /$(host_prefix )
222+ cd $($(1 ) _build_dir) ; $($(1 ) _stage_env) $(call $(1 ) _stage_cmds, $(1 ) )
223+ rm -rf $($(1 ) _extract_dir)
224+ touch $$@
225225$($(1 ) _postprocessed) : | $($(1 ) _staged)
226- $( AT ) echo Postprocessing $(1 ) ...
227- $( AT ) cd $($(1 ) _staging_prefix_dir) ; $(call $(1 ) _postprocess_cmds)
228- $( AT ) touch $$@
226+ echo Postprocessing $(1 ) ...
227+ cd $($(1 ) _staging_prefix_dir) ; $(call $(1 ) _postprocess_cmds)
228+ touch $$@
229229$($(1 ) _cached) : | $($(1 ) _dependencies) $($(1 ) _postprocessed)
230- $( AT ) echo Caching $(1 ) ...
231- $( AT ) cd $$($(1 ) _staging_dir) /$(host_prefix ) ; find . | sort | tar --no-recursion -czf $$($(1 ) _staging_dir) /$$(@F ) -T -
232- $( AT ) mkdir -p $$(@D )
233- $( AT ) rm -rf $$(@D ) && mkdir -p $$(@D )
234- $( AT ) mv $$($(1 ) _staging_dir) /$$(@F ) $$(@ )
235- $( AT ) rm -rf $($(1 ) _staging_dir)
230+ echo Caching $(1 ) ...
231+ cd $$($(1 ) _staging_dir) /$(host_prefix ) ; find . | sort | tar --no-recursion -czf $$($(1 ) _staging_dir) /$$(@F ) -T -
232+ mkdir -p $$(@D )
233+ rm -rf $$(@D ) && mkdir -p $$(@D )
234+ mv $$($(1 ) _staging_dir) /$$(@F ) $$(@ )
235+ rm -rf $($(1 ) _staging_dir)
236236$($(1 ) _cached_checksum) : $($(1 ) _cached)
237- $( AT ) cd $$(@D ) ; $(build_SHA256SUM ) $$(<F ) > $$(@ )
237+ cd $$(@D ) ; $(build_SHA256SUM ) $$(<F ) > $$(@ )
238238
239239.PHONY: $(1 )
240240$(1 ) : | $($(1 ) _cached_checksum)
0 commit comments