|
|
@ -6,27 +6,31 @@ |
|
|
|
|
|
|
|
TARGET_MAKE_ENV = |
|
|
|
|
|
|
|
define TARGET_MAKE |
|
|
|
@$(call MESSAGE,"Compiling") |
|
|
|
$(foreach hook,$($(PKG)_PRE_COMPILE_HOOKS),$(call $(hook))$(sep)) |
|
|
|
$(Q)( \
|
|
|
|
define TARGET_MAKE_CMDS |
|
|
|
$(CHDIR)/$($(PKG)_DIR)/$($(PKG)_SUBDIR); \
|
|
|
|
$(TARGET_MAKE_ENV) $($(PKG)_MAKE_ENV) \
|
|
|
|
$($(PKG)_MAKE) $($(PKG)_MAKE_ARGS)\
|
|
|
|
$($(PKG)_MAKE_OPTS); \
|
|
|
|
) |
|
|
|
$($(PKG)_MAKE_OPTS) |
|
|
|
endef |
|
|
|
|
|
|
|
define TARGET_MAKE |
|
|
|
@$(call MESSAGE,"Compiling") |
|
|
|
$(foreach hook,$($(PKG)_PRE_COMPILE_HOOKS),$(call $(hook))$(sep)) |
|
|
|
$(Q)$(call $(PKG)_MAKE_CMDS) |
|
|
|
$(foreach hook,$($(PKG)_POST_COMPILE_HOOKS),$(call $(hook))$(sep)) |
|
|
|
endef |
|
|
|
|
|
|
|
define TARGET_MAKE_INSTALL |
|
|
|
@$(call MESSAGE,"Installing") |
|
|
|
$(foreach hook,$($(PKG)_PRE_INSTALL_HOOKS),$(call $(hook))$(sep)) |
|
|
|
$(Q)( \
|
|
|
|
define TARGET_MAKE_INSTALL_CMDS |
|
|
|
$(CHDIR)/$($(PKG)_DIR)/$($(PKG)_SUBDIR); \
|
|
|
|
$(TARGET_MAKE_ENV) $($(PKG)_MAKE_INSTALL_ENV) \
|
|
|
|
$($(PKG)_MAKE_INSTALL) $($(PKG)_MAKE_INSTALL_ARGS) DESTDIR=$(TARGET_DIR) \
|
|
|
|
$($(PKG)_MAKE_INSTALL_OPTS); \
|
|
|
|
) |
|
|
|
$($(PKG)_MAKE_INSTALL_OPTS) |
|
|
|
endef |
|
|
|
|
|
|
|
define TARGET_MAKE_INSTALL |
|
|
|
@$(call MESSAGE,"Installing") |
|
|
|
$(foreach hook,$($(PKG)_PRE_INSTALL_HOOKS),$(call $(hook))$(sep)) |
|
|
|
$(Q)$(call $(PKG)_MAKE_INSTALL_CMDS) |
|
|
|
$(foreach hook,$($(PKG)_POST_INSTALL_HOOKS),$(call $(hook))$(sep)) |
|
|
|
endef |
|
|
|
|
|
|
@ -43,27 +47,31 @@ endef |
|
|
|
|
|
|
|
HOST_MAKE_ENV = |
|
|
|
|
|
|
|
define HOST_MAKE |
|
|
|
@$(call MESSAGE,"Compiling") |
|
|
|
$(foreach hook,$($(PKG)_PRE_COMPILE_HOOKS),$(call $(hook))$(sep)) |
|
|
|
$(Q)( \
|
|
|
|
define HOST_MAKE_CMDS |
|
|
|
$(CHDIR)/$($(PKG)_DIR)/$($(PKG)_SUBDIR); \
|
|
|
|
$(HOST_MAKE_ENV) $($(PKG)_MAKE_ENV) \
|
|
|
|
$($(PKG)_MAKE) $($(PKG)_MAKE_ARGS)\
|
|
|
|
$($(PKG)_MAKE_OPTS); \
|
|
|
|
) |
|
|
|
$($(PKG)_MAKE_OPTS) |
|
|
|
endef |
|
|
|
|
|
|
|
define HOST_MAKE |
|
|
|
@$(call MESSAGE,"Compiling") |
|
|
|
$(foreach hook,$($(PKG)_PRE_COMPILE_HOOKS),$(call $(hook))$(sep)) |
|
|
|
$(Q)$(call $(PKG)_MAKE_CMDS) |
|
|
|
$(foreach hook,$($(PKG)_POST_COMPILE_HOOKS),$(call $(hook))$(sep)) |
|
|
|
endef |
|
|
|
|
|
|
|
define HOST_MAKE_INSTALL |
|
|
|
@$(call MESSAGE,"Installing") |
|
|
|
$(foreach hook,$($(PKG)_PRE_INSTALL_HOOKS),$(call $(hook))$(sep)) |
|
|
|
$(Q)( \
|
|
|
|
define HOST_MAKE_INSTALL_CMDS |
|
|
|
$(CHDIR)/$($(PKG)_DIR)/$($(PKG)_SUBDIR); \
|
|
|
|
$(HOST_MAKE_ENV) $($(PKG)_MAKE_INSTALL_ENV) \
|
|
|
|
$($(PKG)_MAKE_INSTALL) $($(PKG)_MAKE_INSTALL_ARGS) \
|
|
|
|
$($(PKG)_MAKE_INSTALL_OPTS); \
|
|
|
|
) |
|
|
|
$($(PKG)_MAKE_INSTALL_OPTS) |
|
|
|
endef |
|
|
|
|
|
|
|
define HOST_MAKE_INSTALL |
|
|
|
@$(call MESSAGE,"Installing") |
|
|
|
$(foreach hook,$($(PKG)_PRE_INSTALL_HOOKS),$(call $(hook))$(sep)) |
|
|
|
$(Q)$(call $(PKG)_MAKE_INSTALL_CMDS) |
|
|
|
$(foreach hook,$($(PKG)_POST_INSTALL_HOOKS),$(call $(hook))$(sep)) |
|
|
|
endef |
|
|
|
|
|
|
|