aboutsummaryrefslogtreecommitdiffstats
path: root/conf/distro
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-12-19 10:38:03 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-12-19 10:38:03 +0000
commit572af2d3c9a7af869ed16460fe40e1a158939e2e (patch)
tree608e93e39b9b443583b7075d8f7b7c5b3a113004 /conf/distro
parentf871fead79da276cf252c7a9ab1b33e33119b009 (diff)
downloadopenembedded-572af2d3c9a7af869ed16460fe40e1a158939e2e.tar.gz
distro/openwrt-sdk.conf: Distro config to build packages for OpenWRT.
* Only package building is supported (not images). * Uses SDK tarballs from OpenWRT projects. * The distro itself is fully target-agnostic, you should just install correct SDK tarball and pass correct TARGET_ARCH (using environment vs local.conf is highly recommended).
Diffstat (limited to 'conf/distro')
-rw-r--r--conf/distro/openwrt-sdk.conf26
1 files changed, 26 insertions, 0 deletions
diff --git a/conf/distro/openwrt-sdk.conf b/conf/distro/openwrt-sdk.conf
new file mode 100644
index 0000000000..fc760f9ea0
--- /dev/null
+++ b/conf/distro/openwrt-sdk.conf
@@ -0,0 +1,26 @@
+#-----------------------------------------------------------------------------
+#@TYPE: Distribution
+#@NAME: OpenWRT-SDK
+#@DESCRIPTION: Building packages for OpenWRT using its official SDK.
+#
+#@COMMENT: This allows to build packages only, not the whole images.
+#@COMMENT: You should install and have in path an SDK from the www.openwrt.org.
+#@COMMENT: SDK installers are both host and target specific (so look in download
+#@COMMENT: dir for your target). If there is no SDK for your host arch,
+#@COMMENT: you can also look at downloads of x-wrt.org, a sister project.
+#@COMMENT: To build a package, use command like:
+#@COMMENT: DISTRO=openwrt-sdk TARGET_ARCH=<arch> bitbake <package>
+#-----------------------------------------------------------------------------
+
+require conf/distro/generic-uclibc.conf
+
+#
+# Header
+#
+DISTRO_NAME = "OpenWRT"
+
+# This is what lives in SDK
+ASSUME_PROVIDED += "virtual/${TARGET_PREFIX}gcc virtual/libc"
+
+# Make sure that we have correct package dependencies for SDK-provided libs.
+ASSUME_SHLIBS += "libc.so.0:uclibc libgcc_s.so.1:libgcc"