add PKG_HOST_ONLY variable to prevent target builds
[openwrt/svn-archive/archive.git] / include / package.mk
index 191dec9ca7a2edf384b2744c48e5fd78d9dff35a..c134f542ed14365ce0f5cd82c13f8874380d313b 100644 (file)
@@ -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