#!/bin/bash

# run this if you make changes to qemu and want to commit them back into ML tree

QEMU_PATH=${QEMU_PATH:=qemu-1.6.0}
ML=${ML:=magic-lantern}

cp -v *.sh gdbopts ../$ML/contrib/qemu/scripts
cp -v $QEMU_PATH/hw/arm/eos.c $QEMU_PATH/hw/arm/eos.h ../$ML/contrib/qemu/hw

cd ../$ML/contrib/qemu/
hg diff .
