summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2010-06-12 17:35:44 +0200
committerPhil Sutter <phil@nwl.cc>2010-06-12 18:00:49 +0200
commit2c5f2d9b3b3b26ecf783f30112fc6019c1c17167 (patch)
tree1ed98d8207e232e59fef027a4559daeaf2afbe61 /mk
parent02645c3876604612507880ae53603426a9cf25be (diff)
massive rewrite of the pkgmaker logic
When adjusting for auto-generated package/Config.in, I found out that the splitting into Config.in{,.lib,.kmod} done by pkgmaker was rather subversive to my approach. Categorisation of packages and subpackages should be done via package section, which is enabled by this patch for subpackages, too. Instead of filling up the package subdirectories, use a common directory package/pkgconfigs.d/ to contain all auto-generated Config.in files. In order to allow simple assumption from config symbol to actual package from within menuconfig (the path to the Config.in file containing the current config symbol is printed as part of the help text), put all generated Config.in files for a certain package into a common subdirectory. pkgmaker now saves each generated config symbol (excluding the flavours) into it's own file, therefore allowing to sort subpackages of a package into a different section.
Diffstat (limited to 'mk')
-rw-r--r--mk/package.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/mk/package.mk b/mk/package.mk
index b4b02d8a5..98c2ecda9 100644
--- a/mk/package.mk
+++ b/mk/package.mk
@@ -143,6 +143,7 @@ ALL_PKGOPTS+= $(1)
PKGNAME_$(1)= $(2)
PKGDEPS_$(1)= $(4)
PKGDESC_$(1)= $(5)
+PKGSECT_$(1)= $(6)
IPKG_$(1)= $(PACKAGE_DIR)/$(2)_$(3)_${CPU_ARCH}.${PKG_SUFFIX}
IDIR_$(1)= $(WRKDIR)/fake-${CPU_ARCH}/pkg-$(2)
ifneq (${ADK_PACKAGE_$(1)}${DEVELOPER},)