aboutsummaryrefslogtreecommitdiffstats
path: root/include/package-defaults.mk
Commit message (Collapse)AuthorAgeFilesLines
* include: group kmod ipk files into a "kernel" subdirectoryJo-Philipp Wich2016-01-241-0/+1
| | | | | | | | | | This is useful to just use the kmods from an official build while supplying base packages from a custom feed or the other way around; for just overriding the kmods with a local repo while using official repos for the rest. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48475 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc/musl: rework SSP-supportSteven Barth2015-06-221-1/+1
| | | | | | | | | | | Make musl provide libssp_nonshared.a and make GCC link it unconditionally if musl is used. This should be a no-op if SSP is disabled and seems to be the only reliable way of dealing with SSP over all packages due to the mess that is linkerflags handling in packages. Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46108 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package-defaults: remove libssp for musl (redundant)Steven Barth2015-06-201-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46072 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: remove trailing whitespacesLuka Perkov2015-03-291-1/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45127 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package-defaults.mk: set DISABLE_NLS only if not CONFIG_BUILD_NLSJohn Crispin2015-03-211-1/+5
| | | | | | | | | set DISABLE_NLS only if CONFIG_BUILD_NLS NOT set. like DISABLE_IPV6 which depends on CONFIG_IPV6 Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44930 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add optional dependency on libssp to all non-kernel packagesFelix Fietkau2015-03-201-1/+1
| | | | | | | | | | | | | | | | | | When enabling SSP_SUPPORT, a lot of packages fail during compile phase with the following error: Package X is missing dependencies for the following libraries: libssp.so.0 This can be solved by adding an optional dependency on libssp to all those packages, but as there are quite a few packages both in OpenWrt core and in the package repository, it might make sense to add this optional dependency to all non-kernel packages, instead of polluting lots of package dependency lines with it. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44911 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: The glorious return of glibc, ver 2.21John Crispin2015-03-121-1/+1
| | | | | | | | | | | It's the eglibc packaging with a bit of spit-polishing. And testing. :-) [blogic: merged glibc and eglibc into 1 and made eglibc a glibc variant] Signed-off-by: Jeff Waugh <jdub@bethesignal.org> Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44701 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add support for declaring package CONFLICTS which only affect ↵Felix Fietkau2014-10-051-0/+1
| | | | | | | | selecting built-in packages Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42770 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: allow packages with build variants to explicitly select a default variantFelix Fietkau2014-09-231-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42654 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: remove file before overwritting it with replace_scriptJohn Crispin2014-09-151-1/+3
| | | | | | | | | | | | | | | | | | | | config.{sub,guess} could be symlinks to a shared common version of this file (e.g. in staging). So we remove the destination file via --remove-destination option of cp. This prevents replaceing the common file that other packages could be build with if running at the same time. This fixes a class of errors where config.sub is missing, or only partially present when running configure because a cp is currently in progress This is commonly seen building with a lot of parallel jobs and on packages that use 'PKG_FIXUP:=autoreconf' Signed-off-by: Matthew McClintock <mmcclint@qca.qualcomm.com> Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42547 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: add a meta data field for required system user:groupJohn Crispin2014-09-111-0/+1
| | | | | | | | | this is in preparation of having services run as !root with ACL'ed access to ubus. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42469 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: remove check to nonexistant CONFIG_ENABLE_LOCALE variable and move ↵Felix Fietkau2014-03-211-0/+1
| | | | | | | | DISABLE_NLS to package-defaults.mk Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39980 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: allow packages to declare ABI versions to detect necessary package ↵Felix Fietkau2014-02-231-0/+1
| | | | | | | | | | | | | | | rebuilds If a package directly depends on another package that recently changed its ABI version, it will be cleaned up and rebuilt (assuming quilt is not used). This helps with packages that have no stable ABI, e.g. libubox, ubus, etc. Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39720 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: reduce the size of package metadata a bit to keep package list files ↵Felix Fietkau2012-12-221-1/+0
| | | | | | smaller git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34871 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: remove the default useless MAINTAINER valueFelix Fietkau2012-12-221-2/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34868 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: allow the package maintainer info to be specified globally for a ↵Felix Fietkau2012-10-081-1/+3
| | | | | | source package git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33659 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add the + token to any commands that can pass through the jobserver, ↵Felix Fietkau2012-09-231-1/+1
| | | | | | fixes parallel build on some systems git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33523 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] make packages depend on +librt and +libpthread by default if ↵Jo-Philipp Wich2012-09-191-1/+3
| | | | | | eglibc is in use git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33480 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add a dependency on libc to all non-kernel packagesFelix Fietkau2012-06-101-0/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32171 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: remove redundant call to $(SH_FUNC) (#8042)Felix Fietkau2012-03-051-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30818 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add TARGET_CXXFLAGS and EXTRA_CXXFLAGS, defaulting to *_CFLAGS via ↵Felix Fietkau2012-03-011-2/+4
| | | | | | lazy evaluation. this allows adding c++ specific cflags git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30760 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add support for hidden packages that get selected/built but do not show up ↵Felix Fietkau2011-07-021-0/+1
| | | | | | in menuconfig git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27344 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a new package metadata variable MDEPENDS for specifying local menuconfig ↵Felix Fietkau2011-04-051-0/+1
| | | | | | dependencies that do not propagate to other packages git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26491 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] add support for flagging packagesJo-Philipp Wich2010-10-021-0/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23172 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] Implement an ARCH_PACKAGES variable which defaults to BOARD but ↵Jo-Philipp Wich2010-09-121-3/+3
| | | | | | | | | | can be overridden on a per-subtarget basis. This is intended for targets such as adm5120 and malta which support both big and little endianess and will replace the target specific exceptions in package-defaults and Image Builder. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23029 3c298f89-4303-0410-b956-a3cf2f4a3e73
* speed up the build system by including include/shell.sh on shell commands ↵Felix Fietkau2010-08-191-1/+1
| | | | | | only where necessary git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22720 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Support parallel build of certain packagesMichael Büsch2010-08-181-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22696 3c298f89-4303-0410-b956-a3cf2f4a3e73
* The attached patch replaces $(1) install by $(if $(1), $(1),Travis Kemen2010-03-051-1/+1
| | | | | | | | | | | | | | | | | | | install) in the definition, in order to be able to specify an install rule, which is not always called install (example: trunk/package/ncurses/Makefile has rules called install.libs and install.data). Then its possible to do this in ncurses Makefile: define Build/Install $(call Build/Install/Default, install.libs install.data) endef This patch does not affect anything else, as if no parameter is given, it will use install as before. -Raphael git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19996 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build system: introduce a new feature called build variants.Felix Fietkau2009-11-101-0/+1
| | | | | | | | it allows building a package multiple times in one pass with different build dirs, based on the same build settings. replaces templating hacks like the one used in the hostapd package git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18357 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add special handling for the adm5120 target, which uses subtargets for ↵Imre Kaloz2009-08-031-1/+5
| | | | | | different endianess -- later we should come up with something smarter git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17101 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] revert 17050 this was not the right way to fix thisFlorian Fainelli2009-08-011-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17075 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use board names instead of arch in packagesImre Kaloz2009-07-311-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17063 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] move the global ipv6 option to the very bottom of the options ↵Florian Fainelli2009-07-301-3/+3
| | | | | | passed to configure scripts, so that we can still override it in package makefiles (#5592, #5586) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17050 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] globally define IPv6 support or not in OpenWrt, just like for ↵Florian Fainelli2009-07-251-1/+3
| | | | | | largefiles, ipv6 disabled by default (#4857) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16983 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix configure script path when not at the root of $(PKG_BUILD_DIR), thanks ↵Florian Fainelli2009-07-021-1/+1
| | | | | | Daniel Dickinson (#5255) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16656 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] add dist and distcheck target (to create new source balls)Ralph Hempel2009-05-311-1/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16230 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove 2 old interfering variables, probably missed from [15299]Nicolas Thill2009-04-221-2/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15340 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move pkg config stuff to per-target exports to prevent interference with ↵Felix Fietkau2009-04-201-3/+0
| | | | | | host builds git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15299 3c298f89-4303-0410-b956-a3cf2f4a3e73
* replace a few unnecessary $(shell) callsFelix Fietkau2009-03-031-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14739 3c298f89-4303-0410-b956-a3cf2f4a3e73
* initialize the url field for packagesFelix Fietkau2009-02-231-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14643 3c298f89-4303-0410-b956-a3cf2f4a3e73
* eliminate redundancy by creating the quilt_used stampfile in the right placeFelix Fietkau2009-02-221-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14620 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add support for build-only packages which do not appear in menuconfigFelix Fietkau2009-01-131-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14009 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make config.{guess,sub} writable before attempting to overwrite them (many ↵Felix Fietkau2009-01-061-1/+1
| | | | | | packages have broken permissions in the tarball) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13887 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add default Build/Install template, which is activated by setting PKG_INSTALL=1Felix Fietkau2008-09-031-0/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12512 3c298f89-4303-0410-b956-a3cf2f4a3e73
* replace config.guess and config.sub properly, even if they are in a subdirectoryFelix Fietkau2008-08-051-1/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12148 3c298f89-4303-0410-b956-a3cf2f4a3e73
* export PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR by default (#3376)Felix Fietkau2008-07-311-2/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12029 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a configurable prefix for ./configureFelix Fietkau2007-12-271-8/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9938 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add STAGING_DIR_HOST to PKG_CONFIG_PATHFelix Fietkau2007-12-231-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9850 3c298f89-4303-0410-b956-a3cf2f4a3e73
* DESCRIPTION:= is obselete, so complain if it is used and use TITLE if no ↵John Crispin2007-10-141-1/+0
| | | | | | description is set git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9307 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move a stampfile to make it easier to override the patch templateFelix Fietkau2007-09-291-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9062 3c298f89-4303-0410-b956-a3cf2f4a3e73