meta-google: recipes-core: busybox: Import from gBMC

Initial recipes-core/busybox code from gBMC.

Google-Bug-Id: 179618494
Upstream: 8ac594bdf054082ca6dbe35c4345759fe4c31669
Change-Id: Iab31d541d0130e9c1da7b7289383ecd66353f30c
Signed-off-by: Willy Tu <wltu@google.com>
diff --git a/meta-google/recipes-core/busybox/busybox_%.bbappend b/meta-google/recipes-core/busybox/busybox_%.bbappend
new file mode 100644
index 0000000..38863ec
--- /dev/null
+++ b/meta-google/recipes-core/busybox/busybox_%.bbappend
@@ -0,0 +1,6 @@
+FILESEXTRAPATHS_prepend_gbmc := "${THISDIR}/files:"
+SRC_URI_append_gbmc = " \
+    file://udhcpc6.cfg \
+    file://ip.cfg \
+    file://ls.cfg \
+"
diff --git a/meta-google/recipes-core/busybox/files/ip.cfg b/meta-google/recipes-core/busybox/files/ip.cfg
new file mode 100644
index 0000000..f935771
--- /dev/null
+++ b/meta-google/recipes-core/busybox/files/ip.cfg
@@ -0,0 +1 @@
+CONFIG_IPNEIGH=y
diff --git a/meta-google/recipes-core/busybox/files/ls.cfg b/meta-google/recipes-core/busybox/files/ls.cfg
new file mode 100644
index 0000000..a302cb8
--- /dev/null
+++ b/meta-google/recipes-core/busybox/files/ls.cfg
@@ -0,0 +1 @@
+CONFIG_LSOF=y
diff --git a/meta-google/recipes-core/busybox/files/udhcpc6.cfg b/meta-google/recipes-core/busybox/files/udhcpc6.cfg
new file mode 100644
index 0000000..1c2766f
--- /dev/null
+++ b/meta-google/recipes-core/busybox/files/udhcpc6.cfg
@@ -0,0 +1,6 @@
+CONFIG_FEATURE_IPV6=y
+CONFIG_UDHCPC6=y
+CONFIG_FEATURE_UDHCPC6_RFC3646=y
+CONFIG_FEATURE_UDHCPC6_RFC4704=y
+CONFIG_FEATURE_UDHCPC6_RFC4833=y
+CONFIG_FEATURE_UDHCPC6_RFC5970=y