mirror of
https://github.com/immortalwrt/immortalwrt.git
synced 2025-08-11 06:11:53 +08:00
add PKG_HOST_ONLY variable to prevent target builds
SVN-Revision: 14906
This commit is contained in:
@ -97,7 +97,7 @@ endef
|
|||||||
ifndef DUMP
|
ifndef DUMP
|
||||||
define HostBuild
|
define HostBuild
|
||||||
$(if $(QUILT),$(Host/Quilt))
|
$(if $(QUILT),$(Host/Quilt))
|
||||||
$(if $(STAMP_PREPARED),,$(if $(strip $(PKG_SOURCE_URL)),$(call Download,default)))
|
$(if $(if $(PKG_HOST_ONLY),,$(STAMP_PREPARED)),,$(if $(strip $(PKG_SOURCE_URL)),$(call Download,default)))
|
||||||
$(if $(DUMP),,$(call HostHost/Autoclean))
|
$(if $(DUMP),,$(call HostHost/Autoclean))
|
||||||
|
|
||||||
$(HOST_STAMP_PREPARED):
|
$(HOST_STAMP_PREPARED):
|
||||||
|
@ -156,7 +156,7 @@ endif
|
|||||||
), $(BuildTarget/$(target)) \
|
), $(BuildTarget/$(target)) \
|
||||||
) \
|
) \
|
||||||
)
|
)
|
||||||
$(if $(DUMP),,$(call Build/DefaultTargets,$(1)))
|
$(if $(PKG_HOST_ONLY)$(DUMP),,$(call Build/DefaultTargets,$(1)))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define pkg_install_files
|
define pkg_install_files
|
||||||
|
Reference in New Issue
Block a user