Changeset 14906


Ignore:
Timestamp:
2009-03-17T03:37:04+01:00 (8 years ago)
Author:
nbd
Message:

add PKG_HOST_ONLY variable to prevent target builds

Location:
trunk/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/host-build.mk

    r14905 r14906  
    9898  define HostBuild 
    9999  $(if $(QUILT),$(Host/Quilt)) 
    100   $(if $(STAMP_PREPARED),,$(if $(strip $(PKG_SOURCE_URL)),$(call Download,default))) 
     100  $(if $(if $(PKG_HOST_ONLY),,$(STAMP_PREPARED)),,$(if $(strip $(PKG_SOURCE_URL)),$(call Download,default))) 
    101101  $(if $(DUMP),,$(call HostHost/Autoclean)) 
    102102 
  • trunk/include/package.mk

    r14905 r14906  
    157157    ) \ 
    158158  ) 
    159   $(if $(DUMP),,$(call Build/DefaultTargets,$(1))) 
     159  $(if $(PKG_HOST_ONLY)$(DUMP),,$(call Build/DefaultTargets,$(1))) 
    160160endef 
    161161 
Note: See TracChangeset for help on using the changeset viewer.