ソースを参照

project/Makefile.in: workaround issue with out-of-tree builds

Other packages might also support Linux-style out of tree builds
with the O=<dir> syntax (E.G. Busybox does). As make automatically
forwards command line variable definitions those packages get very
confused. Fix this by telling make to not do so
Peter Korsgaard 17 年 前
コミット
94b3420da9
1 ファイル変更6 行追加0 行削除
  1. 6 0
      project/Makefile.in

+ 6 - 0
project/Makefile.in

@@ -32,6 +32,12 @@ ifdef O
 ifeq ("$(origin O)", "command line")
 BASE_DIR := $(shell mkdir -p $(O) && cd $(O) && pwd)
 $(if $(BASE_DIR),, $(error output directory "$(O)" does not exist))
+
+# other packages might also support Linux-style out of tree builds
+# with the O=<dir> syntax (E.G. Busybox does). As make automatically
+# forwards command line variable definitions those packages get very
+# confused. Fix this by telling make to not do so
+MAKEOVERRIDES =
 endif
 endif