diff options
Diffstat (limited to 'conf/distro/sharprom-compatible.conf')
-rw-r--r-- | conf/distro/sharprom-compatible.conf | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/conf/distro/sharprom-compatible.conf b/conf/distro/sharprom-compatible.conf index 1395f09a7e..9d4fd4c338 100644 --- a/conf/distro/sharprom-compatible.conf +++ b/conf/distro/sharprom-compatible.conf @@ -1,11 +1,11 @@ #@TYPE: Distribution #@NAME: SharpROM #@DESCRIPTION: Distribution configuration for SharpROM (Zaurus) compatible packages -#@MENTOR: Michael 'Mickey' Lauer <mickey@Vanille.de> -#@REQUIREMENTS: A prebuilt SharpROM Embedix Toolchain in your PATH. +#@MENTOR: None +#@REQUIREMENTS: A prebuilt SharpROM Embedix Toolchain in /usr/local/arm/2.95.3 #@REQUIREMENTS: Rename arm-linux-gcc|g++ to arm-linux-gcc-2.95 and rename arm-linux-ld to arm-linux-ld-2.11.2. -INHERIT += " package_ipk debian sharprom" +INHERIT += " package_ipk debian" # # Zaurus @@ -17,23 +17,26 @@ TARGET_CC_ARCH = "-march=armv4" FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -O2" OEINCLUDELOGS = "yes" KERNEL_CONSOLE = "tty1" +# prebuilt toolchain doesn't now about -isystem +export BUILD_CPPFLAGS = "-I${STAGING_DIR}/${BUILD_SYS}/include" +export TARGET_CPPFLAGS = "-I${STAGING_DIR}/${TARGET_SYS}/include" #DEBUG_OPTIMIZATION = "-O -g3" #DEBUG_BUILD = "1" # # Base # -DISTRO = "sharprom" DISTRO_NAME = "SharpROM" DISTRO_VERSION = "3.1 compatible" DISTRO_TYPE = "debug" -ASSUME_PROVIDED += "virtual/arm-linux-gcc-2.95 binutils-cross gcc-cross-initial gcc-cross" -ASSUME_PROVIDED += "virtual/arm-linux-libc-for-gcc virtual/arm-linux-binutils virtual/arm-linux-gcc" -ASSUME_PROVIDED += "virtual/arm-linux-gcc-initial virtual/arm-linux-gcc-initial -ASSUME_PROVIDED += "virtual/libc linux-libc-headers" - -DEPENDS =+ "sharprom-toolchain-native" +PREFERRED_PROVIDER_virtual/arm-linux-gcc-2.95 = "sharprom-toolchain-native" +PREFERRED_PROVIDER_virtual/arm-linux-libc-for-gcc = "sharprom-toolchain-native" +PREFERRED_PROVIDER_virtual/arm-linux-binutils = "sharprom-toolchain-native" +PREFERRED_PROVIDER_virtual/libc = "sharprom-toolchain-native" +PREFERRED_PROVIDER_virtual/arm-linux-gcc = "sharprom-toolchain-native" +PREFERRED_PROVIDER_virtual/linux-libc-headers = "sharprom-toolchain-native" +PREFERRED_PROVIDER_virtual/arm-linux-gcc-initial = "sharprom-toolchain-native" IPKGBUILDCMD = "ipkg-build -c -o 0 -g 0" #INHIBIT_PACKAGE_STRIP = "1" |