-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modified gnoi as a sub-module for gnoi reboot feature
- Loading branch information
1 parent
ad96646
commit 343a64c
Showing
107 changed files
with
28 additions
and
38,505 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,26 @@ | ||
.PHONY: compile_protobufs | ||
AUTOMAKE_OPTIONS = subdir-objects | ||
INCLUDES = -I ../sonic-swss-common/common | ||
INCLUDES = -I ../sonic-swss-common/common -Ibuild/gen -Ibuild/gen/github.com/openconfig/gnoi | ||
BUILT_SOURCES = rebootbackend_protobuf_compilation rebootbackend_dbus_compilation | ||
|
||
compile_protobufs: rebootbackend_protobuf_compilation rebootbackend_dbus_compilation | ||
|
||
rebootbackend_protobuf_compilation: | ||
/usr/bin/protoc --cpp_out=rebootbackend \ | ||
--proto_path=gnoi \ | ||
mkdir -p build/gen | ||
/usr/bin/protoc --cpp_out=build/gen \ | ||
--proto_path=github.com/openconfig/gnoi=gnoi \ | ||
gnoi/types/types.proto \ | ||
gnoi/common/common.proto \ | ||
gnoi/system/system.proto | ||
|
||
rebootbackend_dbus_compilation: | ||
rebootbackend_dbus_compilation: build/gen/librebgnoi.la | ||
/usr/bin/dbusxx-xml2cpp rebootbackend/gnoi_reboot.xml \ | ||
--proxy=rebootbackend/gnoi_reboot_dbus.h | ||
|
||
lib_LTLIBRARIES = build/gen/librebgnoi.la | ||
build_gen_librebgnoi_la_SOURCES = \ | ||
build/gen/github.com/openconfig/gnoi/system/system.pb.cc \ | ||
build/gen/github.com/openconfig/gnoi/types/types.pb.cc \ | ||
build/gen/github.com/openconfig/gnoi/common/common.pb.cc | ||
|
||
SUBDIRS = rebootbackend |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.