mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
The original build setup used a "fake GOPATH" in tools/golang to test the mechanism of building from go package files installed on a filesystem. With the move to modules, this isn't necessary, and leads to potentially confusing directories being created. (I.e., it might not be obvious that files under tools/golang/src shouldn't be edited.) Get rid of the code that creates this (now unused) intermediate directory. Add direct dependencies from 'build' onto the source files. Signed-off-by: George Dunlap <george.dunlap@citrix.com> Reviewed-by: Nick Rosbrook <rosbrookn@ainfosec.com>
21 lines
304 B
Makefile
21 lines
304 B
Makefile
XEN_ROOT=$(CURDIR)/../..
|
|
include $(XEN_ROOT)/tools/Rules.mk
|
|
|
|
SUBDIRS-y = xenlight
|
|
|
|
.PHONY: build all
|
|
all build: subdirs-all
|
|
|
|
.PHONY: install
|
|
install: subdirs-install
|
|
|
|
.PHONY: uninstall
|
|
uninstall: subdirs-uninstall
|
|
|
|
.PHONY: clean
|
|
clean: subdirs-clean
|
|
$(RM) -r src pkg
|
|
|
|
.PHONY: distclean
|
|
distclean: clean
|