Changeset 9307


Ignore:
Timestamp:
2007-10-14T06:49:05+02:00 (10 years ago)
Author:
blogic
Message:

DESCRIPTION:= is obselete, so complain if it is used and use TITLE if no description is set

Location:
trunk/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/package-defaults.mk

    r9062 r9307  
    3131  SUBMENUDEP:= 
    3232  TITLE:= 
    33   DESCRIPTION:= 
    3433  KCONFIG:= 
    3534endef 
  • trunk/include/package.mk

    r9192 r9307  
    8181  $(eval $(Package/$(1))) 
    8282 
    83 # <HACK> Support obsolete DESCRIPTION field 
     83ifdef DESCRIPTION 
     84$$(error DESCRIPTION:= is obselete, use Package/PKG_NAME/description) 
     85endif 
     86 
    8487ifndef Package/$(1)/description 
    8588define Package/$(1)/description 
    86 $(TITLE)$(subst \, 
    87 ,\ $(DESCRIPTION)) 
     89        $(TITLE) 
    8890endef 
    8991endif 
    90 # </HACK> 
    9192 
    9293  $(foreach FIELD, TITLE CATEGORY PRIORITY SECTION VERSION, 
Note: See TracChangeset for help on using the changeset viewer.