aboutsummaryrefslogtreecommitdiffstats
path: root/include/package.mk
Commit message (Collapse)AuthorAgeFilesLines
* include: remove trailing whitespacesLuka Perkov2015-03-291-2/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 45127
* build: clean up sitefiles, make them per-archFelix Fietkau2015-03-281-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45090
* build: define STAMP_CONFIGURED recursivelyJohn Crispin2015-03-211-1/+1
| | | | | | | | | | | | | | | Defining STAMP_CONFIGURED statically caused it not to reflect changes to PKG_CONFIG_DEPENDS made after including package.mk, like the additional options added by feeds.mk for all packages. Furthermore, as STAMP_CONFIGURED_WILDCARD was already defined recursively, the patsubst in its definition would never match, and in consequence, the stamps were never removed. This caused packages not to be rebuilt when they should have been. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 44927
* build: explicitly unexport CONFIG_SITEFelix Fietkau2015-01-181-1/+1
| | | | | | | | | | | | | | | On systems with CONFIG_SITE in the environment (e.g. OpenSUSE) make will export the CONFIG_SITE set in include/package.mk by default. This will cause host builds to get the target site configuration, leading to all kinds of weirdness (wrong pointer size, wrong endianess). Fix this by explicitly unexporting CONFIG_SITE. The explicit export for the target builds overrides the unexport, so the target builds will still correctly get the site config. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 44019
* Support for building an hardened OpenWRTJohn Crispin2015-01-171-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce configuration options to build an "hardened" OpenWRT. Options to enable Stack-Smashing Protection, FORTIFY_SOURCE and RELRO have been introduced. uClibc makefile now automatically detects if SSP support is necessary. hostapd makefile has been fixed to use "^" as sed separator since using a comma was problematic when using "-Wl,-z,now" and the like in TARGET_CFLAGS. Currently enabling SSP on user space depends on enabling SSP kernel side, this is due to the fact that TARGET_CFLAGS are used to build kernel modules (at least). Suggestions on how to avoid this are welcome. Using "select" instead of "depends on" doesn't seem to work with choice entries. Tested with a lantiq (WBMR) router, GCC 4.8, uClibc and a subset of the available packages. Needs to be tested with GCC 4.9 and the remaining packages. PIE not currently included. Signed-off-by: Alessandro Di Federico <ale+owrt@clearmind.me> SVN-Revision: 44005
* build: clean up and optimize ipkg control generator codeFelix Fietkau2014-10-221-3/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43017
* PKG_CHECK_FORMAT_SECURITY: add a menuconfig option, disable by defaultJohn Crispin2014-08-251-3/+5
| | | | | | | | | | | The idea is still to enable it by default at some point I've tested all ar71xx packages (except oldpackages) using CONFIG_ALL=y Failing packages have been marked with PKG_CHECK_FORMAT_SECURITY:=0 for now I can test more targets but i have no idea which are the most used Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com> SVN-Revision: 42282
* build: temporarily disable PKG_CHECK_FORMAT_SECURITY until after the releaseFelix Fietkau2014-07-041-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41504
* build: Introduce PKG_CHECK_FORMAT_SECURITYFelix Fietkau2014-06-301-0/+4
| | | | | | | | | | The idea is to get rid of http://en.wikipedia.org/wiki/Uncontrolled_format_string by using "-Wformat -Werror=format-security" by default Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> SVN-Revision: 41412
* build: reimplement package build directory overrideFelix Fietkau2014-04-181-15/+15
| | | | | | | | | Remove leftover pieces from package-version-override.mk support Add a new variable USE_SOURCE_DIR to use a custom build directory. Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40527
* build: add alternative PKG_CONFIG_PATHFelix Fietkau2014-03-071-1/+1
| | | | | | | | | | | | | | | | | | This is a cryptographically signed message in MIME format. udev Makefile.am has two different .pc files and put them into two locations. Don't know if changing the udev Makefile or changing the pkgconfig paths is the right way - someone has to decide :) udev and vala use an additional pkg-config dir add it to the path discovered because openobex did not find udev.pc Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> SVN-Revision: 39792
* build: allow packages to declare ABI versions to detect necessary package ↵Felix Fietkau2014-02-231-0/+12
| | | | | | | | | | | | | | | 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> SVN-Revision: 39720
* build: fix typo in mips16 changesFelix Fietkau2013-08-141-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37776
* build: decouple the mips16 support flag from the toolchainFelix Fietkau2013-08-141-0/+7
| | | | | | | | | Add the flags from package.mk instead, and leave libc and gcc unaffected. Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37770
* build: clean up stale files from a previous build when installing a package ↵Felix Fietkau2013-05-291-0/+5
| | | | | | | | build to the staging dir Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36755
* build: reduce the size of package metadata a bit to keep package list files ↵Felix Fietkau2012-12-221-1/+1
| | | | | | smaller SVN-Revision: 34871
* buildroot: isolate the .install stamp files for build variants (#12279)Jo-Philipp Wich2012-11-071-2/+3
| | | | | | | | This fixes missing embedded packages if multiple build variants are selected in the build config, e.g. missing ppp if CONFIG_PACKAGE_ppp=y and CONFIG_PACKAGE_ppp-multilink=m . SVN-Revision: 34106
* build: create pkginfo dir earlier to avoid build breakageFelix Fietkau2012-10-061-0/+1
| | | | SVN-Revision: 33633
* build: rework the package/install step - collect package install lists ↵Felix Fietkau2012-10-061-3/+9
| | | | | | during package/compile, then install all packages at once SVN-Revision: 33631
* build: ensure that package/host-build build system code does not run in ↵Felix Fietkau2012-09-171-0/+2
| | | | | | parallel, fixes rare spurious parallel build failures SVN-Revision: 33445
* build: move the -j flag to package.mk instead of grabbing it from makeflags, ↵Felix Fietkau2012-09-151-1/+1
| | | | | | otherwise it occasionally gets omitted on full builds SVN-Revision: 33422
* build: add a config option for passing the top-level make jobserver to ↵Felix Fietkau2012-09-151-1/+7
| | | | | | packages that have parallel build enabled, significantly improves parallelization and gets rid of CPU overcommit during intra-package parallel builds SVN-Revision: 33414
* use autoreconf hook instead of manual callJohn Crispin2012-07-251-0/+3
| | | | SVN-Revision: 32837
* build: add a config option for choosing the prefered standard c++ library ↵Felix Fietkau2012-06-141-0/+2
| | | | | | and add uclibc++.mk to make this easy to handle in packages SVN-Revision: 32369
* build: add a variable for injecting config variable dependencies for the ↵Felix Fietkau2012-06-141-1/+1
| | | | | | .prepared stamp SVN-Revision: 32368
* package.mk: unexport the QUIET variable, it affects some packages like ↵Felix Fietkau2012-06-111-0/+1
| | | | | | xapian-bindings SVN-Revision: 32196
* build: generate a list of provided libraries for each ipkg file (includes ↵Felix Fietkau2012-06-101-0/+1
| | | | | | provided libraries from packages that the exporting package depends on) SVN-Revision: 32172
* build: improve reliability of PKG_CONFIG_DEPENDS, remove old .configured_* ↵Felix Fietkau2011-11-051-0/+2
| | | | | | stamps before creating a new one SVN-Revision: 28770
* fix a small logic error in package downloadFelix Fietkau2011-10-091-1/+1
| | | | SVN-Revision: 28395
* build system: add a feature that allows you to pull sources from a git tree ↵Felix Fietkau2011-10-091-1/+13
| | | | | | instead of the usual tarball SVN-Revision: 28394
* build system: add support for download-time make hooksFelix Fietkau2011-09-301-0/+5
| | | | SVN-Revision: 28322
* add support for md5sum checks for mirrored tarballs of packages with version ↵Felix Fietkau2011-03-211-0/+1
| | | | | | control source urls SVN-Revision: 26260
* build: move the CCACHE_DIR to the build targets so that it doesn't interfere ↵Felix Fietkau2011-03-151-0/+1
| | | | | | with a host ccache setup SVN-Revision: 26181
* add a stamp that can forcibly disable autorebuild for a specific package - ↵Felix Fietkau2011-03-031-1/+8
| | | | | | useful for testing changes to packages with extremely long recompilation times SVN-Revision: 25838
* use := instead of = for PKG_CONFIG_PATH to prevent recursionFelix Fietkau2011-02-061-2/+2
| | | | SVN-Revision: 25388
* allow packages to override/extend PKG_CONFIG_PATHFelix Fietkau2011-02-061-2/+3
| | | | SVN-Revision: 25386
* - implement hooks for hostbuilds - use host build hooks to implement fixups ↵Jo-Philipp Wich2010-12-131-4/+0
| | | | | | for host build - move separator declaration to rules.mk SVN-Revision: 24551
* InstallDev: Move the "find" out of the lock critical section.Michael Büsch2010-11-041-1/+2
| | | | SVN-Revision: 23858
* Lock copying of directory trees to the staging dir with the "staging-dir" ↵Michael Büsch2010-11-041-2/+4
| | | | | | lock. This lock probably has to be taken elsewhere, too. SVN-Revision: 23857
* Fix typoMichael Büsch2010-10-161-2/+2
| | | | SVN-Revision: 23482
* Support force-disabling per-package parallel build with ↵Michael Büsch2010-10-161-1/+7
| | | | | | {PKG,HOST}_BUILD_PARALLEL:=0 SVN-Revision: 23480
* Add an option to default the default build rule to parallel build.Michael Büsch2010-08-201-1/+1
| | | | SVN-Revision: 22737
* Support parallel build of certain packagesMichael Büsch2010-08-181-0/+2
| | | | SVN-Revision: 22696
* Add build variants support to InstallDevLars-Peter Clausen2010-08-161-4/+6
| | | | | | | Before building a build variant would have removed the staging files installed by the previous build variant from the same makefile. SVN-Revision: 22668
* remove linux 2.4 specific build system codeFelix Fietkau2010-06-261-3/+0
| | | | SVN-Revision: 21951
* remove support for DEBUG_DIR, it has lost its purpose since STAGING_DIR_ROOT ↵Felix Fietkau2010-02-241-2/+1
| | | | | | was added SVN-Revision: 19849
* hostapd: fix rebuild checks (#6210)Felix Fietkau2009-11-231-1/+1
| | | | SVN-Revision: 18497
* add experimental support for a new menuconfig submenu "Package features". ↵Felix Fietkau2009-10-171-1/+1
| | | | | | allows selection between multiple packages providing the same feature, which affects dependencies of other packages. will be used e.g. for choosing between DirectFB and X.org for libraries like GTK2 SVN-Revision: 18056
* add support for build system overlays that alter package build instructions ↵Felix Fietkau2009-08-311-0/+7
| | | | | | currently unused, will probably be managed by the feeds system later SVN-Revision: 17445
* add dist and distcheck target (to create new source balls)Ralph Hempel2009-05-311-0/+10
| | | | SVN-Revision: 16230