aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRitu Sood <ritu.sood@intel.com>2019-08-06 19:35:42 -0700
committerRitu Sood <ritu.sood@intel.com>2019-08-15 10:03:47 -0700
commit8295a28f6d6e14f5adb62138271de393015061e9 (patch)
treed11b1e799de55e89d08bc810180d99ce65e6f21e /Makefile
parentaa41b49246d84b605a76d169f0c861ba0691a4fb (diff)
Use controller runtime and operator sdk
Changing the framework to use controller runtime and operator sdk. This allows to add CRD controllers for Network, Provider Network etc in the same operator. Binary renamed to nfn-operator (Network funtion networking). Change-Id: Ic25a3c3f5f1418fc0614f3aede48b41d9c1156cd Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 8534dae..f8d7460 100644
--- a/Makefile
+++ b/Makefile
@@ -12,17 +12,18 @@ export GOPATH ...
export GO111MODULE=on
.PHONY: all
-all: clean ovn4nfvk8s ovn4nfvk8s-cni
+all: clean nfn-operator ovn4nfvk8s-cni
-ovn4nfvk8s:
- @go build ./cmd/ovn4nfvk8s
+nfn-operator:
+ @go build -o build/bin/nfn-operator ./cmd/nfn-operator
ovn4nfvk8s-cni:
- @go build ./cmd/ovn4nfvk8s-cni
+ @go build -o build/bin/ovn4nfvk8s-cni ./cmd/ovn4nfvk8s-cni
test:
@go test -v ./...
clean:
- @rm -f ovn4nfvk8s*
+ @rm -f build/bin/ovn4nfvk8s*
+ @rm -f build/bin/nfn-operator*