make-rules/configure.mk
changeset 16 33aaaec59991
parent 12 41aeb1fd8c2d
child 38 cd00ea74156e
equal deleted inserted replaced
15:21f7a7ab78ba 16:33aaaec59991
    68 
    68 
    69 # configure the unpacked source for building 32 and 64 bit version
    69 # configure the unpacked source for building 32 and 64 bit version
    70 $(COMPONENT_SRC)/build-%/.configured:	$(COMPONENT_SRC)/.prep
    70 $(COMPONENT_SRC)/build-%/.configured:	$(COMPONENT_SRC)/.prep
    71 	($(RM) -rf $(@D) ; $(MKDIR) $(@D))
    71 	($(RM) -rf $(@D) ; $(MKDIR) $(@D))
    72 	$(COMPONENT_PRE_CONFIGURE_ACTION)
    72 	$(COMPONENT_PRE_CONFIGURE_ACTION)
    73 	(cd $(@D) ; env - $(CONFIGURE_ENV) $(CONFIG_SHELL) \
    73 	(cd $(@D) ; $(ENV) $(CONFIGURE_ENV) $(CONFIG_SHELL) \
    74 		../configure $(CONFIGURE_OPTIONS) $(CONFIGURE_OPTIONS.$(BITS)))
    74 		../configure $(CONFIGURE_OPTIONS) $(CONFIGURE_OPTIONS.$(BITS)))
    75 	$(COMPONENT_POST_CONFIGURE_ACTION)
    75 	$(COMPONENT_POST_CONFIGURE_ACTION)
    76 	$(TOUCH) [email protected]
    76 	$(TOUCH) [email protected]
    77 
    77 
    78 # build the configured source
    78 # build the configured source
    79 $(COMPONENT_SRC)/build-%/.built:	$(COMPONENT_SRC)/build-%/.configured
    79 $(COMPONENT_SRC)/build-%/.built:	$(COMPONENT_SRC)/build-%/.configured
    80 	$(COMPONENT_PRE_BUILD_ACTION)
    80 	$(COMPONENT_PRE_BUILD_ACTION)
    81 	(cd $(@D) ; $(COMPONENT_BUILD_ENV) $(GMAKE) $(COMPONENT_BUILD_TARGETS))
    81 	(cd $(@D) ; $(ENV) $(COMPONENT_BUILD_ENV) \
       
    82 		$(GMAKE) $(COMPONENT_BUILD_TARGETS))
    82 	$(COMPONENT_POST_BUILD_ACTION)
    83 	$(COMPONENT_POST_BUILD_ACTION)
    83 	$(TOUCH) [email protected]
    84 	$(TOUCH) [email protected]
    84 
    85 
    85 # install the built source into a prototype area
    86 # install the built source into a prototype area
    86 $(COMPONENT_SRC)/build-%/.installed:	$(COMPONENT_SRC)/build-%/.built
    87 $(COMPONENT_SRC)/build-%/.installed:	$(COMPONENT_SRC)/build-%/.built
    87 	$(COMPONENT_PRE_INSTALL_ACTION)
    88 	$(COMPONENT_PRE_INSTALL_ACTION)
    88 	(cd $(@D) ; $(COMPONENT_INSTALL_ENV) $(GMAKE) \
    89 	(cd $(@D) ; $(ENV) $(COMPONENT_INSTALL_ENV) $(GMAKE) \
    89 			DESTDIR=$(PROTO_DIR) $(COMPONENT_INSTALL_TARGETS))
    90 			DESTDIR=$(PROTO_DIR) $(COMPONENT_INSTALL_TARGETS))
    90 	$(COMPONENT_POST_INSTALL_ACTION)
    91 	$(COMPONENT_POST_INSTALL_ACTION)
    91 	$(TOUCH) [email protected]
    92 	$(TOUCH) [email protected]