export CONFIG_SITE:=$(INCLUDE_DIR)/site/$(REAL_GNU_TARGET_NAME)
-define shvar
-V_$(subst .,_,$(subst -,_,$(subst /,_,$(1))))
-endef
-
-define shexport
-$(call shvar,$(1))=$$(call $(1))
-export $(call shvar,$(1))
-endef
-
define Build/DefaultTargets
ifeq ($(DUMP),)
ifeq ($(CONFIG_AUTOREBUILD),y)
$(call Build/Prepare/Default,)
endef
-define Build/Configure/Touch
- (cd $(PKG_BUILD_DIR) ; \
- touch configure.in ; \
- touch aclocal.m4 ; \
- touch Makefile.in ; \
- touch configure ; \
- touch acinclude.m4 ; \
- touch config.h.in ; \
- touch configure.ac ; \
- touch stamp-h.in ; \
- );
-endef
-
define Build/Configure/Default
- $(call Build/Configure/Touch)
(cd $(PKG_BUILD_DIR)/$(strip $(3)); \
if [ -x configure ]; then \
$(TARGET_CONFIGURE_OPTS) \