Changeset 2483 in kBuild
- Timestamp:
- Jul 21, 2011 1:33:41 PM (14 years ago)
- Location:
- trunk/kBuild
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/footer.kmk
r2481 r2483 2305 2305 $($(target)_MODE.$(bld_trg)) \ 2306 2306 $($(target)_MODE.$(bld_type)) \ 2307 $($(target)_MODE) ) 2307 $($(target)_MODE) \ 2308 $(target_type_mode) ) 2308 2309 local uid := $(firstword \ 2309 2310 $($(target)_UID.$(bld_trg).$(bld_trg_arch).$(bld_type)) \ … … 2521 2522 2522 2523 # installing and globals. 2523 local target_type_mode := a+r, o+w2524 local target_type_mode := a+r,u+w 2524 2525 $(evalval def_target_install_only) 2525 2526 … … 3043 3044 # mode, uid and gid 3044 3045 local mode := $(firstword \ 3045 $($(target)_$(srcsrc) _MODE.$(bld_trg).$(bld_trg_arch)) \3046 $($(target)_$(srcsrc) _MODE.$(bld_trg)) \3047 $($(target)_$(srcsrc) _MODE) \3048 $($(target)_$(srcdst) _MODE.$(bld_trg).$(bld_trg_arch)) \3049 $($(target)_$(srcdst) _MODE.$(bld_trg)) \3050 $($(target)_$(srcdst) _MODE) \3051 $($(srcsrc) _MODE.$(bld_trg).$(bld_trg_arch)) \3052 $($(srcsrc) _MODE.$(bld_trg)) \3053 $($(srcsrc) _MODE) \3054 $($(srcdst) _MODE.$(bld_trg).$(bld_trg_arch)) \3055 $($(srcdst) _MODE.$(bld_trg)) \3056 $($(srcdst) _MODE) \3057 $( top_mode))3046 $($(target)_$(srcsrc)$(source_type_prefix)_MODE.$(bld_trg).$(bld_trg_arch)) \ 3047 $($(target)_$(srcsrc)$(source_type_prefix)_MODE.$(bld_trg)) \ 3048 $($(target)_$(srcsrc)$(source_type_prefix)_MODE) \ 3049 $($(target)_$(srcdst)$(source_type_prefix)_MODE.$(bld_trg).$(bld_trg_arch)) \ 3050 $($(target)_$(srcdst)$(source_type_prefix)_MODE.$(bld_trg)) \ 3051 $($(target)_$(srcdst)$(source_type_prefix)_MODE) \ 3052 $($(srcsrc)$(source_type_prefix)_MODE.$(bld_trg).$(bld_trg_arch)) \ 3053 $($(srcsrc)$(source_type_prefix)_MODE.$(bld_trg)) \ 3054 $($(srcsrc)$(source_type_prefix)_MODE) \ 3055 $($(srcdst)$(source_type_prefix)_MODE.$(bld_trg).$(bld_trg_arch)) \ 3056 $($(srcdst)$(source_type_prefix)_MODE.$(bld_trg)) \ 3057 $($(srcdst)$(source_type_prefix)_MODE) \ 3058 $(source_type_mode)) 3058 3059 local uid := $(firstword \ 3059 3060 $($(target)_$(srcsrc)_UID.$(bld_trg).$(bld_trg_arch)) \ … … 3086 3087 local flags := \ 3087 3088 $(top_ifflags) \ 3088 $($(srcdst) _IFFLAGS) \3089 $($(srcdst) _IFFLAGS.$(bld_trg)) \3090 $($(srcdst) _IFFLAGS.$(bld_trg).$(bld_trg_arch)) \3091 $($(srcsrc) _IFFLAGS) \3092 $($(srcsrc) _IFFLAGS.$(bld_trg)) \3093 $($(srcsrc) _IFFLAGS.$(bld_trg).$(bld_trg_arch)) \3094 $($(target)_$(srcdst) _IFFLAGS) \3095 $($(target)_$(srcdst) _IFFLAGS.$(bld_trg)) \3096 $($(target)_$(srcdst) _IFFLAGS.$(bld_trg).$(bld_trg_arch)) \3097 $($(target)_$(srcsrc) _IFFLAGS) \3098 $($(target)_$(srcsrc) _IFFLAGS.$(bld_trg)) \3099 $($(target)_$(srcsrc) _IFFLAGS.$(bld_trg).$(bld_trg_arch))3089 $($(srcdst)$(source_type_prefix)_IFFLAGS) \ 3090 $($(srcdst)$(source_type_prefix)_IFFLAGS.$(bld_trg)) \ 3091 $($(srcdst)$(source_type_prefix)_IFFLAGS.$(bld_trg).$(bld_trg_arch)) \ 3092 $($(srcsrc)$(source_type_prefix)_IFFLAGS) \ 3093 $($(srcsrc)$(source_type_prefix)_IFFLAGS.$(bld_trg)) \ 3094 $($(srcsrc)$(source_type_prefix)_IFFLAGS.$(bld_trg).$(bld_trg_arch)) \ 3095 $($(target)_$(srcdst)$(source_type_prefix)_IFFLAGS) \ 3096 $($(target)_$(srcdst)$(source_type_prefix)_IFFLAGS.$(bld_trg)) \ 3097 $($(target)_$(srcdst)$(source_type_prefix)_IFFLAGS.$(bld_trg).$(bld_trg_arch)) \ 3098 $($(target)_$(srcsrc)$(source_type_prefix)_IFFLAGS) \ 3099 $($(target)_$(srcsrc)$(source_type_prefix)_IFFLAGS.$(bld_trg)) \ 3100 $($(target)_$(srcsrc)$(source_type_prefix)_IFFLAGS.$(bld_trg).$(bld_trg_arch)) 3100 3101 clean_files += \ 3101 3102 $($(srcdst)_CLEAN) \ … … 3363 3364 $($(target)_MODE.$(bld_trg)) \ 3364 3365 $($(target)_MODE) ) 3366 local top_exec_mode := $(firstword \ 3367 $($(target)_EXEC_MODE.$(bld_trg).$(bld_trg_arch)) \ 3368 $($(target)_EXEC_MODE.$(bld_trg)) \ 3369 $($(target)_EXEC_MODE) ) 3365 3370 local top_uid := $(firstword \ 3366 3371 $($(target)_UID.$(bld_trg).$(bld_trg_arch)) \ … … 3402 3407 $($(target)_CLEAN.$(bld_type)) 3403 3408 3409 local source_type_prefix := 3410 local source_type_mode := $(firstword $(top_mode) a+r,u+w) 3404 3411 $(foreach src,\ 3405 3412 $($(target)_SOURCES) \ … … 3409 3416 $($(target)_SOURCES.$(bld_trg_cpu)) \ 3410 3417 $($(target)_SOURCES.$(bld_type)), \ 3418 $(evalval def_install_src)) 3419 3420 local source_type_prefix := EXEC_ 3421 local source_type_mode := $(firstword $(top_exec_mode) a+xr,u+w) 3422 $(foreach src,\ 3423 $($(target)_EXEC_SOURCES) \ 3424 $($(target)_EXEC_SOURCES.$(bld_trg)) \ 3425 $($(target)_EXEC_SOURCES.$(bld_trg).$(bld_trg_arch)) \ 3426 $($(target)_EXEC_SOURCES.$(bld_trg_arch)) \ 3427 $($(target)_EXEC_SOURCES.$(bld_trg_cpu)) \ 3428 $($(target)_EXEC_SOURCES.$(bld_type)), \ 3411 3429 $(evalval def_install_src)) 3412 3430 -
trunk/kBuild/header.kmk
r2479 r2483 916 916 RCFLAGS RCDEFS \ 917 917 LDFLAGS \ 918 IDFLAGS IF DLAGS ISFLAGS \918 IDFLAGS IFFLAGS EXEC_IFFLAGS ISFLAGS \ 919 919 FETCHFLAGS UNPACKFLAGS PATCHFLAGS 920 920 ## PROPS_ACCUMULATE_R_LNK … … 928 928 ASFLAGS ASDEFS \ 929 929 RCFLAGS RCDEFS \ 930 IDFLAGS IF DLAGS ISFLAGS930 IDFLAGS IFFLAGS ISFLAGS 931 931 932 932 ## PROPS_ACCUMULATE … … 936 936 # will do the necessary inheritance from templates to targets. 937 937 PROPS_ACCUMULATE_L := \ 938 SDKS USES SOURCES SRC_HANDLERS INTERMEDIATES \938 SDKS USES SOURCES EXEC_SOURCES SRC_HANDLERS INTERMEDIATES \ 939 939 INCS CINCS CXXINCS OBJCINCS OBJCXXINCS ASINCS RCINCS \ 940 940 LIBS LIBPATH \ … … 993 993 ## @name Properties valid on installs (INSTALLS) 994 994 ## @{ 995 PROPS_INSTALLS_SINGLE := TOOL TEMPLATE INST NOINST 995 PROPS_INSTALLS_SINGLE := TOOL TEMPLATE INST NOINST BLD_TYPE BLD_TRG BLD_TRG_ARCH BLD_TRG_CPU MODE UID GID 996 996 PROPS_INSTALLS_DEFERRED := INSTFUN INSTALLER 997 PROPS_INSTALLS_ACCUMULATE_R := DEPS ORDERDEPS GOALS INST_ONLY_GOALS STAGE_ONLY_GOALS 998 PROPS_INSTALLS_ACCUMULATE_L := SOURCES DIRS CLEAN997 PROPS_INSTALLS_ACCUMULATE_R := DEPS ORDERDEPS GOALS INST_ONLY_GOALS STAGE_ONLY_GOALS IFFLAGS EXEC_IFFLAGS 998 PROPS_INSTALLS_ACCUMULATE_L := SOURCES EXEC_SOURCES DIRS CLEAN 999 999 ## @} 1000 1000
Note:
See TracChangeset
for help on using the changeset viewer.