[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tyndur-devel] [PATCH 2/2] config.sh: Fix fuer Architekturerkennung
! config.sh: Die richtige Zeile fuer die Architektur aus der config.h
gezielter raussuchen, dann stimmt auch das Ergebnis
Signed-off-by: Kevin Wolf <kevin@xxxxxxxxxx>
---
config.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/config.sh b/config.sh
index a84916c..0ae1246 100644
--- a/config.sh
+++ b/config.sh
@@ -10,7 +10,7 @@ LOST_TOOLS_QEMU=qemu
[ -f $LOST_BUILDMK_ROOT/myconf.sh ] && source $LOST_BUILDMK_ROOT/myconf.sh
# Ab hier nicht mehr anpassen
-CONFIG_ARCH=`grep CONFIG_ARCH $LOST_BUILDMK_ROOT/src/include/lost/config.h | awk '{ print $3 }'`
+CONFIG_ARCH=`grep 'define CONFIG_ARCH' $LOST_BUILDMK_ROOT/src/include/lost/config.h | awk '{ print $3 }'`
if [ "$CONFIG_ARCH" == "ARCH_AMD64" ]; then
LOST_ARCH=amd64
else
--
1.6.0.2