# when compiling for an embedded system, we need every bit of # performance we can get. default to optimized with the option # of opt-out. # Signed-Off: Michael 'Mickey' Lauer Index: Python-2.6.1/Python/compile.c =================================================================== --- Python-2.6.1.orig/Python/compile.c +++ Python-2.6.1/Python/compile.c @@ -32,7 +32,7 @@ #include "symtable.h" #include "opcode.h" -int Py_OptimizeFlag = 0; +int Py_OptimizeFlag = 1; #define DEFAULT_BLOCK_SIZE 16 #define DEFAULT_BLOCKS 8 Index: Python-2.6.1/Modules/main.c =================================================================== --- Python-2.6.1.orig/Modules/main.c +++ Python-2.6.1/Modules/main.c @@ -40,7 +40,7 @@ static char **orig_argv; static int orig_argc; /* command line options */ -#define BASE_OPTS "3bBc:dEhiJm:OQ:sStuUvVW:xX?" +#define BASE_OPTS "3bBc:dEhiJm:NOQ:sStuUvVW:xX?" #ifndef RISCOS #define PROGRAM_OPTS BASE_OPTS @@ -69,8 +69,7 @@ Options and arguments (and corresponding static char *usage_2 = "\ if stdin does not appear to be a terminal; also PYTHONINSPECT=x\n\ -m mod : run library module as a script (terminates option list)\n\ --O : optimize generated bytecode slightly; also PYTHONOPTIMIZE=x\n\ --OO : remove doc-strings in addition to the -O optimizations\n\ +-N : do NOT optimize generated bytecode\n\ -Q arg : division options: -Qold (default), -Qwarn, -Qwarnall, -Qnew\n\ -s : don't add user site directory to sys.path; also PYTHONNOUSERSITE\n\ -S : don't imply 'import site' on initialization\n\ @@ -353,8 +352,8 @@ Py_Main(int argc, char **argv) /* case 'J': reserved for Jython */ - case 'O': - Py_OptimizeFlag++; + case 'N': + Py_OptimizeFlag=0; break; case 'B': e='hidden' name='showmsg' value='1'/>
path: root/packages/linux/linux-openmoko
AgeCommit message (Collapse)AuthorFiles
2009-01-10linux-openmoko: remove obsolete filesMichael 'Mickey' Lauer10
2008-12-29linux-openmoko: Disbale the evbug module. Bump OEV and reset PR.Stefan Schmidt1
2008-12-14linux-openmoko 2.6.24: solve the sysfs battery clash differently as it lead ↵Michael 'Mickey' Lauer2
to nonworking builds (too many implicit cross-module dependencies :/)
2008-12-09linux-openmoko: enable 01's battery class only for 01, likewise for 02's ↵Michael 'Mickey' Lauer1
battery class
2008-12-05linux-openmoko[-devel]: bump srcrevs and add netdev LED trigger patch from ↵Michael 'Mickey' Lauer2
openwrt bugtracker
2008-10-17linux-openmoko 2.6.24+git: build in BT and sound modules to work around ↵Koen Kooi1
toolchain bugs * various modules fail with "unknown relocation: 40", this works around that
2008-10-15mtn2git: remove .mtn2git_empty files in non-empty directoriesJan Luebbe1
2008-09-24linux-openmoko 2.6.24 update and remove outdated patchesMichael Lauer10
2008-09-14linux-openmoko 2.6.24+git add glamo-turbo-mode (from andy branch), bring ↵Michael Lauer2
defconfig-oe in line w/ linux-openmoko-devel
2008-08-09linux-openmoko 2.6.24+git: make bt and sound builtin, stash PR between ↵Koen Kooi1
version and git rev to get something monotonically increasing
2008-07-22linux-openmoko[-devel]: add squashfs to both builds, refactor more common ↵Michael Lauer1
stuff into the .inc file
2008-07-17linux-openmoko_2.6.24+git.bb : add squashfs to the build #4437Graeme Gregory5
2008-01-11linux-openmoko_2.6.22.5.bb : fix bug in gta02 sound driver that misreportedGraeme Gregory1
the speaker state alsa-state.bb : state files corrected now bug is fixed
2007-11-29linux-openmoko_2.6.22.5.bb : CONFIG_MTD_NAND_S3C2410_CLKSTOP breaks accessingGraeme Gregory1
the mtd partitions from usespace so disable for now.
2007-11-21linux-openmoko : commit missing patchGraeme Gregory1
2007-11-21xserver-kdrive_1.3.0.0.bb : add Xglamo server for Neo1973Graeme Gregory1
2007-11-12linux-openmoko_2.6.22.5.bb : enable uinput module as some need it forGraeme Gregory1
external keyboards.
2007-11-10linux-openmoko/defconfig-2.6.22.5 : bring upto date, sound is now modulesGraeme Gregory1
again because I need it that way to debug it.
2007-11-10linux-openmoko_2.6.22.5.bb : update for kernel, gta02 sound support,Graeme Gregory5
fixed suspend/resume while playing sound. fixed suspend/resume for vibrator. Moved SCRREV onwards.
2007-10-31linux-openmoko: add patch to fix bug 788Mike Westerhof1
2007-10-22linux-openmoko 2.6.22.5 use linux.incMichael Lauer3
2007-10-03linux/linux-openmoko/defconfig-2.6.22.5-fic-gta0? : make both of theseGraeme Gregory2
defconfigs the same. The aim of OM kernel is to boot on both devices and now it does.
2007-08-31rename linux-gta01 to linux-openmoko, this kernel will be useful on a family ↵Michael Lauer7
of devices, GTA01, GTA02 being the first two models.