Date:2010-10-22 09:09:16 (9 years 8 months ago)
Author:Xiangfu Liu
Commit:1ceee39cebea8e42cdc1253f39dff3aa862ae289
Message:cleanup scripts/build a little. make it save un-commit stuff by git stash

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
Files: package/uboot-xburst/files/drivers/mmc/jz_mmc.c (1 diff)
scripts/build (3 diffs)

Change Details

package/uboot-xburst/files/drivers/mmc/jz_mmc.c
2929#include <asm/jz4740.h>
3030#include "jz_mmc.h"
3131
32#define CFG_MMC_BASE 0x80600000
3332static int sd2_0 = 0;
34static uchar mmc_buf[1024];
3533static int mmc_ready = 0;
3634static int use_4bit; /* Use 4-bit data bus */
3735/*
scripts/build
3232fi
3333
3434echo "This script will move previous builds to bak/!"
35echo "This script will reset modifications you made"
36echo " to files which are part of the repository!"
35echo "This script will compile base on last commit"
36echo " your modifications will backup by git stash"
37echo " those modifications will apply again after compile"
3738echo "This script comes without any kind of warranty!"
3839echo " "
3940echo "Are you brave, dude? [NO/yes]"
...... 
5859mkdir xburst
5960
6061echo "updating git repo..."
61git diff > bak/modify_${DATE_TIME}.patch
62git checkout -f
62git stash
6363git checkout tracking_backfire
6464git pull > /dev/null
6565if [ "$?" != "0" ]; then
...... 
122122    exit 1
123123fi
124124
125git stash pop
126
125127cp .config xburst/config
126128cp bin/xburst/* xburst/ 2>/dev/null
127129mkdir xburst/files

Archive Download the corresponding diff file



interactive