Changeset 1fdc990 in rtems
- Timestamp:
- 02/18/99 17:46:59 (23 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 011677f
- Parents:
- 6b9aaf7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/Makefile.in
r6b9aaf7 r1fdc990 63 63 build-tools update-tools 64 64 65 BUILD_DIRS = ${CREATE_DIRS:%=$(PROJECT_ROOT)/$(RTEMS_BSP)/%} 66 65 67 # Make all/install must include 'env' 66 68 # if something is added to TARGET_VARIANTS, then account for it here … … 104 106 .PHONY: dirs clean_wrapup clean_dirs clean_tools clean_modules env install 105 107 106 dirs:107 -$(MKDIR) $ {CREATE_DIRS:%=$(PROJECT_ROOT)/$(RTEMS_BSP)/%}108 $(BUILD_DIRS): 109 -$(MKDIR) $(BUILD_DIRS) 108 110 if test -d $(PROJECT_ROOT)/c/src/lib/libhwapi; then \ 109 111 (cd $(PROJECT_ROOT)/c/src/lib/libhwapi ; $(MAKE) mkdirs) \ 110 112 fi 113 114 dirs: $(BUILD_DIRS) 111 115 112 116 distclean: clobber -
make/leaf.cfg
r6b9aaf7 r1fdc990 127 127 $(RM) -r $(CLOBBER_ADDITIONS) a.out 128 128 129 # Until RTEMS_CPU is removed from all the make configuration files,130 # this will need to be here to transform hppa1.1 into hppa1_1 to131 # make it a valid cpp symbol. At some point in the near future,132 # targopts.h should not define RTEMS_CPU. As best I can tell,133 # gcc cpp predefines eliminate the need for RTEMS_CPU_MODEL134 # on some families but not on others. For example, the i386135 # family does not give us enough information from the predefines.136 RTEMS_CPU_DEFINED=$(subst .,_,$(RTEMS_CPU))137 138 # make the target dependent options file139 $(ARCH)/targopts.h-tmp: FORCE140 @echo "/* target board dependent options file */" >$@141 @echo "/* automatically generated -- DO NOT EDIT!! */" >>$@142 @echo >>$@143 @echo "#ifndef __TARGET_OPTIONS_h" >>$@144 @echo "#define __TARGET_OPTIONS_h" >>$@145 @echo >>$@146 @echo "#ifdef $(RTEMS_CPU_DEFINED)" >>$@147 @echo "#undef $(RTEMS_CPU_DEFINED)" >>$@148 @echo "#endif" >>$@149 @echo "#define $(RTEMS_CPU_DEFINED) 1" >>$@150 @echo >>$@151 @echo "#ifdef $(RTEMS_CPU_MODEL)" >>$@152 @echo "#undef $(RTEMS_CPU_MODEL)" >>$@153 @echo "#endif" >>$@154 @echo "#define $(RTEMS_CPU_MODEL) 1" >>$@155 @echo >>$@156 @echo "#ifdef $(RTEMS_BSP)" >>$@157 @echo "#undef $(RTEMS_BSP)" >>$@158 @echo "#endif" >>$@159 @echo "#define $(RTEMS_BSP) 1" >>$@160 @echo >>$@161 @$(make-target-options)162 ifeq (${RTEMS_USE_MACROS},yes)163 @echo "#define USE_MACROS 1" >>$@164 else165 @echo "#define USE_INLINES 1" >>$@166 endif167 ifeq ($(RTEMS_HAS_MULTIPROCESSING),yes)168 @echo "#define RTEMS_MULTIPROCESSING 1" >>$@169 endif170 ifeq ($(RTEMS_HAS_POSIX_API),yes)171 @echo "#define RTEMS_POSIX_API 1" >>$@172 endif173 ifeq ($(RTEMS_USE_NEWLIB),yes)174 @echo "#define RTEMS_NEWLIB 1" >>$@175 @echo "#define MALLOC_PROVIDED 1" >>$@176 endif177 @echo >>$@178 @echo "#endif" >>$@179 180 129 ifeq ($(RTEMS_BSP),bare) 181 130 $(ARCH)/bsp_specs.tmp: FORCE
Note: See TracChangeset
for help on using the changeset viewer.