@ -1,34 +1,26 @@
#
#
# Copyright (C) 2016 Daniel Golle <daniel@makrotopia.org>
#
# This is free software, licensed under the GNU General Public License v2.
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
# See /LICENSE for more information.
#
#
i n c l u d e $( TOPDIR ) / r u l e s . m k
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := y asm
PKG_NAME := n asm
PKG_VERSION := 1.3.0
PKG_VERSION := 2.13.03
PKG_SOURCE_URL := http://www.tortall.net/projects/yasm/releases /
PKG_SOURCE_URL := https://www.nasm.us/pub/nasm/releasebuilds/$( PKG_VERSION) /
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.g z
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.x z
PKG_HASH := 3dce6601b495f5b3d45b59f7d2492a340ee7e84b5beca17e48f862502bd5603f
PKG_HASH := 812ecfb0dcbc5bd409aaa8f61c7de94c5b8752a7b00c632883d15b2ed6452573
HOST_BUILD_PARALLEL := 1
HOST_BUILD_PARALLEL := 1
i n c l u d e $( INCLUDE_DIR ) / t o o l c h a i n - b u i l d . m k
i n c l u d e $( INCLUDE_DIR ) / t o o l c h a i n - b u i l d . m k
YASM_CONFIGURE := \
HOST_CONFIGURE_ARGS += \
./configure \
--prefix= $( TOOLCHAIN_DIR) \
--build= $( GNU_HOST_NAME) \
--host= $( GNU_HOST_NAME) \
--target= $( REAL_GNU_TARGET_NAME) \
--target= $( REAL_GNU_TARGET_NAME) \
--with-sysroot= $( TOOLCHAIN_DIR) \
--with-sysroot= $( TOOLCHAIN_DIR) \
--disable-multilib \
--enable-lto \
--disable-werror \
--disable-werror \
--disable-nls \
--disable-sim \
--disable-gdb \
--disable-gdb \
$( SOFT_FLOAT_CONFIG_OPTION) \
$( SOFT_FLOAT_CONFIG_OPTION) \
@ -40,8 +32,9 @@ endef
d e f i n e H o s t / C o n f i g u r e
d e f i n e H o s t / C o n f i g u r e
( cd $( HOST_BUILD_DIR) ; \
( cd $( HOST_BUILD_DIR) ; \
$( YASM_CONFIGURE) \
./autogen.sh \
) ;
) ;
$( call Host/Configure/Default)
e n d e f
e n d e f
d e f i n e H o s t / C o m p i l e
d e f i n e H o s t / C o m p i l e