openwrt-sdk.conf: Elaborate, tested to actually work.
authorPaul Sokolovsky <pmiscml@gmail.com>
Wed, 9 Jan 2008 02:34:12 +0000 (02:34 +0000)
committerPaul Sokolovsky <pmiscml@gmail.com>
Wed, 9 Jan 2008 02:34:12 +0000 (02:34 +0000)
* Set IPKGBUILDCMD to produce openwrt-compatible packages (tar.gz toplevel
wrap instead of ar). Caveat: latest ipkg-make-index doesn't support these.
Pre-latest, doesn't throw error, but generates crap still.
* Added ASSUME_SHLIB for libm.

conf/distro/openwrt-sdk.conf

index fc760f9..92e5ac5 100644 (file)
@@ -18,9 +18,12 @@ require conf/distro/generic-uclibc.conf
 # Header
 #
 DISTRO_NAME = "OpenWRT"
+DISTRO_REVISION = "2"
+
+IPKGBUILDCMD = "ipkg-build -c -o 0 -g 0"
 
 # 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"
+ASSUME_SHLIBS += "libc.so.0:uclibc libm.so.0:uclibc libgcc_s.so.1:libgcc"