add PKG_HOST_ONLY variable to prevent target builds
[openwrt.git] / include / package.mk
index 191dec9..c134f54 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
This page took 0.019226 seconds and 4 git commands to generate.