mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
atv-bootloader: convert to new package format
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
71d3a95ecc
commit
f07816e047
@ -1,32 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# OpenELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# OpenELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
. config/options $1
|
||||
|
||||
cd $PKG_BUILD
|
||||
|
||||
rm -rf mach_kernel vmlinuz initrd.gz
|
||||
cp -PR $(kernel_path)/arch/x86/boot/bzImage vmlinuz
|
||||
|
||||
make clean
|
||||
make LDFLAGS="" KERN_OBJ=vmlinuz.obj \
|
||||
CC="$ROOT/$BUILD/darwin-cross-1/bin/i386-apple-darwin8-gcc-4.0.1" \
|
||||
LD="$ROOT/$BUILD/darwin-cross-1/bin/i386-apple-darwin8-ld"
|
||||
|
@ -23,12 +23,29 @@ PKG_ARCH="i386 x86_64"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://code.google.com/p/atv-bootloader/"
|
||||
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||
PKG_DEPENDS=""
|
||||
PKG_BUILD_DEPENDS="toolchain darwin-cross linux"
|
||||
PKG_DEPENDS_TARGET=""
|
||||
PKG_BUILD_DEPENDS_TARGET="toolchain darwin-cross linux"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="atv-bootloader: Tool to create a mach_kernel compaitible kernel image"
|
||||
PKG_LONGDESC="atv-bootloader which uses principals from mach_linux_boot to boot a compiled-in Linux kernel"
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
PKG_MAKE_OPTS_TARGET="KERN_OBJ=vmlinuz.obj \
|
||||
CC=$ROOT/$BUILD/darwin-cross-1/bin/i386-apple-darwin8-gcc-4.0.1 \
|
||||
LD=$ROOT/$BUILD/darwin-cross-1/bin/i386-apple-darwin8-ld"
|
||||
|
||||
pre_make_target() {
|
||||
unset LDFLAGS
|
||||
|
||||
rm -rf mach_kernel vmlinuz initrd.gz
|
||||
cp -PR $(kernel_path)/arch/x86/boot/bzImage vmlinuz
|
||||
|
||||
make clean
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nothing todo
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user