VirtualBox

Changeset 94 in kBuild


Ignore:
Timestamp:
Jun 8, 2004 2:48:28 PM (21 years ago)
Author:
bird
Message:

templates / gcc3

Location:
trunk/kBuild
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/footer.kmk

    r91 r94  
    195195$(foreach prop, TOOL ARTOOL CTOOL CXXTOOL ASTOOL LDTOOL\
    196196        ,$(eval $(def_inherit_template_one)))
    197 $(foreach prop,SDKS DEFS INCS COPTS CFLAGS CDEFS CINCS CXXOPTS CXXFLAGS CXXDEFS CXXINCS ASOPTS ASFLAGS ASDEFS ASINCS\
     197$(foreach prop,SDKS DEFS INCS COPTS CFLAGS CDEFS CINCS CXXOPTS CXXFLAGS CXXDEFS CXXINCS ASOPTS ASFLAGS ASDEFS ASINCS LDFLAGS LIBS LIBPATH \
    198198        ,$(eval $(def_inherit_template_one_accumulate)))
    199199endef
  • trunk/kBuild/tools/GCC3.kmk

    r93 r94  
    2525#
    2626
    27 
    28 TOOL_GCC3                   := Generic GCC v3
     27TOOL_GCC3                    := Generic GCC v3
    2928
    3029TOOL_GCC3_CC                 := gcc$(HOSTSUFF_EXE)
     
    7372# @param        $(objsuff)  Object suffix.
    7473define TOOL_GCC3_COMPILE_C
    75 #$ (warning dbg: TOOL_GCC_COMPILE_C: target=$(target) source=$(source) obj=$(obj) dep=$(dep) flags=$(flags) defs=$(defs) incs=$(incs) dirdep=$(dirdep) outbase=$(outbase) objsuff=$(objsuff))
     74#$ (warning dbg: TOOL_GCC3_COMPILE_C: target=$(target) source=$(source) obj=$(obj) dep=$(dep) flags=$(flags) defs=$(defs) incs=$(incs) dirdep=$(dirdep) outbase=$(outbase) objsuff=$(objsuff))
    7675$(obj): $(dirdep) $(PATH_CURRENT)/$(source)
    7776        $(call MSG_L2,Compiling $$@ using GCC3)
     
    119118#
    120119# @param    $(outbase)  Output basename (full). Use this for list files and such.
    121 define TOOL_GCC_LINK_LIBRARY
     120define TOOL_GCC3_LINK_LIBRARY
    122121#$ (warning dbg: TOOL_GCC3_LINK_LIBRARY: target=$(target) lib=$(lib) objs=$(objs) deps=$(deps) flags=$(flags) dirdep=$(dirdep) outbase=$(outbase))
    123122$(lib): $(dirdep) $(objs) $(deps)
     
    125124        $(RM) -f $$@
    126125        $(TOOL_GCC3_AR) $(flags) $$@ $(objs)
     126        $(MKDIR) -p $(PATH_LIB)
     127        $(CP) $$@ $(PATH_LIB)/
    127128       
    128129endef
     
    155156        $(eval $(custom_post))
    156157endif   
     158        $(MKDIR) -p $(PATH_BIN)
     159        $(CP) $$@ $(PATH_BIN)/
    157160       
    158161endef
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette