-ifneq ($(CONFIG_PACKAGE_luci-core),)
- PKG_SELECTED_MODULES+=libs/core
-endif
-ifneq ($(CONFIG_PACKAGE_luci-cbi),)
- PKG_SELECTED_MODULES+=libs/cbi
-endif
-ifneq ($(CONFIG_PACKAGE_luci-fastindex),)
- PKG_SELECTED_MODULES+=libs/fastindex
-endif
-ifneq ($(CONFIG_PACKAGE_luci-http),)
- PKG_SELECTED_MODULES+=libs/http
-endif
-ifneq ($(CONFIG_PACKAGE_luci-httpclient),)
- PKG_SELECTED_MODULES+=libs/httpclient
-endif
-ifneq ($(CONFIG_PACKAGE_luci-ipkg),)
- PKG_SELECTED_MODULES+=libs/ipkg
-endif
-ifneq ($(CONFIG_PACKAGE_luci-json),)
- PKG_SELECTED_MODULES+=libs/json
-endif
-ifneq ($(CONFIG_PACKAGE_luci-lmo),)
- PKG_SELECTED_MODULES+=libs/lmo
-endif
-ifneq ($(CONFIG_PACKAGE_luci-luanet),)
- PKG_SELECTED_MODULES+=libs/luanet
-endif
-ifneq ($(CONFIG_PACKAGE_luci-lucid),)
- PKG_SELECTED_MODULES+=libs/lucid libs/lucid-http
-endif
-ifneq ($(CONFIG_PACKAGE_luci-nixio),)
- PKG_SELECTED_MODULES+=libs/nixio
-endif
-ifneq ($(CONFIG_PACKAGE_luci-px5g),)
- PKG_SELECTED_MODULES+=libs/px5g
-endif
-ifneq ($(CONFIG_PACKAGE_luci-uci),)
- PKG_SELECTED_MODULES+=libs/uci
-endif
-ifneq ($(CONFIG_PACKAGE_luci-sys),)
- PKG_SELECTED_MODULES+=libs/sys
-endif
-ifneq ($(CONFIG_PACKAGE_luci-web),)
- PKG_SELECTED_MODULES+=libs/web
-endif
-ifneq ($(CONFIG_PACKAGE_luci-uvl),)
- PKG_SELECTED_MODULES+=libs/uvl
-endif
-
-ifneq ($(CONFIG_PACKAGE_luci-admin-core),)
- PKG_SELECTED_MODULES+=modules/admin-core
-endif
-ifneq ($(CONFIG_PACKAGE_luci-admin-mini),)
- PKG_SELECTED_MODULES+=modules/admin-mini
-endif
-ifneq ($(CONFIG_PACKAGE_luci-admin-full),)
- PKG_SELECTED_MODULES+=modules/admin-full
-endif
-ifneq ($(CONFIG_PACKAGE_luci-admin-rpc),)
- PKG_SELECTED_MODULES+=modules/rpc
-endif
-ifneq ($(CONFIG_PACKAGE_luci-mod-freifunk),)
- PKG_SELECTED_MODULES+=modules/freifunk
-endif
-
-ifneq ($(CONFIG_PACKAGE_luci-freifunk-community),)
- PKG_SELECTED_MODULES+=applications/freifunk-community
-endif
-
-ifneq ($(CONFIG_PACKAGE_luci-app-ffwizard-leipzig),)
- PKG_SELECTED_MODULES+=applications/luci-ffwizard-leipzig
-endif
-ifneq ($(CONFIG_PACKAGE_luci-app-siitwizard),)
- PKG_SELECTED_MODULES+=applications/luci-siitwizard
-endif
-ifneq ($(CONFIG_PACKAGE_luci-app-firewall),)
- PKG_SELECTED_MODULES+=applications/luci-fw
-endif
-ifneq ($(CONFIG_PACKAGE_luci-app-olsr),)
- PKG_SELECTED_MODULES+=applications/luci-olsr
-endif
-ifneq ($(CONFIG_PACKAGE_luci-app-qos),)
- PKG_SELECTED_MODULES+=applications/luci-qos
-endif
-ifneq ($(CONFIG_PACKAGE_luci-app-splash),)
- PKG_SELECTED_MODULES+=applications/luci-splash
-endif
-ifneq ($(CONFIG_PACKAGE_luci-app-statistics),)
- PKG_SELECTED_MODULES+=applications/luci-statistics
-endif
-ifneq ($(CONFIG_PACKAGE_luci-app-upnp),)
- PKG_SELECTED_MODULES+=applications/luci-upnp
-endif
-ifneq ($(CONFIG_PACKAGE_luci-app-ntpc),)
- PKG_SELECTED_MODULES+=applications/luci-ntpc
-endif
-ifneq ($(CONFIG_PACKAGE_luci-app-ddns),)
- PKG_SELECTED_MODULES+=applications/luci-ddns
-endif
-ifneq ($(CONFIG_PACKAGE_luci-app-samba),)
- PKG_SELECTED_MODULES+=applications/luci-samba
-endif
-ifneq ($(CONFIG_PACKAGE_luci-app-uvc_streamer),)
- PKG_SELECTED_MODULES+=applications/luci-uvc_streamer
-endif
-ifneq ($(CONFIG_PACKAGE_luci-app-mmc_over_gpio),)
- PKG_SELECTED_MODULES+=applications/luci-mmc_over_gpio
-endif
-ifneq ($(CONFIG_PACKAGE_luci-app-p910nd),)
- PKG_SELECTED_MODULES+=applications/luci-p910nd
-endif
-ifneq ($(CONFIG_PACKAGE_luci-app-ushare),)
- PKG_SELECTED_MODULES+=applications/luci-ushare
-endif
-ifneq ($(CONFIG_PACKAGE_luci-app-hd_idle),)
- PKG_SELECTED_MODULES+=applications/luci-hd_idle
-endif
-ifneq ($(CONFIG_PACKAGE_luci-app-tinyproxy),)
- PKG_SELECTED_MODULES+=applications/luci-tinyproxy
-endif
-ifneq ($(CONFIG_PACKAGE_luci-app-initmgr),)
- PKG_SELECTED_MODULES+=applications/luci-initmgr
-endif
-ifneq ($(CONFIG_PACKAGE_luci-app-livestats),)
- PKG_SELECTED_MODULES+=applications/luci-livestats
-endif
-ifneq ($(CONFIG_PACKAGE_luci-app-asterisk),)
- PKG_SELECTED_MODULES+=applications/luci-asterisk
-endif
-ifneq ($(CONFIG_PACKAGE_luci-app-polipo),)
- PKG_SELECTED_MODULES+=applications/luci-polipo
-endif
-ifneq ($(CONFIG_PACKAGE_luci-app-openvpn),)
- PKG_SELECTED_MODULES+=applications/luci-openvpn
-endif
-ifneq ($(CONFIG_PACKAGE_luci-app-p2pblock),)
- PKG_SELECTED_MODULES+=applications/luci-p2pblock
-endif
-
-
-ifneq ($(CONFIG_PACKAGE_luci-sgi-cgi),)
- PKG_SELECTED_MODULES+=libs/sgi-cgi
-endif
-ifneq ($(CONFIG_PACKAGE_luci-sgi-luci),)
- PKG_SELECTED_MODULES+=libs/sgi-luci
-endif