diff --git a/minix/llvm/generate_gold_plugin.sh b/minix/llvm/generate_gold_plugin.sh index ea88b3cb4..e1b471867 100755 --- a/minix/llvm/generate_gold_plugin.sh +++ b/minix/llvm/generate_gold_plugin.sh @@ -61,7 +61,7 @@ cp ${OBJ_LLVM}/./Release+Asserts/bin/llvm-* ${CROSS_TOOLS} # Generate and Install default MINIX passes cd ${NETBSDSRCDIR}/minix/llvm/passes/WeakAliasModuleOverride -make LLVMPREFIX=${OBJ_LLVM}/./Release+Asserts/ install +make install cd ${NETBSDSRCDIR}/minix/llvm/passes/hello -make LLVMPREFIX=${OBJ_LLVM}/./Release+Asserts/ install +make install diff --git a/minix/llvm/passes/Makefile.inc b/minix/llvm/passes/Makefile.inc new file mode 100644 index 000000000..3c153a6ba --- /dev/null +++ b/minix/llvm/passes/Makefile.inc @@ -0,0 +1 @@ +LLVMPREFIX?=../../../../../obj_llvm.i386/Release+Asserts diff --git a/minix/llvm/passes/WeakAliasModuleOverride/Makefile b/minix/llvm/passes/WeakAliasModuleOverride/Makefile index cb708a802..7de1b8085 100644 --- a/minix/llvm/passes/WeakAliasModuleOverride/Makefile +++ b/minix/llvm/passes/WeakAliasModuleOverride/Makefile @@ -1,3 +1,5 @@ +include ../Makefile.inc + QUIET=@ ECHO=echo CP=cp diff --git a/minix/llvm/passes/hello/Makefile b/minix/llvm/passes/hello/Makefile index 744dc90f8..ca848156d 100644 --- a/minix/llvm/passes/hello/Makefile +++ b/minix/llvm/passes/hello/Makefile @@ -1,3 +1,5 @@ +include ../Makefile.inc + QUIET=@ ECHO=echo CP=cp