diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-03-17 02:37:04 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-03-17 02:37:04 +0000 |
commit | c9882fd995455172483315a193c42513c8bba30a (patch) | |
tree | bd690c71f3921828525e43afce743089073166e0 /include | |
parent | e83c4ff72150271fc703f362b0b6acee11d51d8c (diff) |
add PKG_HOST_ONLY variable to prevent target builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14906 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r-- | include/host-build.mk | 2 | ||||
-rw-r--r-- | include/package.mk | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/host-build.mk b/include/host-build.mk index 892cde91f..a6118fb06 100644 --- a/include/host-build.mk +++ b/include/host-build.mk @@ -97,7 +97,7 @@ endef ifndef DUMP define HostBuild $(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)) $(HOST_STAMP_PREPARED): diff --git a/include/package.mk b/include/package.mk index 191dec9ca..c134f542e 100644 --- a/include/package.mk +++ b/include/package.mk @@ -156,7 +156,7 @@ endif ), $(BuildTarget/$(target)) \ ) \ ) - $(if $(DUMP),,$(call Build/DefaultTargets,$(1))) + $(if $(PKG_HOST_ONLY)$(DUMP),,$(call Build/DefaultTargets,$(1))) endef define pkg_install_files |