mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
syslinux: simplyfing build script
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
6479c3134f
commit
7a4b53003c
@ -26,17 +26,13 @@ $SCRIPTS/build toolchain
|
||||
|
||||
LDFLAGS=`echo $LDFLAGS | sed -e "s|-Wl,--as-needed||"`
|
||||
|
||||
CFLAGS="$CFLAGS -I`ls -d $ROOT/$BUILD/$1*`/libinstaller"
|
||||
CFLAGS="$CFLAGS -I`ls -d $ROOT/$BUILD/$1*`/libfat"
|
||||
|
||||
SUBDIRS="codepage core libinstaller mtools"
|
||||
[ "$TARGET_ARCH" = "i386" ] && SUBDIRS="$SUBDIRS mbr"
|
||||
CFLAGS="$CFLAGS -I../libinstaller -I../libfat"
|
||||
|
||||
cd $PKG_BUILD
|
||||
|
||||
make CC=$CC \
|
||||
AR=$AR \
|
||||
RANLIB=$RANLIB \
|
||||
RANLIB="$RANLIB" \
|
||||
LDFLAGS="$LDFLAGS" \
|
||||
CFLAGS="$CFLAGS -fomit-frame-pointer -D_FILE_OFFSET_BITS=64" \
|
||||
BSUBDIRS="$SUBDIRS"
|
||||
installer
|
||||
|
Loading…
x
Reference in New Issue
Block a user