All pastes #462163 Raw Edit

Anonymous

public text v1 · immutable
#462163 ·published 2007-04-28 02:49 UTC
rendered paste body
rwhitby@etch:/home/moko$ svn diff Makefile
Index: Makefile
===================================================================
--- Makefile    (revision 91)
+++ Makefile    (working copy)
@@ -143,6 +143,11 @@
          echo 'DISTRO = "openmoko"' >> build/conf/local.conf ; \
          echo 'BUILD_ARCH = "'`uname -m`'"' >> build/conf/local.conf )

+.PHONY: setup-machine-%
+setup-machine-x86 setup-machine-fic-gta01: \
+setup-machine-%: setup-config
+       sed -i -e 's/^MACHINE = \".*\"/MACHINE = \"$*\"/' build/conf/local.conf
+
 setup-env:
        [ -e setup-env ] || \
        ( echo 'export OMDIR="'`pwd`'"' > setup-env ; \