X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/97ce6e0144841427e0428437d25899bed3e39813..0831b598d806a5cec1fe24b328504d3525eba85f:/docs/buildroot-documentation.html?ds=sidebyside diff --git a/docs/buildroot-documentation.html b/docs/buildroot-documentation.html index 9856c32a2..bd9642202 100644 --- a/docs/buildroot-documentation.html +++ b/docs/buildroot-documentation.html @@ -80,17 +80,18 @@ gcc, binutils, uClibc and all the tools by hand. Of course, doing so is possible. But dealing with all configure options, with all problems of every gcc or binutils - version it very time-consuming and uninteresting. OpenWrt Buildroot automates this + version is very time-consuming and uninteresting. OpenWrt Buildroot automates this process through the use of Makefiles, and has a collection of patches for each gcc and binutils version to make them work - on the MIPS architecture of most Broadcom based Wireless Routers.

+ on the MIPS architecture of most Wireless Routers.

Obtaining OpenWrt Buildroot

-

OpenWrt Buildroot is currently available as experimental snapshots

- -

The latest snapshot is always available at http://openwrt.org/downloads/experimental/, +

OpenWrt Buildroot is available via CVS - Concurrent Version System. + For any kind of development you should get the latest version from cvs via:

+
+ $ cvs -d:pserver:anonymous@openwrt.org:/openwrt co openwrt
+

Using OpenWrt Buildroot

@@ -428,7 +429,7 @@ foo-compile: bar-compile
      1  # $Id$
-     2  
+     2  include $(TOPDIR)/rules.mk
      3  PKG_NAME:=foo
      4  PKG_VERSION:=1.0
      5  PKG_RELEASE:=1
@@ -460,10 +461,10 @@ foo-compile: bar-compile
     31          );
     32          touch $(PKG_DIR)/.configured;
     33
-    34  $(PKG_DIR)/foo $(PKG_DIR)/.configured
+    34  $(PKG_DIR)/$(PKG_NAME): $(PKG_DIR)/.configured
     35          $(MAKE) CC=$(TARGET_CC) -C $(PKG_DIR)
     36
-    37  $(PKG_IPK): $(PKG_DIR)/$(PKG_BINARY)
+    37  $(PKG_IPK): $(PKG_DIR)/$(PKG_NAME)
     38		$(SCRIPT_DIR)/make-ipkg-dir.sh $(PKG_IPK_DIR) $(PKG_NAME).control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)
     39          $(MAKE) prefix=$(PKG_IPK_DIR)/usr -C $(PKG_DIR) install
     40          rm -Rf $(PKG_IPK_DIR)/usr/man