aboutsummaryrefslogtreecommitdiffstats
path: root/include/package.mk
diff options
context:
space:
mode:
Diffstat (limited to 'include/package.mk')
-rw-r--r--include/package.mk9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/package.mk b/include/package.mk
index d90bec8872..a9819642dd 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -80,14 +80,15 @@ define BuildPackage
$(eval $(Package/Default))
$(eval $(Package/$(1)))
-# <HACK> Support obsolete DESCRIPTION field
+ifdef DESCRIPTION
+$$(error DESCRIPTION:= is obselete, use Package/PKG_NAME/description)
+endif
+
ifndef Package/$(1)/description
define Package/$(1)/description
-$(TITLE)$(subst \,
-,\ $(DESCRIPTION))
+ $(TITLE)
endef
endif
-# </HACK>
$(foreach FIELD, TITLE CATEGORY PRIORITY SECTION VERSION,
ifeq ($($(FIELD)),)