Changeset 393d271 in rtems
- Timestamp:
- 11/12/02 10:32:00 (21 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- df413e9
- Parents:
- fae851c
- Location:
- make
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
make/ChangeLog
rfae851c r393d271 1 2002-11-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 3 * custom/default.cfg: Remove RTEMS_BSP_SPECS. Remove reference to 4 obsolete Makefile. 5 * leaf.cfg: Various changes to LIBVARIANT processing. 6 * main.cfg: Ditto. 7 1 8 2002-11-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 9 -
make/custom/default.cfg
rfae851c r393d271 16 16 17 17 # use the inline functions instead of the macros 18 # ref: src/exec/generic/Makefile19 18 ifeq ($(RTEMS_USE_MACROS),yes) 20 19 INLINE=macros … … 28 27 CONFIG.CC = $(RTEMS_ROOT)/make/compilers/gcc-target-default.cfg 29 28 30 ## GCC specs extension file location31 RTEMS_BSP_SPECS = $(PROJECT_ROOT)/$(RTEMS_BSP)/lib/bsp_specs32 33 29 # Base name of start file 34 30 START_BASE=start -
make/leaf.cfg
rfae851c r393d271 35 35 MANAGERS := $(sort $(MANAGERS)) 36 36 37 # 38 # LIBSUFFIX_VA, will "index" into LIBSUFF-*-v macros and 39 # convert our ${ARCH} back into .a or _g.a or _p.a based on debug or profile. 40 # Useful for installing libraries. 41 # 42 43 LIBSUFFIX_OPTIMIZE_V= 44 LIBSUFFIX_DEBUG_V=_g 45 LIBSUFFIX_PROFILE_V=_p 46 47 LIB_VARIANT=$(LIBSUFFIX_$(VARIANT_V)_V) 48 LIBSUFFIX_VA = $(LIB_VARIANT).a 49 37 50 # Pull in the desired "target" compiler 38 51 # Programs built on the host use automake generated rules. … … 68 81 # 69 82 70 VARIANT- o-optimize-v =71 VARIANT- o-debug-v = debug72 VARIANT- o-profile-v = profile83 VARIANT-OPTIMIZE-v = 84 VARIANT-DEBUG-v = debug 85 VARIANT-PROFILE-v = profile 73 86 74 VARIANT_VA = $(VARIANT-$( ARCH)-v)87 VARIANT_VA = $(VARIANT-$(VARIANT_V)-v) 75 88 76 89 # … … 84 97 85 98 TARGET_VA = $(TARGET_$@_V) 86 87 #88 # LIBSUFFIX_VA, will "index" into LIBSUFF-*-v macros and89 # convert our ${ARCH} back into .a or _g.a or _p.a based on debug or profile.90 # Useful for installing libraries.91 #92 93 LIBSUFFIX_o-optimize_V=94 LIBSUFFIX_o-debug_V=_g95 LIBSUFFIX_o-profile_V=_p96 97 LIB_VARIANT=$(LIBSUFFIX_$(ARCH)_V)98 LIBSUFFIX_VA = $(LIB_VARIANT).a99 99 100 100 # -
make/main.cfg
rfae851c r393d271 6 6 # Make(1) configuration file include'd by all Makefile's 7 7 # 8 9 # 10 # Initial target for make(1) 11 # Once this is established we can safely include other targets 12 # within this make-include file. 13 # 14 15 default_target: all 8 16 9 17 # … … 17 25 PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools 18 26 19 # 20 # Target architecture; may be changed as per 'make "ARCH=debug"' 21 # This is where the object files get put. 22 # 27 ## translate VARIANT into VARIANT_V 28 VARIANT = OPTIMIZE 23 29 24 ifeq ($(VARIANT),) 25 ARCH=o-optimize 26 VARIANT= 27 else 28 ifeq ($(VARIANT),DEBUG) 29 ARCH=o-debug 30 VARIANT=DEBUG 31 endif 32 endif 30 VARIANT_OPTIMIZE_V = OPTIMIZE 31 VARIANT_DEBUG_V = DEBUG 32 VARIANT_PROFILE_V = PROFILE 33 VARIANT_optimize_V = OPTIMIZE 34 VARIANT_debug_V = DEBUG 35 VARIANT_profile_V = PROFILE 33 36 34 # 35 # Initial target for make(1) 36 # Once this is established we can safely include other targets 37 # within this make-include file. 38 # 37 VARIANT_V = $(VARIANT_$(VARIANT)_V) 39 38 40 default_target: all 39 ## Setup the variant build subdirectory 40 ARCH_OPTIMIZE_V = o-optimize 41 ARCH_DEBUG_V = o-debug 42 ARCH_PROFILE_V = o-profile 41 43 44 ARCH__V = $(ARCH_OPTIMIZE_V) 45 ARCH = $(ARCH_$(VARIANT_V)_V) 46 47 $(ARCH): 48 test -d ${ARCH} || mkdir $(ARCH) 42 49 # 43 50 # Default makefile name … … 65 72 $(TARGET_VARIANTS) 66 73 67 ${ARCH}:68 test -d ${ARCH} || mkdir ${ARCH}69 70 74 ifndef AUTOMAKE 71 75 distclean-generic:
Note: See TracChangeset
for help on using the changeset viewer.