Commit 11cb675f authored by Alessandro Rubini's avatar Alessandro Rubini

arch-bare-i386: a better name for bare-linux (no technical change)

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent a70d5ee8
...@@ -40,19 +40,19 @@ build_ext ...@@ -40,19 +40,19 @@ build_ext
# Finally, loop over all archs, using our local names for compilers # Finally, loop over all archs, using our local names for compilers
# (we are not building for arch-spec, but we keep ready for it) # (we are not building for arch-spec, but we keep ready for it)
PREFIX_bare_linux="" PREFIX_bare_i386=""
PREFIX_bare_x86_64="" PREFIX_bare_x86_64=""
PREFIX_spec="/opt/gcc-lm32/bin/lm32-elf-" PREFIX_spec="/opt/gcc-lm32/bin/lm32-elf-"
CC_bare_linux="gcc -m32" CC_bare_i386="gcc -m32"
CC_bare_x86_64="gcc -m64" CC_bare_x86_64="gcc -m64"
CC_spec="${PREFIX_spec}gcc" CC_spec="${PREFIX_spec}gcc"
LD_bare_linux="ld -m elf_i386" LD_bare_i386="ld -m elf_i386"
LD_bare_x86_64="ld -m elf_x86_64" LD_bare_x86_64="ld -m elf_x86_64"
LD_spec="${PREFIX_spec}ld" LD_spec="${PREFIX_spec}ld"
for a in bare-linux bare-x86-64; do for a in bare-i386 bare-x86-64; do
export ARCH=$a export ARCH=$a
ARCH_="" ARCH_=""
eval export CROSS_COMPILE="\${PREFIX_$(echo $ARCH | sed 's/-/_/g')}" eval export CROSS_COMPILE="\${PREFIX_$(echo $ARCH | sed 's/-/_/g')}"
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
*/ */
#include <ppsi/ppsi.h> #include <ppsi/ppsi.h>
#include <ppsi/diag.h> #include <ppsi/diag.h>
#include "bare-linux.h" #include "bare-i386.h"
const Integer32 PP_ADJ_FREQ_MAX = 512000; const Integer32 PP_ADJ_FREQ_MAX = 512000;
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
/* Socket interface for bare Linux */ /* Socket interface for bare Linux */
#include <ppsi/ppsi.h> #include <ppsi/ppsi.h>
#include <ppsi/diag.h> #include <ppsi/diag.h>
#include "bare-linux.h" #include "bare-i386.h"
/* 14 is ppi->proto_ofst for ethernet mode */ /* 14 is ppi->proto_ofst for ethernet mode */
Octet buffer_out[PP_PACKET_SIZE + 14]; Octet buffer_out[PP_PACKET_SIZE + 14];
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
*/ */
#include <ppsi/ppsi.h> #include <ppsi/ppsi.h>
#include <ppsi/diag.h> #include <ppsi/diag.h>
#include "bare-linux.h" #include "bare-i386.h"
void ppsi_clear_bss(void) void ppsi_clear_bss(void)
......
#include <ppsi/ppsi.h> #include <ppsi/ppsi.h>
#include <ppsi/diag.h> #include <ppsi/diag.h>
#include "bare-linux.h" #include "bare-i386.h"
#include <unistd.h> #include <unistd.h>
static struct pp_timer bare_timers[PP_TIMER_ARRAY_SIZE]; static struct pp_timer bare_timers[PP_TIMER_ARRAY_SIZE];
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* This is the main loop for "freestanding" stuff under Linux. * This is the main loop for "freestanding" stuff under Linux.
*/ */
#include <ppsi/ppsi.h> #include <ppsi/ppsi.h>
#include "bare-linux.h" #include "bare-i386.h"
/* Define other hackish stuff */ /* Define other hackish stuff */
struct bare_fd_set { struct bare_fd_set {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#include <linux/unistd.h> #include <linux/unistd.h>
#include <ppsi/ppsi.h> #include <ppsi/ppsi.h>
#include "bare-linux.h" #include "bare-i386.h"
#include "syscalls.h" #include "syscalls.h"
int bare_errno; int bare_errno;
......
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