config/arch/x86.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Sep 07 01:22:37 2011 +0200 (2011-09-07)
changeset 2653 e5fc5c9ea78a
parent 1635 5d1936ad5ba8
child 2788 b6faa28e76e0
permissions -rw-r--r--
scripts: fix sysroot prefix dir

The sysroot prefix dir was broken in #4960f5d9f829 due to a mishap
when making the out-of-sysroot lib/ symlink: the './' was mistakenly
changed into a single '.' .

Although Jonathan suggested restoring the missing '/' to restore it to
normal operation, I prefered using an explicit pushd/popd to be extra
sure of the symlink location and target, along with a fix in the sysroot
relative directory calculation.

Reported-by: Jonathan Grundon <JGrundon@xos.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
yann@628
     1
# x86 specific options
yann@628
     2
yann@2444
     3
## select ARCH_SUPPORTS_32
yann@2444
     4
## select ARCH_SUPPORTS_64
yann@2444
     5
## select ARCH_DEFAULT_32
yann@2444
     6
## select ARCH_USE_MMU
yann@2444
     7
## select ARCH_SUPPORT_ARCH
yann@2444
     8
## select ARCH_SUPPORT_CPU
yann@2444
     9
## select ARCH_SUPPORT_TUNE
yann@2444
    10
##
yann@2444
    11
## help The x86 architecture, as defined by:
yann@2444
    12
## help     32-bit (ia32) : http://www.intel.com/
yann@2444
    13
## help     64-bit (amd64): http://www.amd.com/us-en/Processors/DevelopWithAMD/0,,30_2252_875_7044,00.html