summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/package.mk2
-rw-r--r--include/site/aarch64 (renamed from include/site/aarch64-linux)2
-rw-r--r--include/site/aarch64-openwrt-linux-gnu5
-rw-r--r--include/site/aarch64_be (renamed from include/site/mips64-linux)2
-rw-r--r--include/site/aarch64_be-openwrt-linux-gnu5
-rw-r--r--include/site/arm (renamed from include/site/i686-linux)2
-rw-r--r--include/site/arm-openwrt-linux-gnu5
-rw-r--r--include/site/arm-openwrt-linux-gnueabi5
-rw-r--r--include/site/arm-openwrt-linux-musl5
-rw-r--r--include/site/arm-openwrt-linux-muslgnueabi5
-rw-r--r--include/site/arm-openwrt-linux-uclibc5
-rw-r--r--include/site/arm-openwrt-linux-uclibcgnueabi5
-rw-r--r--include/site/armeb (renamed from include/site/sparc-linux)2
-rw-r--r--include/site/armeb-openwrt-linux-gnu5
-rw-r--r--include/site/armeb-openwrt-linux-gnueabi5
-rw-r--r--include/site/armeb-openwrt-linux-musl5
-rw-r--r--include/site/armeb-openwrt-linux-muslgnueabi5
-rw-r--r--include/site/armeb-openwrt-linux-uclibc5
-rw-r--r--include/site/armeb-openwrt-linux-uclibcgnueabi5
-rw-r--r--include/site/i486 (renamed from include/site/arm-linux)2
-rw-r--r--include/site/i486-openwrt-linux-gnu5
-rw-r--r--include/site/i486-openwrt-linux-musl5
-rw-r--r--include/site/i486-openwrt-linux-uclibc5
-rw-r--r--include/site/i6863
-rw-r--r--include/site/i686-openwrt-linux-gnu5
-rw-r--r--include/site/i686-openwrt-linux-musl5
-rw-r--r--include/site/i686-openwrt-linux-uclibc5
-rw-r--r--include/site/linux-gnu1
-rw-r--r--include/site/linux-uclibc1
-rw-r--r--include/site/m68k (renamed from include/site/m68k-linux)2
-rw-r--r--include/site/m68k-openwrt-linux-gnu5
-rw-r--r--include/site/m68k-openwrt-linux-uclibc5
-rw-r--r--include/site/mips (renamed from include/site/mips-linux)2
-rw-r--r--include/site/mips-linux-gnu5
-rw-r--r--include/site/mips-openwrt-linux-gnu5
-rw-r--r--include/site/mips-openwrt-linux-musl5
-rw-r--r--include/site/mips-openwrt-linux-uclibc5
-rw-r--r--include/site/mips64 (renamed from include/site/aarch64_be-linux)2
-rw-r--r--include/site/mips64-openwrt-linux-gnu5
-rw-r--r--include/site/mips64-openwrt-linux-uclibc5
-rw-r--r--include/site/mips64el (renamed from include/site/mips64el-linux)2
-rw-r--r--include/site/mips64el-openwrt-linux-gnu5
-rw-r--r--include/site/mips64el-openwrt-linux-uclibc5
-rw-r--r--include/site/mipsel (renamed from include/site/i486-linux)2
-rw-r--r--include/site/mipsel-linux28
-rw-r--r--include/site/mipsel-linux-gnu5
-rw-r--r--include/site/mipsel-openwrt-linux-gnu5
-rw-r--r--include/site/mipsel-openwrt-linux-musl5
-rw-r--r--include/site/mipsel-openwrt-linux-uclibc5
-rw-r--r--include/site/mipsel-openwrt-linux2.4-uclibc5
-rw-r--r--include/site/powerpc (renamed from include/site/powerpc-linux)2
-rw-r--r--include/site/powerpc-openwrt-linux-gnu5
-rw-r--r--include/site/powerpc-openwrt-linux-gnuspe5
-rw-r--r--include/site/powerpc-openwrt-linux-musl5
-rw-r--r--include/site/powerpc-openwrt-linux-uclibc5
-rw-r--r--include/site/powerpc-openwrt-linux-uclibcspe5
-rw-r--r--include/site/sparc (renamed from include/site/armeb-linux)2
-rw-r--r--include/site/sparc-linux-gnu5
-rw-r--r--include/site/sparc-openwrt-linux-gnu5
-rw-r--r--include/site/sparc-openwrt-linux-uclibc5
-rw-r--r--include/site/x86_64 (renamed from include/site/x86_64-linux)2
-rw-r--r--include/site/x86_64-openwrt-linux-gnu5
-rw-r--r--include/site/x86_64-openwrt-linux-musl5
-rw-r--r--include/site/x86_64-openwrt-linux-uclibc5
64 files changed, 30 insertions, 261 deletions
diff --git a/include/package.mk b/include/package.mk
index b364c3b..435509e 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -127,7 +127,7 @@ include $(INCLUDE_DIR)/package-bin.mk
include $(INCLUDE_DIR)/autotools.mk
override MAKEFLAGS=
-CONFIG_SITE:=$(INCLUDE_DIR)/site/$(REAL_GNU_TARGET_NAME)
+CONFIG_SITE:=$(INCLUDE_DIR)/site/$(ARCH)
CUR_MAKEFILE:=$(filter-out Makefile,$(firstword $(MAKEFILE_LIST)))
SUBMAKE:=$(NO_TRACE_MAKE) $(if $(CUR_MAKEFILE),-f $(CUR_MAKEFILE))
PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig:$(STAGING_DIR)/usr/share/pkgconfig
diff --git a/include/site/aarch64-linux b/include/site/aarch64
index 41dfc01..c5aa9c5 100644
--- a/include/site/aarch64-linux
+++ b/include/site/aarch64
@@ -1,3 +1,5 @@
+#!/bin/sh
+. $TOPDIR/include/site/linux
ac_cv_c_littleendian=${ac_cv_c_littleendian=yes}
ac_cv_c_bigendian=${ac_cv_c_bigendian=no}
diff --git a/include/site/aarch64-openwrt-linux-gnu b/include/site/aarch64-openwrt-linux-gnu
deleted file mode 100644
index d84dd0a..0000000
--- a/include/site/aarch64-openwrt-linux-gnu
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/aarch64-linux
-. $TOPDIR/include/site/linux-gnu
-
diff --git a/include/site/mips64-linux b/include/site/aarch64_be
index 1541a89..19e75ab 100644
--- a/include/site/mips64-linux
+++ b/include/site/aarch64_be
@@ -1,3 +1,5 @@
+#!/bin/sh
+. $TOPDIR/include/site/linux
ac_cv_c_littleendian=${ac_cv_c_littleendian=no}
ac_cv_c_bigendian=${ac_cv_c_bigendian=yes}
diff --git a/include/site/aarch64_be-openwrt-linux-gnu b/include/site/aarch64_be-openwrt-linux-gnu
deleted file mode 100644
index d84dd0a..0000000
--- a/include/site/aarch64_be-openwrt-linux-gnu
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/aarch64-linux
-. $TOPDIR/include/site/linux-gnu
-
diff --git a/include/site/i686-linux b/include/site/arm
index 80cc8db..72a3805 100644
--- a/include/site/i686-linux
+++ b/include/site/arm
@@ -1,3 +1,5 @@
+#!/bin/sh
+. $TOPDIR/include/site/linux
ac_cv_c_littleendian=${ac_cv_c_littleendian=yes}
ac_cv_c_bigendian=${ac_cv_c_bigendian=no}
diff --git a/include/site/arm-openwrt-linux-gnu b/include/site/arm-openwrt-linux-gnu
deleted file mode 100644
index efb7245..0000000
--- a/include/site/arm-openwrt-linux-gnu
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/arm-linux
-. $TOPDIR/include/site/linux-gnu
-
diff --git a/include/site/arm-openwrt-linux-gnueabi b/include/site/arm-openwrt-linux-gnueabi
deleted file mode 100644
index efb7245..0000000
--- a/include/site/arm-openwrt-linux-gnueabi
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/arm-linux
-. $TOPDIR/include/site/linux-gnu
-
diff --git a/include/site/arm-openwrt-linux-musl b/include/site/arm-openwrt-linux-musl
deleted file mode 100644
index f17d96a..0000000
--- a/include/site/arm-openwrt-linux-musl
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/arm-linux
-. $TOPDIR/include/site/linux-uclibc
-
diff --git a/include/site/arm-openwrt-linux-muslgnueabi b/include/site/arm-openwrt-linux-muslgnueabi
deleted file mode 100644
index f17d96a..0000000
--- a/include/site/arm-openwrt-linux-muslgnueabi
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/arm-linux
-. $TOPDIR/include/site/linux-uclibc
-
diff --git a/include/site/arm-openwrt-linux-uclibc b/include/site/arm-openwrt-linux-uclibc
deleted file mode 100644
index f17d96a..0000000
--- a/include/site/arm-openwrt-linux-uclibc
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/arm-linux
-. $TOPDIR/include/site/linux-uclibc
-
diff --git a/include/site/arm-openwrt-linux-uclibcgnueabi b/include/site/arm-openwrt-linux-uclibcgnueabi
deleted file mode 100644
index f17d96a..0000000
--- a/include/site/arm-openwrt-linux-uclibcgnueabi
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/arm-linux
-. $TOPDIR/include/site/linux-uclibc
-
diff --git a/include/site/sparc-linux b/include/site/armeb
index c421c51..a5626a7 100644
--- a/include/site/sparc-linux
+++ b/include/site/armeb
@@ -1,3 +1,5 @@
+#!/bin/sh
+. $TOPDIR/include/site/linux
ac_cv_c_littleendian=${ac_cv_c_littleendian=no}
ac_cv_c_bigendian=${ac_cv_c_bigendian=yes}
diff --git a/include/site/armeb-openwrt-linux-gnu b/include/site/armeb-openwrt-linux-gnu
deleted file mode 100644
index 41129b0..0000000
--- a/include/site/armeb-openwrt-linux-gnu
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/armeb-linux
-. $TOPDIR/include/site/linux-gnu
-
diff --git a/include/site/armeb-openwrt-linux-gnueabi b/include/site/armeb-openwrt-linux-gnueabi
deleted file mode 100644
index 41129b0..0000000
--- a/include/site/armeb-openwrt-linux-gnueabi
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/armeb-linux
-. $TOPDIR/include/site/linux-gnu
-
diff --git a/include/site/armeb-openwrt-linux-musl b/include/site/armeb-openwrt-linux-musl
deleted file mode 100644
index dd64a9c..0000000
--- a/include/site/armeb-openwrt-linux-musl
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/armeb-linux
-. $TOPDIR/include/site/linux-uclibc
-
diff --git a/include/site/armeb-openwrt-linux-muslgnueabi b/include/site/armeb-openwrt-linux-muslgnueabi
deleted file mode 100644
index dd64a9c..0000000
--- a/include/site/armeb-openwrt-linux-muslgnueabi
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/armeb-linux
-. $TOPDIR/include/site/linux-uclibc
-
diff --git a/include/site/armeb-openwrt-linux-uclibc b/include/site/armeb-openwrt-linux-uclibc
deleted file mode 100644
index dd64a9c..0000000
--- a/include/site/armeb-openwrt-linux-uclibc
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/armeb-linux
-. $TOPDIR/include/site/linux-uclibc
-
diff --git a/include/site/armeb-openwrt-linux-uclibcgnueabi b/include/site/armeb-openwrt-linux-uclibcgnueabi
deleted file mode 100644
index dd64a9c..0000000
--- a/include/site/armeb-openwrt-linux-uclibcgnueabi
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/armeb-linux
-. $TOPDIR/include/site/linux-uclibc
-
diff --git a/include/site/arm-linux b/include/site/i486
index 80cc8db..72a3805 100644
--- a/include/site/arm-linux
+++ b/include/site/i486
@@ -1,3 +1,5 @@
+#!/bin/sh
+. $TOPDIR/include/site/linux
ac_cv_c_littleendian=${ac_cv_c_littleendian=yes}
ac_cv_c_bigendian=${ac_cv_c_bigendian=no}
diff --git a/include/site/i486-openwrt-linux-gnu b/include/site/i486-openwrt-linux-gnu
deleted file mode 100644
index 77bbe24..0000000
--- a/include/site/i486-openwrt-linux-gnu
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/i486-linux
-. $TOPDIR/include/site/linux-gnu
-
diff --git a/include/site/i486-openwrt-linux-musl b/include/site/i486-openwrt-linux-musl
deleted file mode 100644
index 4d796d6..0000000
--- a/include/site/i486-openwrt-linux-musl
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/i486-linux
-. $TOPDIR/include/site/linux-uclibc
-
diff --git a/include/site/i486-openwrt-linux-uclibc b/include/site/i486-openwrt-linux-uclibc
deleted file mode 100644
index 4d796d6..0000000
--- a/include/site/i486-openwrt-linux-uclibc
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/i486-linux
-. $TOPDIR/include/site/linux-uclibc
-
diff --git a/include/site/i686 b/include/site/i686
new file mode 100644
index 0000000..78f1557
--- /dev/null
+++ b/include/site/i686
@@ -0,0 +1,3 @@
+#!/bin/sh
+. $TOPDIR/include/site/i486
+
diff --git a/include/site/i686-openwrt-linux-gnu b/include/site/i686-openwrt-linux-gnu
deleted file mode 100644
index 6c9c929..0000000
--- a/include/site/i686-openwrt-linux-gnu
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/i686-linux
-. $TOPDIR/include/site/linux-gnu
-
diff --git a/include/site/i686-openwrt-linux-musl b/include/site/i686-openwrt-linux-musl
deleted file mode 100644
index ef073da..0000000
--- a/include/site/i686-openwrt-linux-musl
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/i686-linux
-. $TOPDIR/include/site/linux-uclibc
-
diff --git a/include/site/i686-openwrt-linux-uclibc b/include/site/i686-openwrt-linux-uclibc
deleted file mode 100644
index ef073da..0000000
--- a/include/site/i686-openwrt-linux-uclibc
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/i686-linux
-. $TOPDIR/include/site/linux-uclibc
-
diff --git a/include/site/linux-gnu b/include/site/linux-gnu
deleted file mode 100644
index be4a8d0..0000000
--- a/include/site/linux-gnu
+++ /dev/null
@@ -1 +0,0 @@
-. $TOPDIR/include/site/linux
diff --git a/include/site/linux-uclibc b/include/site/linux-uclibc
deleted file mode 100644
index be4a8d0..0000000
--- a/include/site/linux-uclibc
+++ /dev/null
@@ -1 +0,0 @@
-. $TOPDIR/include/site/linux
diff --git a/include/site/m68k-linux b/include/site/m68k
index a2533de..0037600 100644
--- a/include/site/m68k-linux
+++ b/include/site/m68k
@@ -1,3 +1,5 @@
+#!/bin/sh
+. $TOPDIR/include/site/linux
ac_cv_c_littleendian=${ac_cv_c_littleendian=no}
ac_cv_c_bigendian=${ac_cv_c_bigendian=yes}
diff --git a/include/site/m68k-openwrt-linux-gnu b/include/site/m68k-openwrt-linux-gnu
deleted file mode 100644
index 69c51d5..0000000
--- a/include/site/m68k-openwrt-linux-gnu
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/m68k-linux
-. $TOPDIR/include/site/linux-gnu
-
diff --git a/include/site/m68k-openwrt-linux-uclibc b/include/site/m68k-openwrt-linux-uclibc
deleted file mode 100644
index 69c51d5..0000000
--- a/include/site/m68k-openwrt-linux-uclibc
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/m68k-linux
-. $TOPDIR/include/site/linux-gnu
-
diff --git a/include/site/mips-linux b/include/site/mips
index c421c51..a5626a7 100644
--- a/include/site/mips-linux
+++ b/include/site/mips
@@ -1,3 +1,5 @@
+#!/bin/sh
+. $TOPDIR/include/site/linux
ac_cv_c_littleendian=${ac_cv_c_littleendian=no}
ac_cv_c_bigendian=${ac_cv_c_bigendian=yes}
diff --git a/include/site/mips-linux-gnu b/include/site/mips-linux-gnu
deleted file mode 100644
index a70e9a7..0000000
--- a/include/site/mips-linux-gnu
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/mips-linux
-. $TOPDIR/include/site/linux-gnu
-
diff --git a/include/site/mips-openwrt-linux-gnu b/include/site/mips-openwrt-linux-gnu
deleted file mode 100644
index a70e9a7..0000000
--- a/include/site/mips-openwrt-linux-gnu
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/mips-linux
-. $TOPDIR/include/site/linux-gnu
-
diff --git a/include/site/mips-openwrt-linux-musl b/include/site/mips-openwrt-linux-musl
deleted file mode 100644
index 76a1b28..0000000
--- a/include/site/mips-openwrt-linux-musl
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/mips-linux
-. $TOPDIR/include/site/linux-uclibc
-
diff --git a/include/site/mips-openwrt-linux-uclibc b/include/site/mips-openwrt-linux-uclibc
deleted file mode 100644
index 76a1b28..0000000
--- a/include/site/mips-openwrt-linux-uclibc
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/mips-linux
-. $TOPDIR/include/site/linux-uclibc
-
diff --git a/include/site/aarch64_be-linux b/include/site/mips64
index 1541a89..19e75ab 100644
--- a/include/site/aarch64_be-linux
+++ b/include/site/mips64
@@ -1,3 +1,5 @@
+#!/bin/sh
+. $TOPDIR/include/site/linux
ac_cv_c_littleendian=${ac_cv_c_littleendian=no}
ac_cv_c_bigendian=${ac_cv_c_bigendian=yes}
diff --git a/include/site/mips64-openwrt-linux-gnu b/include/site/mips64-openwrt-linux-gnu
deleted file mode 100644
index b7474d5..0000000
--- a/include/site/mips64-openwrt-linux-gnu
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/mips64-linux
-. $TOPDIR/include/site/linux-gnu
-
diff --git a/include/site/mips64-openwrt-linux-uclibc b/include/site/mips64-openwrt-linux-uclibc
deleted file mode 100644
index 1b1347c..0000000
--- a/include/site/mips64-openwrt-linux-uclibc
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/mips64-linux
-. $TOPDIR/include/site/linux-uclibc
-
diff --git a/include/site/mips64el-linux b/include/site/mips64el
index 41dfc01..c5aa9c5 100644
--- a/include/site/mips64el-linux
+++ b/include/site/mips64el
@@ -1,3 +1,5 @@
+#!/bin/sh
+. $TOPDIR/include/site/linux
ac_cv_c_littleendian=${ac_cv_c_littleendian=yes}
ac_cv_c_bigendian=${ac_cv_c_bigendian=no}
diff --git a/include/site/mips64el-openwrt-linux-gnu b/include/site/mips64el-openwrt-linux-gnu
deleted file mode 100644
index b7474d5..0000000
--- a/include/site/mips64el-openwrt-linux-gnu
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/mips64-linux
-. $TOPDIR/include/site/linux-gnu
-
diff --git a/include/site/mips64el-openwrt-linux-uclibc b/include/site/mips64el-openwrt-linux-uclibc
deleted file mode 100644
index 1b1347c..0000000
--- a/include/site/mips64el-openwrt-linux-uclibc
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/mips64-linux
-. $TOPDIR/include/site/linux-uclibc
-
diff --git a/include/site/i486-linux b/include/site/mipsel
index 80cc8db..72a3805 100644
--- a/include/site/i486-linux
+++ b/include/site/mipsel
@@ -1,3 +1,5 @@
+#!/bin/sh
+. $TOPDIR/include/site/linux
ac_cv_c_littleendian=${ac_cv_c_littleendian=yes}
ac_cv_c_bigendian=${ac_cv_c_bigendian=no}
diff --git a/include/site/mipsel-linux b/include/site/mipsel-linux
deleted file mode 100644
index 80cc8db..0000000
--- a/include/site/mipsel-linux
+++ /dev/null
@@ -1,28 +0,0 @@
-ac_cv_c_littleendian=${ac_cv_c_littleendian=yes}
-ac_cv_c_bigendian=${ac_cv_c_bigendian=no}
-
-ac_cv_sizeof___int64=0
-ac_cv_sizeof_char=1
-ac_cv_sizeof_int=4
-ac_cv_sizeof_int16_t=2
-ac_cv_sizeof_int32_t=4
-ac_cv_sizeof_int64_t=8
-ac_cv_sizeof_long_int=4
-ac_cv_sizeof_long_long=8
-ac_cv_sizeof_long=4
-ac_cv_sizeof_off_t=8
-ac_cv_sizeof_short_int=2
-ac_cv_sizeof_short=2
-ac_cv_sizeof_size_t=4
-ac_cv_sizeof_ssize_t=4
-ac_cv_sizeof_u_int16_t=2
-ac_cv_sizeof_u_int32_t=4
-ac_cv_sizeof_u_int64_t=8
-ac_cv_sizeof_uint16_t=2
-ac_cv_sizeof_uint32_t=4
-ac_cv_sizeof_uint64_t=8
-ac_cv_sizeof_unsigned_int=4
-ac_cv_sizeof_unsigned_long=4
-ac_cv_sizeof_unsigned_long_long=8
-ac_cv_sizeof_unsigned_short=2
-ac_cv_sizeof_void_p=4
diff --git a/include/site/mipsel-linux-gnu b/include/site/mipsel-linux-gnu
deleted file mode 100644
index fa33e56..0000000
--- a/include/site/mipsel-linux-gnu
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/mipsel-linux
-. $TOPDIR/include/site/linux-gnu
-
diff --git a/include/site/mipsel-openwrt-linux-gnu b/include/site/mipsel-openwrt-linux-gnu
deleted file mode 100644
index fa33e56..0000000
--- a/include/site/mipsel-openwrt-linux-gnu
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/mipsel-linux
-. $TOPDIR/include/site/linux-gnu
-
diff --git a/include/site/mipsel-openwrt-linux-musl b/include/site/mipsel-openwrt-linux-musl
deleted file mode 100644
index b53d4d4..0000000
--- a/include/site/mipsel-openwrt-linux-musl
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/mipsel-linux
-. $TOPDIR/include/site/linux-uclibc
-
diff --git a/include/site/mipsel-openwrt-linux-uclibc b/include/site/mipsel-openwrt-linux-uclibc
deleted file mode 100644
index b53d4d4..0000000
--- a/include/site/mipsel-openwrt-linux-uclibc
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/mipsel-linux
-. $TOPDIR/include/site/linux-uclibc
-
diff --git a/include/site/mipsel-openwrt-linux2.4-uclibc b/include/site/mipsel-openwrt-linux2.4-uclibc
deleted file mode 100644
index 3412411..0000000
--- a/include/site/mipsel-openwrt-linux2.4-uclibc
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/mipsel-linux
-. $TOPDIR/include/site/linux-uclibc
-ac_cv_header_sys_inotify_h=no
diff --git a/include/site/powerpc-linux b/include/site/powerpc
index c421c51..a5626a7 100644
--- a/include/site/powerpc-linux
+++ b/include/site/powerpc
@@ -1,3 +1,5 @@
+#!/bin/sh
+. $TOPDIR/include/site/linux
ac_cv_c_littleendian=${ac_cv_c_littleendian=no}
ac_cv_c_bigendian=${ac_cv_c_bigendian=yes}
diff --git a/include/site/powerpc-openwrt-linux-gnu b/include/site/powerpc-openwrt-linux-gnu
deleted file mode 100644
index bafb5df..0000000
--- a/include/site/powerpc-openwrt-linux-gnu
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/powerpc-linux
-. $TOPDIR/include/site/linux-gnu
-
diff --git a/include/site/powerpc-openwrt-linux-gnuspe b/include/site/powerpc-openwrt-linux-gnuspe
deleted file mode 100644
index bafb5df..0000000
--- a/include/site/powerpc-openwrt-linux-gnuspe
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/powerpc-linux
-. $TOPDIR/include/site/linux-gnu
-
diff --git a/include/site/powerpc-openwrt-linux-musl b/include/site/powerpc-openwrt-linux-musl
deleted file mode 100644
index bb48ee2..0000000
--- a/include/site/powerpc-openwrt-linux-musl
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/powerpc-linux
-. $TOPDIR/include/site/linux-uclibc
-
diff --git a/include/site/powerpc-openwrt-linux-uclibc b/include/site/powerpc-openwrt-linux-uclibc
deleted file mode 100644
index bb48ee2..0000000
--- a/include/site/powerpc-openwrt-linux-uclibc
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/powerpc-linux
-. $TOPDIR/include/site/linux-uclibc
-
diff --git a/include/site/powerpc-openwrt-linux-uclibcspe b/include/site/powerpc-openwrt-linux-uclibcspe
deleted file mode 100644
index bb48ee2..0000000
--- a/include/site/powerpc-openwrt-linux-uclibcspe
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/powerpc-linux
-. $TOPDIR/include/site/linux-uclibc
-
diff --git a/include/site/armeb-linux b/include/site/sparc
index c421c51..a5626a7 100644
--- a/include/site/armeb-linux
+++ b/include/site/sparc
@@ -1,3 +1,5 @@
+#!/bin/sh
+. $TOPDIR/include/site/linux
ac_cv_c_littleendian=${ac_cv_c_littleendian=no}
ac_cv_c_bigendian=${ac_cv_c_bigendian=yes}
diff --git a/include/site/sparc-linux-gnu b/include/site/sparc-linux-gnu
deleted file mode 100644
index 2fc6bf5..0000000
--- a/include/site/sparc-linux-gnu
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/sparc-linux
-. $TOPDIR/include/site/linux-gnu
-
diff --git a/include/site/sparc-openwrt-linux-gnu b/include/site/sparc-openwrt-linux-gnu
deleted file mode 100644
index 2fc6bf5..0000000
--- a/include/site/sparc-openwrt-linux-gnu
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/sparc-linux
-. $TOPDIR/include/site/linux-gnu
-
diff --git a/include/site/sparc-openwrt-linux-uclibc b/include/site/sparc-openwrt-linux-uclibc
deleted file mode 100644
index 7a56dbd..0000000
--- a/include/site/sparc-openwrt-linux-uclibc
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/sparc-linux
-. $TOPDIR/include/site/linux
-
diff --git a/include/site/x86_64-linux b/include/site/x86_64
index 803213c..b8d581d 100644
--- a/include/site/x86_64-linux
+++ b/include/site/x86_64
@@ -1,3 +1,5 @@
+#!/bin/sh
+. $TOPDIR/include/site/linux
ac_cv_c_littleendian=${ac_cv_c_littleendian=yes}
ac_cv_c_bigendian=${ac_cv_c_bigendian=no}
diff --git a/include/site/x86_64-openwrt-linux-gnu b/include/site/x86_64-openwrt-linux-gnu
deleted file mode 100644
index 6022584..0000000
--- a/include/site/x86_64-openwrt-linux-gnu
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/x86_64-linux
-. $TOPDIR/include/site/linux-gnu
-
diff --git a/include/site/x86_64-openwrt-linux-musl b/include/site/x86_64-openwrt-linux-musl
deleted file mode 100644
index cc351df..0000000
--- a/include/site/x86_64-openwrt-linux-musl
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/x86_64-linux
-. $TOPDIR/include/site/linux-uclibc
-
diff --git a/include/site/x86_64-openwrt-linux-uclibc b/include/site/x86_64-openwrt-linux-uclibc
deleted file mode 100644
index cc351df..0000000
--- a/include/site/x86_64-openwrt-linux-uclibc
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-. $TOPDIR/include/site/x86_64-linux
-. $TOPDIR/include/site/linux-uclibc
-