summaryrefslogtreecommitdiff
path: root/conf/distro/openwrt-sdk.conf
diff options
context:
space:
mode:
authorRobert Schuster <thebohemian@gmx.net>2007-12-21 08:24:03 +0000
committerRobert Schuster <thebohemian@gmx.net>2007-12-21 08:24:03 +0000
commit4753dacf2ed2111b1cc7b9b5d7c877b70a60b224 (patch)
tree6b6dc7b86ee765655c6d408256a72f271bb234b4 /conf/distro/openwrt-sdk.conf
parent642b1a18b2e3fbaeed7c505d29b3e1f2f5c3e5ce (diff)
parentc6150944b250086c0375b86ce819a8b9bf9d2820 (diff)
merge of 'ad0c1c90501edf142b7f2f658fe2c819ce9e0608'
and 'd8704c548ce3f4b681847003a642608d26644766'
Diffstat (limited to 'conf/distro/openwrt-sdk.conf')
-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"