The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / yasm / yasm.mk
diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/yasm/yasm.mk b/cirros-testvm/src-cirros/buildroot-2015.05/package/yasm/yasm.mk
new file mode 100644 (file)
index 0000000..0bbd22d
--- /dev/null
@@ -0,0 +1,20 @@
+################################################################################
+#
+# yasm
+#
+################################################################################
+
+YASM_VERSION = 1.2.0
+YASM_SITE = http://www.tortall.net/projects/yasm/releases
+
+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
+endef
+
+YASM_PRE_CONFIGURE_HOOKS += YASM_PRE_CONFIGURE_FIXUP
+HOST_YASM_PRE_CONFIGURE_HOOKS += YASM_PRE_CONFIGURE_FIXUP
+
+$(eval $(autotools-package))
+$(eval $(host-autotools-package))