Parcourir la source

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>
Gustavo Zacarias il y a 9 ans
Parent
commit
61340c632e
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      package/yasm/yasm.mk

+ 3 - 3
package/yasm/yasm.mk

@@ -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) 
-# that are only of use on Microsoft Windows. 
-	sed -i 's#) ytasm.*#)#' $(@D)/Makefile.in
+	$(SED) 's#) ytasm.*#)#' $(@D)/Makefile.in
 endef
 endef
 
 
 YASM_PRE_CONFIGURE_HOOKS += YASM_PRE_CONFIGURE_FIXUP
 YASM_PRE_CONFIGURE_HOOKS += YASM_PRE_CONFIGURE_FIXUP