Commit bba65acf authored by Claes Sjofors's avatar Claes Sjofors

Merge branch 'master'

parents e2265a5a 8c421f94
Package pwrrpi containing runtime archives compiled with crosscompiler for raspbian on Raspberry PI. Package pwrrpi containing runtime archives compiled with crosscompiler for raspbian on Raspberry PI.
1. Setup toolchain 1. Install cross compiler
mkdir /usr/local/rpi sudo apt-get install gcc-6-arm-linux-gnueabihf-base
cd /usr/local/rpi gcc-6-arm-linux-gnueabihf
git clone git://github.com/raspberrypi/tools.git g++-6-arm-linux-gnueabihf
git checkout 9c3d7b6ac692498dd36fec2872e0b55f910baac1 # There is a bug in the latest commit
On 64-bit ubuntu: 2. Define pwre links to the cross compiler
sudo apt-get install libc6:i386 libgcc1:i386 gcc-4.6-base:i386 libstdc++5:i386 libstdc++6:i386 lib32z1 lib32ncurses5 lib32bz2-1.0
On 64-bit debian: export pwre_cc=arm-linux-gnueabihf-gcc-6
sudo dpkg -add-architecture i386 export pwre_cxx=arm-linux-gnueabihf-g++-6
sudo apt-get update export pwre_ar=arm-linux-gnueabihf-ar
sudo apt-get install ia32-libs
2. Define pwre links to the compiler tools
export pwre_cc=/usr/local/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-gcc
export pwre_cxx=/usr/local/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-g++
export pwre_ar=/usr/local/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-ar
3. Define a link to the exe directory of the host release 3. Define a link to the exe directory of the host release
......
Package pwrrpi containing runtime archives compiled with crosscompiler for raspbian on Raspberry PI. Package pwrrpi containing runtime archives compiled with crosscompiler for raspbian on Raspberry PI.
1. Setup toolchain 1. Install cross compiler
mkdir /usr/local/rpi sudo apt-get install gcc-6-arm-linux-gnueabihf-base
cd /usr/local/rpi gcc-6-arm-linux-gnueabihf
git clone git://github.com/raspberrypi/tools.git g++-6-arm-linux-gnueabihf
git checkout 9c3d7b6ac692498dd36fec2872e0b55f910baac1 # There is a bug in the latest commit
On 64-bit ubuntu: 2. Define pwre links to the cross compiler
sudo apt-get install libc6:i386 libgcc1:i386 gcc-4.6-base:i386 libstdc++5:i386 libstdc++6:i386 lib32z1 lib32ncurses5 lib32bz2-1.0
On 64-bit debian: export pwre_cc=arm-linux-gnueabihf-gcc-6
sudo dpkg -add-architecture i386 export pwre_cxx=arm-linux-gnueabihf-g++-6
sudo apt-get update export pwre_ar=arm-linux-gnueabihf-ar
sudo apt-get install ia32-libs
2. Define pwre links to the compiler tools
export pwre_cc=/usr/local/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-gcc
export pwre_cxx=/usr/local/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-g++
export pwre_ar=/usr/local/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-ar
3. Define a link to the exe directory of the host release 3. Define a link to the exe directory of the host release
......
Package pwrrpi containing runtime archives compiled with crosscompiler for raspbian on Raspberry PI. Package pwrrpi containing runtime archives compiled with crosscompiler for raspbian on Raspberry PI.
1. Setup toolchain 1. Install cross compiler
mkdir /usr/local/rpi sudo apt-get install gcc-6-arm-linux-gnueabihf-base
cd /usr/local/rpi gcc-6-arm-linux-gnueabihf
git clone git://github.com/raspberrypi/tools.git g++-6-arm-linux-gnueabihf
git checkout 9c3d7b6ac692498dd36fec2872e0b55f910baac1 # There is a bug in the latest commit
On 64-bit ubuntu: 2. Define pwre links to the cross compiler
sudo apt-get install libc6:i386 libgcc1:i386 gcc-4.6-base:i386 libstdc++5:i386 libstdc++6:i386 lib32z1 lib32ncurses5 lib32bz2-1.0
On 64-bit debian: export pwre_cc=arm-linux-gnueabihf-gcc-6
sudo dpkg -add-architecture i386 export pwre_cxx=arm-linux-gnueabihf-g++-6
sudo apt-get update export pwre_ar=arm-linux-gnueabihf-ar
sudo apt-get install ia32-libs
2. Define pwre links to the compiler tools
export pwre_cc=/usr/local/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-gcc
export pwre_cxx=/usr/local/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-g++
export pwre_ar=/usr/local/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-ar
3. Define a link to the exe directory of the host release 3. Define a link to the exe directory of the host release
......
...@@ -48,6 +48,16 @@ SObject pwrs:Type ...@@ -48,6 +48,16 @@ SObject pwrs:Type
Attr PgmName = "OpSysEnum" Attr PgmName = "OpSysEnum"
EndBody EndBody
!/** !/**
! Operating is defined in CustomBuild
!*/
Object CustomBuild $Value
Body SysBody
Attr PgmName = "CustomBuild"
Attr Text = "CustomBuild"
Attr Value = 1
EndBody
EndObject
!/**
! Operating system is Linux on PowerPC ! Operating system is Linux on PowerPC
!*/ !*/
Object PPC_LINUX $Value Object PPC_LINUX $Value
......
...@@ -51,6 +51,16 @@ SObject pwrs:Type ...@@ -51,6 +51,16 @@ SObject pwrs:Type
Attr PgmName = "OpSysMask" Attr PgmName = "OpSysMask"
EndBody EndBody
!/** !/**
! Operating system is defined in CustomBuild
!*/
Object CustomBuild $Bit
Body SysBody
Attr PgmName = "CustomBuild"
Attr Text = "CustomBuild"
Attr Value = 1
EndBody
EndObject
!/**
! Operating system is Linux on PowerPC ! Operating system is Linux on PowerPC
!*/ !*/
Object PPC_LINUX $Bit Object PPC_LINUX $Bit
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment