summaryrefslogtreecommitdiff
path: root/packages/apex
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2006-11-13 12:32:18 +0000
committerRod Whitby <rod@whitby.id.au>2006-11-13 12:32:18 +0000
commitb59f722c216b73598c4c5fd7504a94dd966410cb (patch)
tree23fa4bc2b16a788c124289318520c5ff71299664 /packages/apex
parent006eecf9769374d14c65103ef358119e115f1193 (diff)
apex: now works for nslu2
Diffstat (limited to 'packages/apex')
-rw-r--r--packages/apex/apex_1.4.7.bb (renamed from packages/apex/apex_1.4.5.bb)17
-rw-r--r--packages/apex/nslu2/defconfig13
2 files changed, 17 insertions, 13 deletions
diff --git a/packages/apex/apex_1.4.5.bb b/packages/apex/apex_1.4.7.bb
index 35d772aa0b..0a7d5520fc 100644
--- a/packages/apex/apex_1.4.5.bb
+++ b/packages/apex/apex_1.4.7.bb
@@ -23,18 +23,19 @@ CMDLINE="console=ttyS0,115200 rootfstype=jffs2 root=/dev/mtdblock4 rw init=/linu
# defconfig to .config
do_configure() {
rm -f ${S}/.config
- echo "CONFIG_ENV_DEFAULT_CMDLINE=\"${CMDLINE}\"" >>'${S}/.config'
if test '${ARCH_BYTE_SEX}' = be
then
- echo 'CONFIG_USER_BIGENDIAN=y' >>'${S}/.config'
- echo 'CONFIG_BIGENDIAN=y' >>'${S}/.config'
+ sed -e 's/.*CONFIG_USER_BIGENDIAN.*/CONFIG_USER_BIGENDIAN=y/' \
+ -e 's/.*CONFIG_BIGENDIAN.*/CONFIG_BIGENDIAN=y/' \
+ -e 's|CONFIG_ENV_DEFAULT_CMDLINE=|CONFIG_ENV_DEFAULT_CMDLINE=\"${CMDLINE}\"|' \
+ ${WORKDIR}/defconfig > ${S}/.config
else
- echo 'CONFIG_USER_LITTLEENDIAN=y' >>'${S}/.config'
- echo 'CONFIG_LITTLEENDIAN=y' >>'${S}/.config'
+ sed -e 's/.*CONFIG_USER_LITTLEENDIAN.*/CONFIG_USER_LITTLEENDIAN=y/' \
+ -e 's/.*CONFIG_LITTLEENDIAN.*/CONFIG_LITTLEENDIAN=y/' \
+ -e 's/.*CONFIG_ENV_REGION_KERNEL_SWAP.*/CONFIG_ENV_REGION_KERNEL_SWAP=y/' \
+ -e 's|CONFIG_ENV_DEFAULT_CMDLINE=|CONFIG_ENV_DEFAULT_CMDLINE=\"${CMDLINE}\"|' \
+ ${WORKDIR}/defconfig > ${S}/.config
fi
- sed -e '/CONFIG_USER_BIGENDIAN/d' -e '/CONFIG_USER_LITTLEENDIAN/d' \
- -e '/CONFIG_ENV_DEFAULT_CMDLINE/d' \
- ${S}/src/mach-ixp42x/debian-nslu2-arm_config >>${S}/.config
oe_runmake oldconfig
}
diff --git a/packages/apex/nslu2/defconfig b/packages/apex/nslu2/defconfig
index 113c69a68e..2d2784457a 100644
--- a/packages/apex/nslu2/defconfig
+++ b/packages/apex/nslu2/defconfig
@@ -48,7 +48,7 @@ CONFIG_MACH_NSLU2=y
# CONFIG_MACH_AVILA2347 is not set
# CONFIG_USER_DEFAULTENDIAN is not set
# CONFIG_USER_BIGENDIAN is not set
-CONFIG_USER_LITTLEENDIAN=y
+# CONFIG_USER_LITTLEENDIAN is not set
#
# Platform Setup
@@ -89,8 +89,7 @@ CONFIG_CMD_XRECEIVE=y
#
# CONFIG_DRIVER_FAT is not set
# CONFIG_DRIVER_EXT2 is not set
-CONFIG_DRIVER_JFFS2=y
-CONFIG_DRIVER_JFFS2_BLOCKDEVICE="nor:0x180000+0x660000"
+# CONFIG_DRIVER_JFFS2 is not set
CONFIG_DRIVER_FIS=y
CONFIG_DRIVER_FIS_BLOCKDEVICE="nor:0x7e0000+4k"
CONFIG_DRIVER_NOR_CFI=y
@@ -102,21 +101,25 @@ CONFIG_USES_PATHNAME_PARSER=y
# Environment
#
CONFIG_ENV=y
+# CONFIG_NO_BOOTSTRAP is not set
CONFIG_NOR_BOOT=y
# CONFIG_NAND_BOOT is not set
+# CONFIG_COMPANION_EVT1_BOOT is not set
+# CONFIG_COMPANION_EVT2_BOOT is not set
CONFIG_AUTOBOOT=y
CONFIG_AUTOBOOT_DELAY=10
CONFIG_ENV_MUTABLE=y
CONFIG_ENV_LINK=y
CONFIG_ENV_REGION="nor:0x7fc000+15k"
+CONFIG_ENV_CHECK_LEN=1024
CONFIG_ENV_STARTUP_KERNEL_COPY=y
CONFIG_ENV_REGION_KERNEL="fis://kernel"
-CONFIG_ENV_REGION_KERNEL_SWAP=y
+# CONFIG_ENV_REGION_KERNEL_SWAP is not set
# CONFIG_ENV_STARTUP_RAMDISK_COPY is not set
CONFIG_ENV_DEFAULT_CMDLINE_OVERRIDE=y
CONFIG_ENV_DEFAULT_CMDLINE="console=ttyS0,115200 rootfstype=jffs2 root=/dev/mtdblock4 rw init=/linuxrc noirqdebug"
# CONFIG_ENV_DEFAULT_STARTUP_OVERRIDE is not set
CONFIG_USES_NOR_BOOTFLASH=y
-CONFIG_LITTLEENDIAN=y
+# CONFIG_LITTLEENDIAN is not set
CONFIG_CLEAR_STACKS=y
CONFIG_ALIASES=y