diff options
author | Marius Mauch <genone@gentoo.org> | 2006-03-24 18:14:00 +0000 |
---|---|---|
committer | Marius Mauch <genone@gentoo.org> | 2006-03-24 18:14:00 +0000 |
commit | 47be081dc18f47e8b4955721c3db3812adf475d9 (patch) | |
tree | 1a610ba08c828f1c95938afdd4d4a47d2262428b /cnf/make.conf.arm.diff | |
parent | ec5108ad87c690cbd7105ccd4ccdcf511f258b9f (diff) | |
download | portage-47be081dc18f47e8b4955721c3db3812adf475d9.tar.gz portage-47be081dc18f47e8b4955721c3db3812adf475d9.tar.bz2 portage-47be081dc18f47e8b4955721c3db3812adf475d9.zip |
Replacing arch specific make.conf files with patches for the fallback make.conf which should be applied in the ebuild.
Add a helper script to update patches if the main make.conf is changed.
svn path=/main/trunk/; revision=2987
Diffstat (limited to 'cnf/make.conf.arm.diff')
-rw-r--r-- | cnf/make.conf.arm.diff | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/cnf/make.conf.arm.diff b/cnf/make.conf.arm.diff new file mode 100644 index 000000000..6c1e7f173 --- /dev/null +++ b/cnf/make.conf.arm.diff @@ -0,0 +1,50 @@ +--- make.conf 2006-03-19 18:40:11.000000000 +0100 ++++ make.conf.arm 2006-03-19 18:26:21.000000000 +0100 +@@ -23,6 +23,19 @@ + # Example: + #USE="X gtk gnome -alsa" + ++# Host Setting ++# ============ ++# ++# DO NOT CHANGE THIS SETTING UNLESS YOU ARE USING STAGE1! ++# It's very important you select the right CHOST from the start. A wrong ++# CHOST could easily lead to weird errors either in compiling or running. ++# ++# Netwinder (or any StrongArm110): armv4l-unknown-linux-gnu ++# nslu2: armvbe-unknown-linux-gnu ++# Generic ARM: arm-unknown-linux-gnu ++# ++CHOST="armv4l-unknown-linux-gnu" ++ + # Host and optimization settings + # ============================== + # +@@ -33,10 +46,24 @@ + # package (and in some cases the libraries it uses) at default optimizations + # before reporting errors to developers. + # +-# Please refer to the GCC manual for a list of possible values. +-# +-#CFLAGS="-O2 -pipe" ++# -mcpu=<cpu-type> means optimize code for the particular type of CPU without ++# breaking compatibility with other CPUs. + # ++# -march=<cpu-type> means to take full advantage of the ABI and instructions ++# for the particular CPU; this will break compatibility with older CPUs (for ++# example, -march=xscale code will not run on a StrongARM 11x0, and ++# -march=strongarm110 code will not run on a regular StrongARM). ++# ++# Don't use -O3. Even -O2 may be risky in some cases. ++# ++# For a full listing of supported CPU models, please refer to the GCC website: ++# http://gcc.gnu.org/onlinedocs/gcc-3.3/gcc/ARM-Options.html ++# ++# Netwinder: ++#CFLAGS="-mcpu=strongarm110 -O2 -pipe" ++# NSLU2: ++#CFLAGS="-mcpu=armeb -O2 -pipe" ++ + # If you set a CFLAGS above, then this line will set your default C++ flags to + # the same settings. + #CXXFLAGS="${CFLAGS}" |