summaryrefslogtreecommitdiffstats
path: root/core/modules/nvidia-libs/module.build
blob: b35e6fd2e425dbafa075ed0e695533220468d1fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

module_load() {
	[ -z "$VERSION" ] && perror "Not run from an @ target"
	local SRC
	SRC="${ROOT_DIR}/tmp/work/nvidia-common/build/$VERSION"
	[ -d "$SRC" ] || perror "nvidia-common did not build $VERSION"
	# XXX Now we override the MODULE_BUILD_DIR, where mltk will then grab alle the required files from
	MODULE_BUILD_DIR="$SRC"
}