|
|
@ -12,7 +12,7 @@ define TARGET_MAKE |
|
|
|
$(Q)( \
|
|
|
|
$(CHDIR)/$($(PKG)_DIR)/$($(PKG)_SUBDIR); \
|
|
|
|
$(TARGET_MAKE_ENV) $($(PKG)_MAKE_ENV) \
|
|
|
|
$(MAKE) \
|
|
|
|
$($(PKG)_MAKE) \
|
|
|
|
$($(PKG)_MAKE_OPTS); \
|
|
|
|
) |
|
|
|
$(foreach hook,$($(PKG)_POST_COMPILE_HOOKS),$(call $(hook))$(sep)) |
|
|
@ -23,9 +23,9 @@ define TARGET_MAKE_INSTALL |
|
|
|
$(foreach hook,$($(PKG)_PRE_INSTALL_HOOKS),$(call $(hook))$(sep)) |
|
|
|
$(Q)( \
|
|
|
|
$(CHDIR)/$($(PKG)_DIR)/$($(PKG)_SUBDIR); \
|
|
|
|
$(TARGET_MAKE_ENV) $($(PKG)_MAKE_ENV) \
|
|
|
|
$(MAKE) install DESTDIR=$(TARGET_DIR) \
|
|
|
|
$($(PKG)_MAKE_OPTS); \
|
|
|
|
$(TARGET_MAKE_ENV) $($(PKG)_MAKE_INSTALL_ENV) \
|
|
|
|
$($(PKG)_MAKE) install DESTDIR=$(TARGET_DIR) \
|
|
|
|
$($(PKG)_MAKE_INSTALL_OPTS); \
|
|
|
|
) |
|
|
|
$(foreach hook,$($(PKG)_POST_INSTALL_HOOKS),$(call $(hook))$(sep)) |
|
|
|
endef |
|
|
@ -49,7 +49,7 @@ define HOST_MAKE |
|
|
|
$(Q)( \
|
|
|
|
$(CHDIR)/$($(PKG)_DIR)/$($(PKG)_SUBDIR); \
|
|
|
|
$(HOST_MAKE_ENV) $($(PKG)_MAKE_ENV) \
|
|
|
|
$(MAKE) \
|
|
|
|
$($(PKG)_MAKE) \
|
|
|
|
$($(PKG)_MAKE_OPTS); \
|
|
|
|
) |
|
|
|
$(foreach hook,$($(PKG)_POST_COMPILE_HOOKS),$(call $(hook))$(sep)) |
|
|
@ -60,9 +60,9 @@ define HOST_MAKE_INSTALL |
|
|
|
$(foreach hook,$($(PKG)_PRE_INSTALL_HOOKS),$(call $(hook))$(sep)) |
|
|
|
$(Q)( \
|
|
|
|
$(CHDIR)/$($(PKG)_DIR)/$($(PKG)_SUBDIR); \
|
|
|
|
$(HOST_MAKE_ENV) $($(PKG)_MAKE_ENV) \
|
|
|
|
$(MAKE) install \
|
|
|
|
$($(PKG)_MAKE_OPTS); \
|
|
|
|
$(HOST_MAKE_ENV) $($(PKG)_MAKE_INSTALL_ENV) \
|
|
|
|
$($(PKG)_MAKE) install \
|
|
|
|
$($(PKG)_MAKE_INSTALL_OPTS); \
|
|
|
|
) |
|
|
|
$(foreach hook,$($(PKG)_POST_INSTALL_HOOKS),$(call $(hook))$(sep)) |
|
|
|
endef |
|
|
|