< prev index next >

make/linux/makefiles/buildtree.make

Print this page




 180 
 181 $(SIMPLE_DIRS):
 182         $(QUIETLY) mkdir -p $@
 183 
 184 # Convenience macro which takes a source relative path, applies $(1) to the
 185 # absolute path, and then replaces $(GAMMADIR) in the result with a
 186 # literal "$(GAMMADIR)/" suitable for inclusion in a Makefile.
 187 gamma-path=$(subst $(GAMMADIR),\$$(GAMMADIR),$(call $(1),$(HS_COMMON_SRC)/$(2)))
 188 
 189 # This bit is needed to enable local rebuilds.
 190 # Unless the makefile itself sets LP64, any environmental
 191 # setting of LP64 will interfere with the build.
 192 LP64_SETTING/32 = LP64 = \#empty
 193 LP64_SETTING/64 = LP64 = 1
 194 
 195 DATA_MODE/i486 = 32
 196 DATA_MODE/sparc = 32
 197 DATA_MODE/sparcv9 = 64
 198 DATA_MODE/amd64 = 64
 199 DATA_MODE/ppc64 = 64

 200 
 201 DATA_MODE = $(DATA_MODE/$(BUILDARCH))
 202 
 203 flags.make: $(BUILDTREE_MAKE) ../shared_dirs.lst
 204         @echo Creating $@ ...
 205         $(QUIETLY) ( \
 206         $(BUILDTREE_COMMENT); \
 207         echo; \
 208         echo "Platform_file = $(PLATFORM_FILE)" | sed -e 's|$(HS_ALT_MAKE)|$$(HS_ALT_MAKE)|' -e 's|$(GAMMADIR)|$$(GAMMADIR)|'; \
 209         sed -n '/=/s/^ */Platform_/p' < $(PLATFORM_FILE); \
 210         echo; \
 211         echo "GAMMADIR = $(GAMMADIR)"; \
 212         echo "HS_ALT_MAKE = $(HS_ALT_MAKE)"; \
 213         echo "OSNAME = $(OSNAME)"; \
 214         echo "SYSDEFS = \$$(Platform_sysdefs)"; \
 215         echo "SRCARCH = $(SRCARCH)"; \
 216         echo "BUILDARCH = $(BUILDARCH)"; \
 217         echo "LIBARCH = $(LIBARCH)"; \
 218         echo "TARGET = $(TARGET)"; \
 219         echo "HS_BUILD_VER = $(HS_BUILD_VER)"; \




 180 
 181 $(SIMPLE_DIRS):
 182         $(QUIETLY) mkdir -p $@
 183 
 184 # Convenience macro which takes a source relative path, applies $(1) to the
 185 # absolute path, and then replaces $(GAMMADIR) in the result with a
 186 # literal "$(GAMMADIR)/" suitable for inclusion in a Makefile.
 187 gamma-path=$(subst $(GAMMADIR),\$$(GAMMADIR),$(call $(1),$(HS_COMMON_SRC)/$(2)))
 188 
 189 # This bit is needed to enable local rebuilds.
 190 # Unless the makefile itself sets LP64, any environmental
 191 # setting of LP64 will interfere with the build.
 192 LP64_SETTING/32 = LP64 = \#empty
 193 LP64_SETTING/64 = LP64 = 1
 194 
 195 DATA_MODE/i486 = 32
 196 DATA_MODE/sparc = 32
 197 DATA_MODE/sparcv9 = 64
 198 DATA_MODE/amd64 = 64
 199 DATA_MODE/ppc64 = 64
 200 DATA_MODE/aarch64 = 64
 201 
 202 DATA_MODE = $(DATA_MODE/$(BUILDARCH))
 203 
 204 flags.make: $(BUILDTREE_MAKE) ../shared_dirs.lst
 205         @echo Creating $@ ...
 206         $(QUIETLY) ( \
 207         $(BUILDTREE_COMMENT); \
 208         echo; \
 209         echo "Platform_file = $(PLATFORM_FILE)" | sed -e 's|$(HS_ALT_MAKE)|$$(HS_ALT_MAKE)|' -e 's|$(GAMMADIR)|$$(GAMMADIR)|'; \
 210         sed -n '/=/s/^ */Platform_/p' < $(PLATFORM_FILE); \
 211         echo; \
 212         echo "GAMMADIR = $(GAMMADIR)"; \
 213         echo "HS_ALT_MAKE = $(HS_ALT_MAKE)"; \
 214         echo "OSNAME = $(OSNAME)"; \
 215         echo "SYSDEFS = \$$(Platform_sysdefs)"; \
 216         echo "SRCARCH = $(SRCARCH)"; \
 217         echo "BUILDARCH = $(BUILDARCH)"; \
 218         echo "LIBARCH = $(LIBARCH)"; \
 219         echo "TARGET = $(TARGET)"; \
 220         echo "HS_BUILD_VER = $(HS_BUILD_VER)"; \


< prev index next >