various fixes

This commit is contained in:
Stephan Raue 2009-04-05 23:10:05 +02:00
parent ea68669fa9
commit 4477b00db7
2 changed files with 12 additions and 11 deletions

View File

@ -1,12 +1,15 @@
BUILD_DIRS="build.*"
all: image
all: system
image:
./scripts/install image full
system:
./scripts/install image system
qemu:
./scripts/install image qemu
clean:
rm -rf $(BUILD_DIRS)
src-pkg:
tar cvjf sources.tar.bz2 sources .stamps
tar cvjf sources.tar.bz2 sources .stamps

View File

@ -88,14 +88,17 @@ case "$2" in
mkdir -p $ROOT/target
rm -rf $ROOT/target/$PROJECT-$MEDIACENTER-$OPENELEC_VERSION.kernel
cp build.$PROJECT.*/linux-*/arch/x86/boot/bzImage $ROOT/target/$PROJECT-$MEDIACENTER-$OPENELEC_VERSION.kernel
cp -PR $BUILD/linux-*/arch/x86/boot/bzImage $ROOT/target/$PROJECT-$MEDIACENTER-$OPENELEC_VERSION.kernel
rm -rf $ROOT/target/$PROJECT-$MEDIACENTER-$OPENELEC_VERSION.$2
$ROOT/$TOOLCHAIN/bin/mksquashfs $INSTALL $ROOT/target/$PROJECT-$MEDIACENTER-$OPENELEC_VERSION.$2 -noappend -all-root
# $ROOT/$TOOLCHAIN/bin/mkfs.axfs $INSTALL openelec.$2
;;
img)
qemu)
$SCRIPTS/install image system
mkdir -p $ROOT/target
rm -rf $ROOT/target/$PROJECT-$MEDIACENTER-$OPENELEC_VERSION-qemu.flash
qemu-img create -f raw $ROOT/target/$PROJECT-$MEDIACENTER-$OPENELEC_VERSION-qemu.flash 50M
@ -112,9 +115,4 @@ case "$2" in
;;
full)
$SCRIPTS/install image system
$SCRIPTS/install image img
;;
esac