summaryrefslogtreecommitdiff
path: root/meta-google/recipes-connectivity
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2021-08-06 10:06:42 +0300
committerWilliam A. Kennington III <wak@google.com>2021-09-29 01:50:10 +0300
commit9674509e803564061f868f732d571f3ce0485756 (patch)
treed1b01c677091880ca61122adcb3687bc6efabc68 /meta-google/recipes-connectivity
parentcb839a2bd8acd438e398fb5d3748fd3ff3cc2bcc (diff)
downloadopenbmc-9674509e803564061f868f732d571f3ce0485756.tar.xz
meta-google: gbmc-ncsi-config: Add relay support for the bridge
We may have multiple BMCs running on the internal gbmcbr network via USB links to attached trays. These BMCs do not have a direct connection to the network, and require the NCSI BMC to relay all of their traffic (including DHCP) out opf the machine. This patch enables dhcrelay to run on the NCSI interface and proxy all DHCP traffic from the bridge out of the machine. Change-Id: I60f97ae2d64289c7b706b3d0a6c8fb79a931e485 Signed-off-by: William A. Kennington III <wak@google.com>
Diffstat (limited to 'meta-google/recipes-connectivity')
-rw-r--r--meta-google/recipes-connectivity/dhcp/dhcp-relay_%.bbappend4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-google/recipes-connectivity/dhcp/dhcp-relay_%.bbappend b/meta-google/recipes-connectivity/dhcp/dhcp-relay_%.bbappend
new file mode 100644
index 0000000000..4efa9f24ce
--- /dev/null
+++ b/meta-google/recipes-connectivity/dhcp/dhcp-relay_%.bbappend
@@ -0,0 +1,4 @@
+# LTO and static enabled to reduce image size, saves ~50%
+CFLAGS:append:gbmc = " -flto"
+EXTRA_OECONF:remove:gbmc = "--disable-static"
+EXTRA_OECONF:append:gbmc = " --enable-relay-port --disable-shared"