All pastes #462179 Raw Edit

Miscellany

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

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