atv-bootloader: cleanup, build without initrd

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-05-21 15:42:21 +02:00
parent dbfd626cf8
commit 61ca57676a
2 changed files with 6 additions and 5 deletions

View File

@ -22,11 +22,12 @@
. config/options $1
get_version
cd $PKG_BUILD
TOOLS_PREFIX="$ROOT/$BUILD"
cp -PR $(kernel_path)/arch/x86/boot/bzImage vmlinuz
sed -i -e "s:/opt:$TOOLS_PREFIX:" Makefile
make clean
make LDFLAGS="" KERN_OBJ="vmlinuz.obj" \
CC="$ROOT/$BUILD/darwin-cross/bin/i386-apple-darwin8-gcc-4.0.1" \
LD="$ROOT/$BUILD/darwin-cross/bin/i386-apple-darwin8-ld"

View File

@ -26,7 +26,7 @@ PKG_LICENSE="GPL"
PKG_SITE="http://code.google.com/p/atv-bootloader/"
PKG_URL="http://travisghansen.openelec.tv/sources/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="darwin-cross linux"
PKG_BUILD_DEPENDS="toolchain darwin-cross linux"
PKG_PRIORITY="optional"
PKG_SECTION="tools"
PKG_SHORTDESC="atv-bootloader: Tool to create a mach_kernel compaitible kernel image"