Changeset 1738

Show
Ignore:
Timestamp:
01/23/07 19:21:22 (2 years ago)
Author:
tg
Message:

rework the 'which packages to build' logic according to
Message-ID: <Pine.BSM.4.64L.0701231812180.26685@herc.mirbsd.org>
and the rest of the thread

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/mk/package.mk

    r1686 r1738  
    4848define PKG_template 
    4949IPKG_$(1)=      $(PACKAGE_DIR)/$(2)_$(3)_$(4).ipk 
     50IDIR_$(1)=      $(WRKDIR)/fake-${ARCH}/ipkg-$(2) 
     51ifneq (${FWRT_PACKAGE_$(1)}${DEVELOPER},) 
    5052ALL_IPKGS+=     $$(IPKG_$(1)) 
    51 IDIR_$(1)=      $(WRKDIR)/fake-${ARCH}/ipkg-$(2) 
    5253ALL_IDIRS+=     $${IDIR_$(1)} 
     54endif 
    5355INFO_$(1)=      $(IPKG_STATE_DIR)/info/$(2).list 
    5456 
    55 ifneq ($(FWRT_PACKAGE_$(1)),) 
    56 compile-targets: $$(IPKG_$(1)) 
    57 endif 
    58 ifneq ($(DEVELOPER),) 
    59 compile-targets: $$(IPKG_$(1)) 
    60 endif 
    6157ifeq ($(FWRT_PACKAGE_$(1)),y) 
    6258install-targets: $$(INFO_$(1))