revert thumb-related changes in master
authorDennis Groenen <tj.groenen@gmail.com>
Sat, 30 Jun 2012 13:57:32 +0000 (15:57 +0200)
committerDennis Groenen <tj.groenen@gmail.com>
Sat, 30 Jun 2012 13:57:32 +0000 (15:57 +0200)
build.sh
debian/config/config.busybox

index dd88cda..5ba8f7b 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -1,24 +1,14 @@
 #!/bin/sh
 # Helper script to build busybox-power
 # Please run me from within Scratchbox
-#
-# Run `sh build.sh thumb` to enable the thumb ISA. Make sure your Scratchbox
-# target is properly set up to compile thumb binaries.
-# Instructions to set up a Fremantle thumb target in Scratchbox:
-# http://talk.maemo.org/showpost.php?p=1223814&postcount=164
 
 BBVERSION="1.20.1"
 MAKETHREADS=`grep -i 'processor.:' /proc/cpuinfo |wc -l`
 if [ -z "$MAKETHREADS" -o "$MAKETHREADS" -eq 0 ] ; then MAKETHREADS=1; fi
 SCRIPTDIR=`dirname $(readlink -f $0)`
 BUILDDIR="$SCRIPTDIR/../busybox-power-build"
-VERSION_DEBIAN=`cat $SCRIPTDIR/debian/changelog | awk -F'[()]' '{if(NR==1) print $2}'`
 
 BUILD_OPTIONS="parallel=$MAKETHREADS"
-THUMB=false
-
-if [ "$1" == "thumb" ]; then
-  THUMB=true; fi
 
 hash wget 2>&- || { 
   echo >&2 "this script requires wget, exiting now"
@@ -40,12 +30,5 @@ fi
 tar -jxf busybox-$BBVERSION.tar.bz2
 cp -af $SCRIPTDIR/debian/ busybox-$BBVERSION/
 
-if $THUMB; then
-  # Append "~thumb" to the package's Debian version string
-  # NB: we feed sed directly with $VERSION_DEBIAN, it is not escaped in any way
-  sed -i "s/$VERSION_DEBIAN/$VERSION_DEBIAN~thumb/" busybox-$BBVERSION/debian/changelog
-  BUILD_OPTIONS="$BUILD_OPTIONS,thumb,vfp"
-fi
-
 # Build
 cd busybox-$BBVERSION/ && DEB_BUILD_OPTIONS="$BUILD_OPTIONS" dpkg-buildpackage -r"fakeroot -u" -uc -us -nc
index 14fcd65..164fd38 100644 (file)
@@ -63,7 +63,7 @@ CONFIG_FEATURE_HAVE_RPC=y
 CONFIG_LFS=y
 CONFIG_CROSS_COMPILER_PREFIX=""
 CONFIG_SYSROOT=""
-CONFIG_EXTRA_CFLAGS="-fgnu89-inline"
+CONFIG_EXTRA_CFLAGS=""
 CONFIG_EXTRA_LDFLAGS=""
 CONFIG_EXTRA_LDLIBS=""