about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
-rwxr-xr-xarch/i386/bits/alltypes.h.sh (renamed from include/bits/alltypes.h.sh)0
-rw-r--r--arch/i386/bits/endian.h (renamed from include/bits/endian.h)0
-rw-r--r--arch/i386/bits/errno.h (renamed from include/bits/errno.h)0
-rw-r--r--arch/i386/bits/fcntl.h (renamed from include/bits/fcntl.h)0
-rw-r--r--arch/i386/bits/fenv.h (renamed from include/bits/fenv.h)0
-rw-r--r--arch/i386/bits/float.h (renamed from include/bits/float.h)0
-rw-r--r--arch/i386/bits/in.h (renamed from include/bits/in.h)0
-rw-r--r--arch/i386/bits/ioctl.h (renamed from include/bits/ioctl.h)0
-rw-r--r--arch/i386/bits/ipc.h (renamed from include/bits/ipc.h)0
-rw-r--r--arch/i386/bits/limits.h (renamed from include/bits/limits.h)0
-rw-r--r--arch/i386/bits/mman.h (renamed from include/bits/mman.h)0
-rw-r--r--arch/i386/bits/posix.h (renamed from include/bits/posix.h)0
-rw-r--r--arch/i386/bits/pthread.h (renamed from include/bits/pthread.h)0
-rw-r--r--arch/i386/bits/reg.h (renamed from include/bits/reg.h)0
-rw-r--r--arch/i386/bits/setjmp.h (renamed from include/bits/setjmp.h)0
-rw-r--r--arch/i386/bits/shm.h (renamed from include/bits/shm.h)0
-rw-r--r--arch/i386/bits/signal.h (renamed from include/bits/signal.h)0
-rw-r--r--arch/i386/bits/socket.h (renamed from include/bits/socket.h)0
-rw-r--r--arch/i386/bits/stat.h (renamed from include/bits/stat.h)0
-rw-r--r--arch/i386/bits/statfs.h (renamed from include/bits/statfs.h)0
-rw-r--r--arch/i386/bits/stdint.h (renamed from include/bits/stdint.h)0
-rw-r--r--arch/i386/bits/stdio.h (renamed from include/bits/stdio.h)0
-rw-r--r--arch/i386/bits/sysmacros.h (renamed from include/bits/sysmacros.h)0
-rw-r--r--arch/i386/bits/tcp.h (renamed from include/bits/tcp.h)0
-rw-r--r--arch/i386/bits/termios.h (renamed from include/bits/termios.h)0
-rw-r--r--arch/i386/bits/user.h (renamed from include/bits/user.h)0
-rw-r--r--arch/i386/bits/wait.h (renamed from include/bits/wait.h)0
-rw-r--r--arch/i386/bits/wexitstatus.h (renamed from include/bits/wexitstatus.h)0
29 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e9dbdf7f..d0f16dfc 100644
--- a/Makefile
+++ b/Makefile
@@ -51,6 +51,12 @@ clean:
 	rm -f $(ALL_LIBS) lib/*
 	rm -f $(ALL_TOOLS)
 	rm -f $(GENH) 
+	rm -f include/bits
+
+include/bits:
+	ln -sf ../arch/$(ARCH)/bits $@
+
+include/bits/alltypes.h.sh: include/bits
 
 include/bits/alltypes.h: include/bits/alltypes.h.sh
 	sh $< > $@
diff --git a/include/bits/alltypes.h.sh b/arch/i386/bits/alltypes.h.sh
index d68579f3..d68579f3 100755
--- a/include/bits/alltypes.h.sh
+++ b/arch/i386/bits/alltypes.h.sh
diff --git a/include/bits/endian.h b/arch/i386/bits/endian.h
index 172c338f..172c338f 100644
--- a/include/bits/endian.h
+++ b/arch/i386/bits/endian.h
diff --git a/include/bits/errno.h b/arch/i386/bits/errno.h
index ec3d3633..ec3d3633 100644
--- a/include/bits/errno.h
+++ b/arch/i386/bits/errno.h
diff --git a/include/bits/fcntl.h b/arch/i386/bits/fcntl.h
index 802c3d14..802c3d14 100644
--- a/include/bits/fcntl.h
+++ b/arch/i386/bits/fcntl.h
diff --git a/include/bits/fenv.h b/arch/i386/bits/fenv.h
index 24df0417..24df0417 100644
--- a/include/bits/fenv.h
+++ b/arch/i386/bits/fenv.h
diff --git a/include/bits/float.h b/arch/i386/bits/float.h
index 162b3e46..162b3e46 100644
--- a/include/bits/float.h
+++ b/arch/i386/bits/float.h
diff --git a/include/bits/in.h b/arch/i386/bits/in.h
index b2337064..b2337064 100644
--- a/include/bits/in.h
+++ b/arch/i386/bits/in.h
diff --git a/include/bits/ioctl.h b/arch/i386/bits/ioctl.h
index 544bbdce..544bbdce 100644
--- a/include/bits/ioctl.h
+++ b/arch/i386/bits/ioctl.h
diff --git a/include/bits/ipc.h b/arch/i386/bits/ipc.h
index 08316a37..08316a37 100644
--- a/include/bits/ipc.h
+++ b/arch/i386/bits/ipc.h
diff --git a/include/bits/limits.h b/arch/i386/bits/limits.h
index f5778579..f5778579 100644
--- a/include/bits/limits.h
+++ b/arch/i386/bits/limits.h
diff --git a/include/bits/mman.h b/arch/i386/bits/mman.h
index d133fa20..d133fa20 100644
--- a/include/bits/mman.h
+++ b/arch/i386/bits/mman.h
diff --git a/include/bits/posix.h b/arch/i386/bits/posix.h
index 30a38714..30a38714 100644
--- a/include/bits/posix.h
+++ b/arch/i386/bits/posix.h
diff --git a/include/bits/pthread.h b/arch/i386/bits/pthread.h
index 7d19065d..7d19065d 100644
--- a/include/bits/pthread.h
+++ b/arch/i386/bits/pthread.h
diff --git a/include/bits/reg.h b/arch/i386/bits/reg.h
index 8bc2582d..8bc2582d 100644
--- a/include/bits/reg.h
+++ b/arch/i386/bits/reg.h
diff --git a/include/bits/setjmp.h b/arch/i386/bits/setjmp.h
index b6595bd2..b6595bd2 100644
--- a/include/bits/setjmp.h
+++ b/arch/i386/bits/setjmp.h
diff --git a/include/bits/shm.h b/arch/i386/bits/shm.h
index bc95a1ca..bc95a1ca 100644
--- a/include/bits/shm.h
+++ b/arch/i386/bits/shm.h
diff --git a/include/bits/signal.h b/arch/i386/bits/signal.h
index 8827efda..8827efda 100644
--- a/include/bits/signal.h
+++ b/arch/i386/bits/signal.h
diff --git a/include/bits/socket.h b/arch/i386/bits/socket.h
index b3230625..b3230625 100644
--- a/include/bits/socket.h
+++ b/arch/i386/bits/socket.h
diff --git a/include/bits/stat.h b/arch/i386/bits/stat.h
index bb9314a5..bb9314a5 100644
--- a/include/bits/stat.h
+++ b/arch/i386/bits/stat.h
diff --git a/include/bits/statfs.h b/arch/i386/bits/statfs.h
index 9dda4400..9dda4400 100644
--- a/include/bits/statfs.h
+++ b/arch/i386/bits/statfs.h
diff --git a/include/bits/stdint.h b/arch/i386/bits/stdint.h
index 8e21a8cb..8e21a8cb 100644
--- a/include/bits/stdint.h
+++ b/arch/i386/bits/stdint.h
diff --git a/include/bits/stdio.h b/arch/i386/bits/stdio.h
index b4611f3f..b4611f3f 100644
--- a/include/bits/stdio.h
+++ b/arch/i386/bits/stdio.h
diff --git a/include/bits/sysmacros.h b/arch/i386/bits/sysmacros.h
index da29022d..da29022d 100644
--- a/include/bits/sysmacros.h
+++ b/arch/i386/bits/sysmacros.h
diff --git a/include/bits/tcp.h b/arch/i386/bits/tcp.h
index 923231b2..923231b2 100644
--- a/include/bits/tcp.h
+++ b/arch/i386/bits/tcp.h
diff --git a/include/bits/termios.h b/arch/i386/bits/termios.h
index 316baeb2..316baeb2 100644
--- a/include/bits/termios.h
+++ b/arch/i386/bits/termios.h
diff --git a/include/bits/user.h b/arch/i386/bits/user.h
index 13ff027b..13ff027b 100644
--- a/include/bits/user.h
+++ b/arch/i386/bits/user.h
diff --git a/include/bits/wait.h b/arch/i386/bits/wait.h
index ae3f1012..ae3f1012 100644
--- a/include/bits/wait.h
+++ b/arch/i386/bits/wait.h
diff --git a/include/bits/wexitstatus.h b/arch/i386/bits/wexitstatus.h
index 34a80238..34a80238 100644
--- a/include/bits/wexitstatus.h
+++ b/arch/i386/bits/wexitstatus.h