Index: VirtualBox-5.1.2/src/VBox/Main/Makefile.kmk =================================================================== --- VirtualBox-5.1.2.orig/src/VBox/Main/Makefile.kmk +++ VirtualBox-5.1.2/src/VBox/Main/Makefile.kmk @@ -1331,7 +1331,7 @@ $(VBoxAPIWrap_0_OUTDIR)/VBoxAPI.d.ts \ $(QUIET)$(VBOX_XSLTPROC) --stringparam KBUILD_HOST $(KBUILD_HOST) \ --stringparam generating "dtrace-probes" \ -o "$@" $(VBoxAPIWrap_VBOX_XSLT) $< - $(QUIET)$(SED) -e '' -o "$@.tmp" \ + $(QUIET)$(SED) -e '' --output "$@.tmp" \ "$(VBOX_PATH_MAIN_SRC)/src-all/VBoxAPI-start.d" \ "$@" \ "$(VBOX_PATH_MAIN_SRC)/src-all/VBoxAPI-end.d" Index: VirtualBox-5.0.24/src/VBox/Devices/Makefile.kmk =================================================================== --- VirtualBox-5.0.24.orig/src/VBox/Devices/Makefile.kmk +++ VirtualBox-5.0.24/src/VBox/Devices/Makefile.kmk @@ -818,8 +818,7 @@ if !defined(VBOX_ONLY_EXTPACKS) $(call MSG_TOOL,iasl,VBoxDD,$<,$@) $(QUIET)$(RM) -f $@ $@.tmp $@.pre $(QUIET)$(TOOL_$(VBOX_GCC_TOOL)_CC) -E -P -x c -o $@.pre $< - $(QUIET)$(SED) -e "s//\n/g" \ - --output $@.pre1 $@.pre + $(QUIET)$(SED) -e "s//\n/g" $@.pre > $@.pre1 $(QUIET)$(VBOX_IASLCMD) -tc -vs -p $@ $@.pre1 $(QUIET)$(MV) -f $@ $@.tmp $(QUIET)$(SED) -e "s/AmlCode/AmlCodeSsdtCpuHotPlug/g" \