Files
xen/tools/golang/Makefile
T
George Dunlap b84c47221d golang/xenlight: Get rid of GOPATH-based build artefacts
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>
2020-05-28 12:20:54 +01:00

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