yasm: style and whitespace cleanup

Use $(SED) instead of sed.
Kill trailing whitespace in comment, and move it above the define as per
standard look.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Gustavo Zacarias 2016-03-09 16:55:50 -03:00 committed by Peter Korsgaard
parent f94071d416
commit 61340c632e

View File

@ -7,10 +7,10 @@
YASM_VERSION = 1.3.0 YASM_VERSION = 1.3.0
YASM_SITE = http://www.tortall.net/projects/yasm/releases YASM_SITE = http://www.tortall.net/projects/yasm/releases
# This sed prevents it compiling 2 programs (vsyasm and ytasm)
# that are only of use on Microsoft Windows.
define YASM_PRE_CONFIGURE_FIXUP define YASM_PRE_CONFIGURE_FIXUP
# This sed prevents it compiling 2 programs (vsyasm and ytasm) $(SED) 's#) ytasm.*#)#' $(@D)/Makefile.in
# that are only of use on Microsoft Windows.
sed -i 's#) ytasm.*#)#' $(@D)/Makefile.in
endef endef
YASM_PRE_CONFIGURE_HOOKS += YASM_PRE_CONFIGURE_FIXUP YASM_PRE_CONFIGURE_HOOKS += YASM_PRE_CONFIGURE_FIXUP