I'm trying to figure out how to modify the set of packages included in the 
NSLU2 Target Profile on the current build, r37919, and I'm having no joy. Maybe 
I'm misunderstanding it, hence my email.

Here is the profile file for the NSLU2:

---
#
# Copyright (C) 2006-2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

define Profile/NSLU2
  NAME:=Linksys NSLU2
  PACKAGES:=-wpad-mini -kmod-ath5k kmod-scsi-core \
        kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-storage \
        kmod-fs-ext2 kmod-fs-ext3
endef

define Profile/NSLU2/Description
        Package set optimized for the Linksys NSLU2
endef
$(eval $(call Profile,NSLU2))
---

I interpret this to mean that it's removing wpad-mini and kmod-ath5k and adding 
kmod-scsi-core and the other kernel packages to the standard build.

However, that doesn't seem to happen. If I do ./scripts/diffconfig.sh, I get 
this:

mike@ubuntu:~/openwrt/reference$ ./scripts/diffconfig.sh 
CONFIG_TARGET_ixp4xx=y
CONFIG_TARGET_ixp4xx_generic=y
CONFIG_TARGET_ixp4xx_generic_NSLU2=y
CONFIG_PACKAGE_MAC80211_DEBUGFS=y
CONFIG_PACKAGE_MAC80211_MESH=y
CONFIG_PACKAGE_iw=y
CONFIG_PACKAGE_kmod-ath=y
CONFIG_PACKAGE_kmod-ath5k=y
CONFIG_PACKAGE_kmod-cfg80211=y
CONFIG_PACKAGE_kmod-crypto-aes=y
CONFIG_PACKAGE_kmod-crypto-arc4=y
CONFIG_PACKAGE_kmod-crypto-core=y
CONFIG_PACKAGE_kmod-crypto-hash=y
CONFIG_PACKAGE_kmod-crypto-manager=y
CONFIG_PACKAGE_kmod-crypto-pcompress=y
CONFIG_PACKAGE_kmod-mac80211=y
# CONFIG_PACKAGE_kmod-nls-base is not set
# CONFIG_PACKAGE_kmod-scsi-core is not set
# CONFIG_PACKAGE_kmod-usb-core is not set
# CONFIG_PACKAGE_kmod-usb-ohci is not set
# CONFIG_PACKAGE_kmod-usb-storage is not set
# CONFIG_PACKAGE_kmod-usb2 is not set
CONFIG_PACKAGE_wpad-mini=y

Oddly, as well as not setting kmod-usb-core to "y" as I would expect, 
additionally it is setting wpad-mini and kmod-ath5k to "y" despite being asked, 
if I understand correctly, to not include them.

Can anybody tell me what's going on -- am I misunderstanding the use and 
significance of Target Profile file, or is there a real problem?

Regards
Mike
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to