mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
atv-bootloader: update to atv-bootloader-r520
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
ad0543112e
commit
9d2280d6fb
@ -24,10 +24,11 @@
|
||||
|
||||
cd $PKG_BUILD
|
||||
|
||||
rm -rf mach_kernel vmlinuz initrd.gz
|
||||
cp -PR $(kernel_path)/arch/x86/boot/bzImage vmlinuz
|
||||
|
||||
make clean
|
||||
make LDFLAGS="" \
|
||||
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"
|
||||
|
||||
|
@ -19,12 +19,12 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="atv-bootloader"
|
||||
PKG_VERSION="r518"
|
||||
PKG_VERSION="r520"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="i386 x86_64"
|
||||
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_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||
PKG_DEPENDS=""
|
||||
PKG_BUILD_DEPENDS="toolchain darwin-cross linux"
|
||||
PKG_PRIORITY="optional"
|
||||
|
@ -1,12 +0,0 @@
|
||||
diff -Naur atv-bootloader-r518/Makefile atv-bootloader-r518.patch/Makefile
|
||||
--- atv-bootloader-r518/Makefile 2010-03-09 20:17:22.000000000 +0100
|
||||
+++ atv-bootloader-r518.patch/Makefile 2011-05-21 15:26:26.509551389 +0200
|
||||
@@ -22,7 +22,7 @@
|
||||
# start.o must be 1st in the link order (ld below)
|
||||
OBJ = start.o vsprintf.o console.o utils.o elilo_code.o darwin_code.o linux_code.o boot_loader.o
|
||||
|
||||
-KERN_OBJ= vmlinuz.obj initrd.obj
|
||||
+KERN_OBJ:= vmlinuz.obj initrd.obj
|
||||
|
||||
mach_kernel: $(KERN_OBJ) $(OBJ)
|
||||
$(LD) $(LDFLAGS) -arch $(ARCH) -o mach_kernel $(OBJ) $(KERN_OBJ) \
|
@ -1,29 +0,0 @@
|
||||
diff -Naur atv-bootloader-r518/Makefile atv-bootloader-r518.patch/Makefile
|
||||
--- atv-bootloader-r518/Makefile 2010-03-09 20:17:22.000000000 +0100
|
||||
+++ atv-bootloader-r518.patch/Makefile 2011-05-21 14:04:05.592144598 +0200
|
||||
@@ -11,12 +11,12 @@
|
||||
|
||||
# if Linxu, use the darwin-cross tools to compile/link
|
||||
ifeq ($(OSTYPE),Linux)
|
||||
- CC = /opt/darwin-cross/bin/i386-apple-darwin8-gcc-4.0
|
||||
- LD = /opt/darwin-cross/bin/i386-apple-darwin8-ld
|
||||
+ CC := /opt/darwin-cross/bin/i386-apple-darwin8-gcc-4.0
|
||||
+ LD := /opt/darwin-cross/bin/i386-apple-darwin8-ld
|
||||
else
|
||||
- CC = /usr/bin/gcc-4.0
|
||||
- LD = /usr/bin/ld
|
||||
- LDFLAGS = -classic_linker
|
||||
+ CC := /usr/bin/gcc-4.0
|
||||
+ LD := /usr/bin/ld
|
||||
+ LDFLAGS = -classic_linker
|
||||
endif
|
||||
|
||||
# start.o must be 1st in the link order (ld below)
|
||||
@@ -53,7 +53,4 @@
|
||||
clean:
|
||||
rm -f *.o $(KERN_OBJ) mach_kernel
|
||||
|
||||
-
|
||||
-
|
||||
#xxd mach_kernel | sed -e "s/ffff ffff 1000/0100 0000 1000/" | xxd -r - mach_kernel
|
||||
-
|
Loading…
x
Reference in New Issue
Block a user