aboutsummaryrefslogtreecommitdiffstats
path: root/include/package.mk
Commit message (Collapse)AuthorAgeFilesLines
* build: temporarily disable PKG_CHECK_FORMAT_SECURITY until after the releaseFelix Fietkau2014-07-041-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41504 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41412 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40527 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39792 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39720 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: fix typo in mips16 changesFelix Fietkau2013-08-141-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37776 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37770 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36755 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: reduce the size of package metadata a bit to keep package list files ↵Felix Fietkau2012-12-221-1/+1
| | | | | | smaller git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34871 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 . git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34106 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: create pkginfo dir earlier to avoid build breakageFelix Fietkau2012-10-061-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33633 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33631 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33445 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33422 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33414 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] use autoreconf hook instead of manual callJohn Crispin2012-07-251-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32837 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32369 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add a variable for injecting config variable dependencies for the ↵Felix Fietkau2012-06-141-1/+1
| | | | | | .prepared stamp git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32368 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package.mk: unexport the QUIET variable, it affects some packages like ↵Felix Fietkau2012-06-111-0/+1
| | | | | | xapian-bindings git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32196 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32172 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: improve reliability of PKG_CONFIG_DEPENDS, remove old .configured_* ↵Felix Fietkau2011-11-051-0/+2
| | | | | | stamps before creating a new one git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28770 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix a small logic error in package downloadFelix Fietkau2011-10-091-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28395 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28394 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build system: add support for download-time make hooksFelix Fietkau2011-09-301-0/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28322 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add support for md5sum checks for mirrored tarballs of packages with version ↵Felix Fietkau2011-03-211-0/+1
| | | | | | control source urls git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26260 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26181 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25838 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use := instead of = for PKG_CONFIG_PATH to prevent recursionFelix Fietkau2011-02-061-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25388 3c298f89-4303-0410-b956-a3cf2f4a3e73
* allow packages to override/extend PKG_CONFIG_PATHFelix Fietkau2011-02-061-2/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25386 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] Jo-Philipp Wich2010-12-131-4/+0
| | | | | | | | | - implement hooks for hostbuilds - use host build hooks to implement fixups for host build - move separator declaration to rules.mk git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24551 3c298f89-4303-0410-b956-a3cf2f4a3e73
* InstallDev: Move the "find" out of the lock critical section.Michael Büsch2010-11-041-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23858 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23857 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix typoMichael Büsch2010-10-161-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23482 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Support force-disabling per-package parallel build with ↵Michael Büsch2010-10-161-1/+7
| | | | | | {PKG,HOST}_BUILD_PARALLEL:=0 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23480 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add an option to default the default build rule to parallel build.Michael Büsch2010-08-201-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22737 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Support parallel build of certain packagesMichael Büsch2010-08-181-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22696 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22668 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove linux 2.4 specific build system codeFelix Fietkau2010-06-261-3/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21951 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove support for DEBUG_DIR, it has lost its purpose since STAGING_DIR_ROOT ↵Felix Fietkau2010-02-241-2/+1
| | | | | | was added git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19849 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: fix rebuild checks (#6210)Felix Fietkau2009-11-231-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18497 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18056 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add support for build system overlays that alter package build instructionsFelix Fietkau2009-08-311-0/+7
| | | | | | currently unused, will probably be managed by the feeds system later git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17445 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] add dist and distcheck target (to create new source balls)Ralph Hempel2009-05-311-0/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16230 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] add package source path overrideRalph Hempel2009-05-311-0/+11
| | | | | | | | | | | | - use external source tree instead of source ball - the external package source tree will be included as symlink - make package/<name>/clean will delete the symlink instead of whole source tree - usefull in conjunction with external SCM like ClearCase - package-version-override.mk has to be included before package.mk git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16227 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add missing bits from [15451]Nicolas Thill2009-04-271-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15453 3c298f89-4303-0410-b956-a3cf2f4a3e73
* introduce a generic PKG_CONFIG_DEPENDS for packages that need to be ↵Nicolas Thill2009-04-271-2/+2
| | | | | | reconfigured when certain CONFIG options changed, rename PKG_BUILD_DEPEND to PKG_BUILD_DEPENDS git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15451 3c298f89-4303-0410-b956-a3cf2f4a3e73
* clean up automake/pkg-config handling, move separate host/package variable ↵Felix Fietkau2009-04-221-8/+12
| | | | | | exports to templates, fix automake path for host builds git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15339 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move pkg config stuff to per-target exports to prevent interference with ↵Felix Fietkau2009-04-201-0/+4
| | | | | | host builds git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15299 3c298f89-4303-0410-b956-a3cf2f4a3e73
* get rid of $Id$ - it has never helped us and it has broken too many patches ;)Felix Fietkau2009-04-171-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add PKG_HOST_ONLY variable to prevent target buildsFelix Fietkau2009-03-171-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14906 3c298f89-4303-0410-b956-a3cf2f4a3e73