Changeset 3608
- Timestamp:
- Sep 9, 2024, 4:53:00 PM (2 months ago)
- Location:
- trunk/kBuild
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/footer-pass2-fetches.kmk
r3121 r3608 36 36 # 37 37 # The targets listed in the the FETCHES target list have the following attributes: 38 # NAME 38 39 # SOURCES 39 40 # INST … … 270 271 # The unpacking / installing. 271 272 # 272 local out := $(inst)_kBuild_$( target)_$(srcname)_unpacked.lst273 local out := $(inst)_kBuild_$(name)_$(srcname)_unpacked.lst 273 274 local dirdep := $(call DIRDEP,$(inst)) 274 275 local tool := $(firstword \ … … 351 352 $(out)_unfetched: 352 353 %$$(call MSG_UNFETCH,$(target)) 353 $$(QUIET)$$(RM) -f -- $$( addprefix $(inst),$$(shell $$(CAT_EXT) $(out).lst 2> /dev/null | $$(SED) -e '/\/$$$$/d'))354 $$(QUIET)$$(RM) -f -- $$(qaddprefix sh,$(inst),$$(shell $$(CAT_EXT) $(out).lst 2> /dev/null | $$(SED) -e '/\/$$$$/d' -e 's/ /\\ /g')) 354 355 $$(QUIET)$$(RMDIR) -p --ignore-fail-on-non-empty --ignore-fail-on-not-exist -- $$(dir $$@) \ 355 $$( addprefix $(inst),$$(sort $$(dir $$(shell $$(CAT_EXT) $(out).lst 2> /dev/null))))356 $$(qaddprefix sh,$(inst),$$(qsortfiles ,$$(qdir ,$$(shell $$(CAT_EXT) $(out).lst 2> /dev/null | $$(SED) -e '/\/$$$$/d' -e 's/ /\\ /g')))) 356 357 $$(QUIET)$$(RM) -f -- $(out).lst $(out) 357 358 $$(QUIET)$$(RMDIR) -p --ignore-fail-on-non-empty --ignore-fail-on-not-exist -- $$(dir $$@) … … 380 381 define def_fetch 381 382 # common 383 local name := $(firstword $($(target)_NAME) $(target)) 382 384 ## @todo Install-revamp: FIXME 383 385 INSTARGET_$(target) := $($(target)_INST) … … 392 394 393 395 # The 'sources'. 394 #$ (warning dbg fetch: target=$(target) sources=$($(target)_SOURCES) $($(target)_SOURCES.$(KBUILD_TYPE)) $($(target)_SOURCES.$(KBUILD_TARGET)) $($(target)_SOURCES.$(bld_trg_arch)) $($(target)_SOURCES.$(KBUILD_TARGET).$(bld_trg_arch)))396 #$ (warning dbg fetch: target=$(target) name=$(name) sources=$($(target)_SOURCES) $($(target)_SOURCES.$(KBUILD_TYPE)) $($(target)_SOURCES.$(KBUILD_TARGET)) $($(target)_SOURCES.$(bld_trg_arch)) $($(target)_SOURCES.$(KBUILD_TARGET).$(bld_trg_arch))) 395 397 $(foreach source,$($(target)_SOURCES) $($(target)_SOURCES.$(KBUILD_TYPE)) $($(target)_SOURCES.$(bld_trg)) $($(target)_SOURCES.$(bld_trg_arch)) $($(target)_SOURCES.$(bld_trg).$(bld_trg_arch)),\ 396 398 $(evalval def_fetch_src)) … … 398 400 # The target. 399 401 local inst := $(INSTARGET_$(target)) 400 local out := $(inst)_kBuild_fetch_$( target)402 local out := $(inst)_kBuild_fetch_$(name) 401 403 402 404 $(eval includedep $(out)) -
trunk/kBuild/header.kmk
r3607 r3608 1246 1246 ## @{ 1247 1247 PROPS_FETCHES_SINGLE := TOOL TEMPLATE FETCHTOOL UNPACKTOOL PATCHTOOL INST FETCHDIR 1248 PROPS_FETCHES_DEFERRED := 1248 PROPS_FETCHES_DEFERRED := NAME 1249 1249 PROPS_FETCHES_ACCUMULATE_R := FETCHFLAGS UNPACKFLAGS PATCHFLAGS 1250 1250 PROPS_FETCHES_ACCUMULATE_L := SOURCES CLEAN
Note:
See TracChangeset
for help on using the changeset viewer.