aboutsummaryrefslogtreecommitdiffstats
path: root/docs
Commit message (Expand)AuthorAgeFilesLines
* docs: update remaining references to functions.shFelix Fietkau2012-12-202-3/+3
* [docs] update switch documentationLuka Perkov2012-10-121-1/+22
* [docs] update VLAN tag exampleLuka Perkov2012-10-121-2/+4
* [docs] fix styleLuka Perkov2012-10-121-13/+11
* [docs]: kamikaze has been released long agoImre Kaloz2011-02-112-5/+4
* docs: fix a counting failFelix Fietkau2010-05-291-1/+1
* Add documentation for passphrase option.Felix Fietkau2009-09-241-0/+8
* [package] [docs] implement doth (802.11h) and wmm (802.11e) options for broad...Jo-Philipp Wich2009-09-221-0/+10
* [package] configure the IPv6 from /etc/config/network and remove 6scripts's p...Florian Fainelli2009-07-051-3/+0
* [docs] add a short note on how to use OpenWrt for daily work, covering the us...Florian Fainelli2009-06-283-0/+115
* [docs] comment and fix some parts of the documentation, thanks to Harsh TrivediFlorian Fainelli2009-06-083-5/+37
* [docs] a couple of small fixes in the Wireless documentationFlorian Fainelli2009-05-221-12/+25
* [docs] build: update svn url from https:// to svn://Andy Boyett2009-05-201-1/+1
* get rid of $Id$ - it has never helped us and it has broken too many patches ;)Felix Fietkau2009-04-171-3/+0
* [docs] document a little bit more the rationale of the 6bridge scriptFlorian Fainelli2009-04-021-0/+2
* [package] allow mac80211 devices to be configured to do 802.11s, requires iwFlorian Fainelli2009-02-261-1/+9
* [docs] wireless.tex: update docs to reflect txpower moveAndy Boyett2009-01-311-2/+6
* document the BUILDONLY optionFelix Fietkau2009-01-131-0/+3
* Make the doc slightly more complete and add notes on how to add a new target ...Florian Fainelli2009-01-064-3/+173
* [package] hostapd,madwifi: rename agmode option to hwmode. 11a and 11g aren't...Andy Boyett2008-12-311-4/+4
* [docs] build.tex: fix formatting of example in build environments sectionAndy Boyett2008-12-301-1/+1
* update wireless documentation to reflect broadcom config changesJo-Philipp Wich2008-11-161-10/+16
* Document how to build binary ipkgsFlorian Fainelli2008-09-301-0/+53
* Document madwifi specific diversity and antenna settings (#3889Florian Fainelli2008-09-271-0/+8
* Add 802.1x client configuration support and corresponding documentation (#2069)Florian Fainelli2008-08-111-0/+33
* Support encrypted WDS connections (#2463)Florian Fainelli2008-08-091-1/+62
* add script for managing 'build environments' (.config+files/), including docu...Felix Fietkau2008-08-061-0/+57
* cosmetic fix for docs/ prereq checkFelix Fietkau2008-08-061-1/+1
* Update wireless documentationFlorian Fainelli2008-07-261-6/+29
* Document a bit more about IPv6 configurationFlorian Fainelli2008-07-211-2/+19
* fix a small dep bug in the docs/ dirFelix Fietkau2008-06-091-1/+2
* Fix docs build from a clean checkout, closes #2975Andy Boyett2008-01-071-1/+2
* Trivial patch to correct typos and spelling errors in OpenWRT documentation.\...Florian Fainelli2008-01-062-11/+11
* document the feeds systemFelix Fietkau2007-12-281-6/+8
* update build directory pathsFelix Fietkau2007-12-281-10/+10
* update target namesFelix Fietkau2007-12-281-5/+5
* remove some obsolete stuffFelix Fietkau2007-12-281-6/+0
* remove old 'Submitting patches' textFelix Fietkau2007-12-281-15/+0
* add SubmittingPatches document to docs/Felix Fietkau2007-12-283-1/+56
* START is no longer optional for /etc/rc.common based init scriptsFelix Fietkau2007-12-281-2/+1
* document Build/UninstallDevFelix Fietkau2007-12-281-0/+6
* document Build/InstallDevFelix Fietkau2007-12-281-0/+13
* add .gitignore for docs/Felix Fietkau2007-12-281-0/+15
* Allow specifying static IPv6 gateways (#2710)Florian Fainelli2007-11-161-0/+1
* Document the IPv6 connectivity with OpenWrt.Florian Fainelli2007-10-262-1/+47
* apply latex style patch posted on openwrt-devel@listsFelix Fietkau2007-09-292-7/+11
* Fix the option dns usages (#2174)Florian Fainelli2007-08-061-0/+2
* document config_foreach, close #2162Felix Fietkau2007-08-041-0/+19
* fix a few overfull hboxes, remove some redundant stuffFelix Fietkau2007-08-043-20/+12
* wifi docs: fix a few typos and inconsistencies, add examplesFelix Fietkau2007-08-041-14/+68
ss="o">(CONFIG_$(cond))))) dep_confvar=$(strip $(foreach cond,$(subst ||, ,$(call dep_rem,$(1))),$(eval $(call dep_and,$(cond)))$(dep_and_res))) dep_pos=$(if $(call dep_confvar,$(1)),$(call dep_val,$(1))) dep_neg=$(if $(call dep_confvar,$(1)),,$(call dep_val,$(1))) dep_if=$(if $(findstring !,$(1)),$(call dep_neg,$(1)),$(call dep_pos,$(1))) dep_val=$(word 2,$(call dep_split,$(1))) strip_deps=$(strip $(subst +,,$(filter-out @%,$(1)))) filter_deps=$(foreach dep,$(call strip_deps,$(1)),$(if $(findstring :,$(dep)),$(call dep_if,$(dep)),$(dep))) define AddDependency $$(if $(1),$$(if $(2),$$(foreach pkg,$(1),$$(IPKG_$$(pkg))): $$(foreach pkg,$(2),$$(IPKG_$$(pkg))))) endef define FixupReverseDependencies DEPS := $$(filter %:$(1),$$(IDEPEND)) DEPS := $$(patsubst %:$(1),%,$$(DEPS)) DEPS := $$(filter $$(DEPS),$$(IPKGS)) $(call AddDependency,$$(DEPS),$(1)) endef define FixupDependencies DEPS := $$(filter $(1):%,$$(IDEPEND)) DEPS := $$(patsubst $(1):%,%,$$(DEPS)) DEPS := $$(filter $$(DEPS),$$(IPKGS)) $(call AddDependency,$(1),$$(DEPS)) endef ifneq ($(PKG_NAME),toolchain) define CheckDependencies @( \ rm -f $(PKG_INFO_DIR)/$(1).missing; \ ( \ export \ READELF=$(TARGET_CROSS)readelf \ OBJCOPY=$(TARGET_CROSS)objcopy \ XARGS="$(XARGS)"; \ $(SCRIPT_DIR)/gen-dependencies.sh "$$(IDIR_$(1))"; \ ) | while read FILE; do \ grep -qxF "$$$$FILE" $(PKG_INFO_DIR)/$(1).provides || \ echo "$$$$FILE" >> $(PKG_INFO_DIR)/$(1).missing; \ done; \ if [ -f "$(PKG_INFO_DIR)/$(1).missing" ]; then \ echo "Package $(1) is missing dependencies for the following libraries:" >&2; \ cat "$(PKG_INFO_DIR)/$(1).missing" >&2; \ false; \ fi; \ ) endef endif _addsep=$(word 1,$(1))$(foreach w,$(wordlist 2,$(words $(1)),$(1)),$(strip $(2) $(w))) _cleansep=$(subst $(space)$(2)$(space),$(2)$(space),$(1)) mergelist=$(call _cleansep,$(call _addsep,$(1),$(comma)),$(comma)) addfield=$(if $(strip $(2)),$(1): $(2)) _define=define _endef=endef ifeq ($(DUMP),) define BuildTarget/ipkg ABIV_$(1):=$(call FormatABISuffix,$(1),$(ABI_VERSION)) PDIR_$(1):=$(call FeedPackageDir,$(1)) IPKG_$(1):=$$(PDIR_$(1))/$(1)$$(ABIV_$(1))_$(VERSION)_$(PKGARCH).ipk IDIR_$(1):=$(PKG_BUILD_DIR)/ipkg-$(PKGARCH)/$(1) KEEP_$(1):=$(strip $(call Package/$(1)/conffiles)) ifeq ($(BUILD_VARIANT),$$(if $$(VARIANT),$$(VARIANT),$(BUILD_VARIANT))) do_install= ifdef Package/$(1)/install do_install=yes endif ifdef Package/$(1)/install-overlay do_install=yes endif ifdef do_install ifneq ($(CONFIG_PACKAGE_$(1))$(DEVELOPER),) IPKGS += $(1) $(_pkg_target)compile: $$(IPKG_$(1)) $(PKG_INFO_DIR)/$(1).provides $(PKG_BUILD_DIR)/.pkgdir/$(1).installed prepare-package-install: $$(IPKG_$(1)) compile: $(STAGING_DIR_ROOT)/stamp/.$(1)_installed else $(if $(CONFIG_PACKAGE_$(1)),$$(info WARNING: skipping $(1) -- package not selected)) endif .PHONY: $(PKG_INSTALL_STAMP).$(1) ifeq ($(CONFIG_PACKAGE_$(1)),y) compile: $(PKG_INSTALL_STAMP).$(1) endif $(PKG_INSTALL_STAMP).$(1): prepare-package-install echo "$(1)" >> $(PKG_INSTALL_STAMP) else $(if $(CONFIG_PACKAGE_$(1)),$$(warning WARNING: skipping $(1) -- package has no install section)) endif endif DEPENDS:=$(call PKG_FIXUP_DEPENDS,$(1),$(DEPENDS)) IDEPEND_$(1):=$$(call filter_deps,$$(DEPENDS)) IDEPEND += $$(patsubst %,$(1):%,$$(IDEPEND_$(1))) $(FixupDependencies) $(FixupReverseDependencies) $(eval $(call BuildIPKGVariable,$(1),conffiles)) $(eval $(call BuildIPKGVariable,$(1),preinst,,1)) $(eval $(call BuildIPKGVariable,$(1),postinst,-pkg,1)) $(eval $(call BuildIPKGVariable,$(1),prerm,-pkg,1)) $(eval $(call BuildIPKGVariable,$(1),postrm,,1)) $(PKG_BUILD_DIR)/.pkgdir/$(1).installed : export PATH=$$(TARGET_PATH_PKG) $(PKG_BUILD_DIR)/.pkgdir/$(1).installed: $(STAMP_BUILT) rm -rf $$@ $(PKG_BUILD_DIR)/.pkgdir/$(1) mkdir -p $(PKG_BUILD_DIR)/.pkgdir/$(1) $(call Package/$(1)/install,$(PKG_BUILD_DIR)/.pkgdir/$(1)) $(call Package/$(1)/install_lib,$(PKG_BUILD_DIR)/.pkgdir/$(1)) touch $$@ $(STAGING_DIR_ROOT)/stamp/.$(1)_installed: $(PKG_BUILD_DIR)/.pkgdir/$(1).installed mkdir -p $(STAGING_DIR_ROOT)/stamp $(if $(ABI_VERSION),echo '$(ABI_VERSION)' | cmp -s - $(PKG_INFO_DIR)/$(1).version || { \ echo '$(ABI_VERSION)' > $(PKG_INFO_DIR)/$(1).version; \ $(foreach pkg,$(filter-out $(1),$(PROVIDES)), \ cp $(PKG_INFO_DIR)/$(1).version $(PKG_INFO_DIR)/$(pkg).version; \ ) \ } ) $(call locked,$(CP) $(PKG_BUILD_DIR)/.pkgdir/$(1)/. $(STAGING_DIR_ROOT)/,root-copy) touch $$@ Package/$(1)/DEPENDS := $$(call mergelist,$$(foreach dep,$$(filter-out @%,$$(IDEPEND_$(1))),$$(dep)$$(call GetABISuffix,$$(dep)))) ifneq ($$(EXTRA_DEPENDS),) Package/$(1)/DEPENDS := $$(EXTRA_DEPENDS)$$(if $$(Package/$(1)/DEPENDS),$$(comma) $$(Package/$(1)/DEPENDS)) endif $(_define) Package/$(1)/CONTROL Package: $(1)$$(ABIV_$(1)) Version: $(VERSION) $$(call addfield,Depends,$$(Package/$(1)/DEPENDS) )$$(call addfield,Conflicts,$$(call mergelist,$(CONFLICTS)) )$$(call addfield,Provides,$$(call mergelist,$$(filter-out $(1)$$(ABIV_$(1)),$(PROVIDES)$$(if $$(ABIV_$(1)), $(1) $(foreach provide,$(PROVIDES),$(provide)$$(ABIV_$(1)))))) )$$(call addfield,Alternatives,$$(call mergelist,$(ALTERNATIVES)) )$$(call addfield,Source,$(SOURCE) )$$(call addfield,SourceName,$(1) )$$(call addfield,License,$(LICENSE) )$$(call addfield,LicenseFiles,$(LICENSE_FILES) )$$(call addfield,Section,$(SECTION) )$$(call addfield,Require-User,$(USERID) )$$(call addfield,SourceDateEpoch,$(PKG_SOURCE_DATE_EPOCH) )$$(if $$(ABIV_$(1)),ABIVersion: $$(ABIV_$(1)) )$(if $(PKG_CPE_ID),CPE-ID: $(PKG_CPE_ID) )$(if $(filter hold,$(PKG_FLAGS)),Status: unknown hold not-installed )$(if $(filter essential,$(PKG_FLAGS)),Essential: yes )$(if $(MAINTAINER),Maintainer: $(MAINTAINER) )Architecture: $(PKGARCH) Installed-Size: 0 $(_endef) $$(IPKG_$(1)) : export CONTROL=$$(Package/$(1)/CONTROL) $$(IPKG_$(1)) : export DESCRIPTION=$$(Package/$(1)/description) $$(IPKG_$(1)) : export PATH=$$(TARGET_PATH_PKG) $$(IPKG_$(1)) : export PKG_SOURCE_DATE_EPOCH:=$(PKG_SOURCE_DATE_EPOCH) $(PKG_INFO_DIR)/$(1).provides $$(IPKG_$(1)): $(STAMP_BUILT) $(INCLUDE_DIR)/package-ipkg.mk @rm -rf $$(IDIR_$(1)); \ $$(call remove_ipkg_files,$(1),$$(call opkg_package_files,$(call gen_ipkg_wildcard,$(1)))) mkdir -p $(PACKAGE_DIR) $$(IDIR_$(1))/CONTROL $(PKG_INFO_DIR) $(call Package/$(1)/install,$$(IDIR_$(1))) $(if $(Package/$(1)/install-overlay),mkdir -p $(PACKAGE_DIR) $$(IDIR_$(1))/rootfs-overlay) $(call Package/$(1)/install-overlay,$$(IDIR_$(1))/rootfs-overlay) -find $$(IDIR_$(1)) -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| $(XARGS) rm -rf @( \ find $$(IDIR_$(1)) -name lib\*.so\* -or -name \*.ko | awk -F/ '{ print $$$$NF }'; \ for file in $$(patsubst %,$(PKG_INFO_DIR)/%.provides,$$(IDEPEND_$(1))); do \ if [ -f "$$$$file" ]; then \ cat $$$$file; \ fi; \ done; $(Package/$(1)/extra_provides) \ ) | sort -u > $(PKG_INFO_DIR)/$(1).provides $(if $(PROVIDES),@for pkg in $(filter-out $(1),$(PROVIDES)); do cp $(PKG_INFO_DIR)/$(1).provides $(PKG_INFO_DIR)/$$$$pkg.provides; done) $(CheckDependencies) $(RSTRIP) $$(IDIR_$(1)) ifneq ($$(CONFIG_IPK_FILES_CHECKSUMS),) (cd $$(IDIR_$(1)); \ ( \ find . -type f \! -path ./CONTROL/\* -exec $(MKHASH) sha256 -n \{\} \; 2> /dev/null | \ sed 's|\([[:blank:]]\)\./| \1/|' > $$(IDIR_$(1))/CONTROL/files-sha256sum \ ) || true \ ) endif (cd $$(IDIR_$(1))/CONTROL; \ ( \ echo "$$$$CONTROL"; \ printf "Description: "; echo "$$$$DESCRIPTION" | sed -e 's,^[[:space:]]*, ,g'; \ ) > control; \ chmod 644 control; \ ( \ echo "#!/bin/sh"; \ echo "[ \"\$$$${IPKG_NO_SCRIPT}\" = \"1\" ] && exit 0"; \ echo "[ -s "\$$$${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; \ echo ". \$$$${IPKG_INSTROOT}/lib/functions.sh"; \ echo "default_postinst \$$$$0 \$$$$@"; \ ) > postinst; \ ( \ echo "#!/bin/sh"; \ echo "[ -s "\$$$${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; \ echo ". \$$$${IPKG_INSTROOT}/lib/functions.sh"; \ echo "default_prerm \$$$$0 \$$$$@"; \ ) > prerm; \ chmod 0755 postinst prerm; \ $($(1)_COMMANDS) \ ) ifneq ($$(KEEP_$(1)),) @( \ keepfiles=""; \ for x in $$(KEEP_$(1)); do \ [ -f "$$(IDIR_$(1))/$$$$x" ] || keepfiles="$$$${keepfiles:+$$$$keepfiles }$$$$x"; \ done; \ [ -z "$$$$keepfiles" ] || { \ mkdir -p $$(IDIR_$(1))/lib/upgrade/keep.d; \ for x in $$$$keepfiles; do echo $$$$x >> $$(IDIR_$(1))/lib/upgrade/keep.d/$(1); done; \ }; \ ) endif $(INSTALL_DIR) $$(PDIR_$(1)) $(FAKEROOT) $(SCRIPT_DIR)/ipkg-build -m "$(FILE_MODES)" $$(IDIR_$(1)) $$(PDIR_$(1)) @[ -f $$(IPKG_$(1)) ] $(1)-clean: $$(call remove_ipkg_files,$(1),$$(call opkg_package_files,$(call gen_ipkg_wildcard,$(1)))) clean: $(1)-clean endef endif