aboutsummaryrefslogtreecommitdiffstats
path: root/include/package-defaults.mk
Commit message (Expand)AuthorAgeFilesLines
* gcc/musl: rework SSP-supportSteven Barth2015-06-221-1/+1
* package-defaults: remove libssp for musl (redundant)Steven Barth2015-06-201-1/+1
* include: remove trailing whitespacesLuka Perkov2015-03-291-1/+1
* package-defaults.mk: set DISABLE_NLS only if not CONFIG_BUILD_NLSJohn Crispin2015-03-211-1/+5
* build: add optional dependency on libssp to all non-kernel packagesFelix Fietkau2015-03-201-1/+1
* toolchain: The glorious return of glibc, ver 2.21John Crispin2015-03-121-1/+1
* build: add support for declaring package CONFLICTS which only affect selectin...Felix Fietkau2014-10-051-0/+1
* build: allow packages with build variants to explicitly select a default variantFelix Fietkau2014-09-231-0/+1
* include: remove file before overwritting it with replace_scriptJohn Crispin2014-09-151-1/+3
* include: add a meta data field for required system user:groupJohn Crispin2014-09-111-0/+1
* build: remove check to nonexistant CONFIG_ENABLE_LOCALE variable and move DIS...Felix Fietkau2014-03-211-0/+1
* build: allow packages to declare ABI versions to detect necessary package reb...Felix Fietkau2014-02-231-0/+1
* build: reduce the size of package metadata a bit to keep package list files s...Felix Fietkau2012-12-221-1/+0
* build: remove the default useless MAINTAINER valueFelix Fietkau2012-12-221-2/+0
* build: allow the package maintainer info to be specified globally for a sourc...Felix Fietkau2012-10-081-1/+3
* build: add the + token to any commands that can pass through the jobserver, f...Felix Fietkau2012-09-231-1/+1
* make packages depend on +librt and +libpthread by default if eglibc is in useJo-Philipp Wich2012-09-191-1/+3
* build: add a dependency on libc to all non-kernel packagesFelix Fietkau2012-06-101-0/+6
* build: remove redundant call to $(SH_FUNC) (#8042)Felix Fietkau2012-03-051-1/+1
* build: add TARGET_CXXFLAGS and EXTRA_CXXFLAGS, defaulting to *_CFLAGS via laz...Felix Fietkau2012-03-011-2/+4
* add support for hidden packages that get selected/built but do not show up in...Felix Fietkau2011-07-021-0/+1
* add a new package metadata variable MDEPENDS for specifying local menuconfig ...Felix Fietkau2011-04-051-0/+1
* add support for flagging packagesJo-Philipp Wich2010-10-021-0/+5
* Implement an ARCH_PACKAGES variable which defaults to BOARD but can be overri...Jo-Philipp Wich2010-09-121-3/+3
* speed up the build system by including include/shell.sh on shell commands onl...Felix Fietkau2010-08-191-1/+1
* Support parallel build of certain packagesMichael Büsch2010-08-181-1/+1
* The attached patch replaces $(1) install by $(if $(1), $(1), install) in the ...Travis Kemen2010-03-051-1/+1
* build system: introduce a new feature called build variants. it allows buildi...Felix Fietkau2009-11-101-0/+1
* add special handling for the adm5120 target, which uses subtargets for differ...Imre Kaloz2009-08-031-1/+5
* revert 17050 this was not the right way to fix thisFlorian Fainelli2009-08-011-3/+3
* use board names instead of arch in packagesImre Kaloz2009-07-311-1/+1
* move the global ipv6 option to the very bottom of the options passed to confi...Florian Fainelli2009-07-301-3/+3
* globally define IPv6 support or not in OpenWrt, just like for largefiles, ipv...Florian Fainelli2009-07-251-1/+3
* Fix configure script path when not at the root of $(PKG_BUILD_DIR), thanks Da...Florian Fainelli2009-07-021-1/+1
* add dist and distcheck target (to create new source balls)Ralph Hempel2009-05-311-1/+9
* remove 2 old interfering variables, probably missed from [15299]Nicolas Thill2009-04-221-2/+0
* move pkg config stuff to per-target exports to prevent interference with host...Felix Fietkau2009-04-201-3/+0
* replace a few unnecessary $(shell) callsFelix Fietkau2009-03-031-1/+1
* initialize the url field for packagesFelix Fietkau2009-02-231-0/+1
* eliminate redundancy by creating the quilt_used stampfile in the right placeFelix Fietkau2009-02-221-1/+0
* add support for build-only packages which do not appear in menuconfigFelix Fietkau2009-01-131-0/+1
* make config.{guess,sub} writable before attempting to overwrite them (many pa...Felix Fietkau2009-01-061-1/+1
* add default Build/Install template, which is activated by setting PKG_INSTALL=1Felix Fietkau2008-09-031-0/+11
* replace config.guess and config.sub properly, even if they are in a subdirectoryFelix Fietkau2008-08-051-1/+4
* export PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR by default (#3376)Felix Fietkau2008-07-311-2/+5
* add a configurable prefix for ./configureFelix Fietkau2007-12-271-8/+9
* add STAGING_DIR_HOST to PKG_CONFIG_PATHFelix Fietkau2007-12-231-1/+1
* DESCRIPTION:= is obselete, so complain if it is used and use TITLE if no desc...John Crispin2007-10-141-1/+0
* move a stampfile to make it easier to override the patch templateFelix Fietkau2007-09-291-0/+1
* fix typo (thanks to jonasg[1] on irc)Nicolas Thill2007-09-051-1/+1
/Configure endef define Build/Compile chmod a+x $(PKG_BUILD_DIR)/extensions/.*-test* mkdir -p $(PKG_INSTALL_DIR) $(MAKE) -C $(PKG_BUILD_DIR) \ $(TARGET_CONFIGURE_OPTS) \ COPT_FLAGS="$(TARGET_CFLAGS)" \ KERNEL_DIR="$(LINUX_DIR)" PREFIX=/usr \ DESTDIR="$(PKG_INSTALL_DIR)" \ all install install-devel endef define Build/InstallDev $(MAKE) -C $(PKG_BUILD_DIR) \ $(TARGET_CONFIGURE_OPTS) \ COPT_FLAGS="$(TARGET_CFLAGS)" \ KERNEL_DIR="$(LINUX_DIR)" PREFIX=/usr \ DESTDIR="$(STAGING_DIR)" \ install install-devel endef define Build/UninstallDev rm -rf $(STAGING_DIR)/usr/include/libipq.h rm -rf $(STAGING_DIR)/usr/lib/libipq.a endef define Package/iptables/install $(INSTALL_DIR) $(1)/etc/config $(INSTALL_DATA) ./files/firewall.config $(1)/etc/config/firewall $(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_BIN) ./files/firewall.init $(1)/etc/init.d/firewall $(INSTALL_BIN) ./files/firewall.user $(1)/etc/ $(INSTALL_DIR) $(1)/usr/lib $(INSTALL_DATA) ./files/firewall.awk $(1)/usr/lib $(INSTALL_DIR) $(1)/usr/sbin $(CP) $(PKG_INSTALL_DIR)/usr/sbin/iptables $(1)/usr/sbin/ $(INSTALL_DIR) $(1)/usr/lib/iptables (cd $(PKG_INSTALL_DIR)/usr/lib/iptables ; \ $(CP) $(patsubst %,lib%.so,$(IPT_BUILTIN:xt_%=ipt_%)) $(1)/usr/lib/iptables/ \ ) endef define Package/iptables-utils/install $(INSTALL_DIR) $(1)/usr/sbin $(CP) $(PKG_INSTALL_DIR)/usr/sbin/iptables-{save,restore} $(1)/usr/sbin/ endef define Package/ip6tables/install $(INSTALL_DIR) $(1)/usr/sbin $(CP) $(PKG_INSTALL_DIR)/usr/sbin/ip6tables $(1)/usr/sbin/ $(INSTALL_DIR) $(1)/usr/lib/iptables (cd $(PKG_INSTALL_DIR)/usr/lib/iptables ; \ $(CP) libip6t_*.so $(1)/usr/lib/iptables/ \ ) endef define BuildPlugin define Package/$(1)/install $(INSTALL_DIR) $$(1)/usr/lib/iptables for m in $$(patsubst xt_%,ipt_%,$(2)); do \ $(CP) $(PKG_INSTALL_DIR)/usr/lib/iptables/lib$$$$$$$${m}.so $$(1)/usr/lib/iptables/ ; \ done $(3) endef $$(eval $$(call BuildPackage,$(1))) endef L7_INSTALL:=mkdir -p $$(1)/etc/l7-protocols; \ $(CP) files/l7/*.pat $$(1)/etc/l7-protocols/ $(eval $(call BuildPackage,iptables)) $(eval $(call BuildPackage,iptables-utils)) $(eval $(call BuildPlugin,iptables-mod-conntrack,$(IPT_CONNTRACK-m))) $(eval $(call BuildPlugin,iptables-mod-extra,$(IPT_EXTRA-m))) $(eval $(call BuildPlugin,iptables-mod-filter,$(IPT_FILTER-m),$(L7_INSTALL))) $(eval $(call BuildPlugin,iptables-mod-imq,$(IPT_IMQ-m))) $(eval $(call BuildPlugin,iptables-mod-ipopt,$(IPT_IPOPT-m))) $(eval $(call BuildPlugin,iptables-mod-ipsec,$(IPT_IPSEC-m))) $(eval $(call BuildPlugin,iptables-mod-nat,$(IPT_NAT-m))) $(eval $(call BuildPlugin,iptables-mod-ulog,$(IPT_ULOG-m))) $(eval $(call BuildPackage,ip6tables))