144 Commits (f2bb7754f5255141205a73e9e7709a49bb55bb4a)

Author SHA1 Message Date
Felix Fietkau 6f752c725a build: create pkginfo dir earlier to avoid build breakage 12 years ago
Felix Fietkau 44cd20b802 build: rework the package/install step - collect package install lists during package/compile, then install all packages at once 12 years ago
Felix Fietkau b086475e1e build: ensure that package/host-build build system code does not run in parallel, fixes rare spurious parallel build failures 12 years ago
Felix Fietkau c4198ce48d build: move the -j flag to package.mk instead of grabbing it from makeflags, otherwise it occasionally gets omitted on full builds 12 years ago
Felix Fietkau be6f437649 build: add a config option for passing the top-level make jobserver to packages that have parallel build enabled, significantly improves parallelization and gets rid of CPU overcommit during intra-package parallel builds 12 years ago
John Crispin 584bc13d38 use autoreconf hook instead of manual call 12 years ago
Felix Fietkau cf788fc731 build: add a config option for choosing the prefered standard c++ library and add uclibc++.mk to make this easy to handle in packages 12 years ago
Felix Fietkau 3051de8701 build: add a variable for injecting config variable dependencies for the .prepared stamp 12 years ago
Felix Fietkau 16a34b222a package.mk: unexport the QUIET variable, it affects some packages like xapian-bindings 12 years ago
Felix Fietkau 031990cf95 build: generate a list of provided libraries for each ipkg file (includes provided libraries from packages that the exporting package depends on) 12 years ago
Felix Fietkau edb862e8ec build: improve reliability of PKG_CONFIG_DEPENDS, remove old .configured_* stamps before creating a new one 13 years ago
Felix Fietkau f63daa85a2 fix a small logic error in package download 13 years ago
Felix Fietkau 874622d004 build system: add a feature that allows you to pull sources from a git tree instead of the usual tarball 13 years ago
Felix Fietkau 1b8dd6ed1c build system: add support for download-time make hooks 13 years ago
Felix Fietkau b568a64f8c add support for md5sum checks for mirrored tarballs of packages with version control source urls 13 years ago
Felix Fietkau 73c1dd9473 build: move the CCACHE_DIR to the build targets so that it doesn't interfere with a host ccache setup 13 years ago
Felix Fietkau de4fdd0ce6 add a stamp that can forcibly disable autorebuild for a specific package - useful for testing changes to packages with extremely long recompilation times 14 years ago
Felix Fietkau 7e4a29fbe2 use := instead of = for PKG_CONFIG_PATH to prevent recursion 14 years ago
Felix Fietkau e8b193f10b allow packages to override/extend PKG_CONFIG_PATH 14 years ago
Jo-Philipp Wich dbf8d9c516 - implement hooks for hostbuilds - use host build hooks to implement fixups for host build - move separator declaration to rules.mk 14 years ago
Michael Büsch 995cedb319 InstallDev: Move the "find" out of the lock critical section. 14 years ago
Michael Büsch e5fc77edd9 Lock copying of directory trees to the staging dir with the "staging-dir" lock. This lock probably has to be taken elsewhere, too. 14 years ago
Michael Büsch dc7a68165d Fix typo 14 years ago
Michael Büsch d4807cf557 Support force-disabling per-package parallel build with {PKG,HOST}_BUILD_PARALLEL:=0 14 years ago
Michael Büsch fde498904f Add an option to default the default build rule to parallel build. 14 years ago
Michael Büsch 7ed7784f59 Support parallel build of certain packages 14 years ago
Lars-Peter Clausen b4a1337cf9 Add build variants support to InstallDev 14 years ago
Felix Fietkau 6117c04c94 remove linux 2.4 specific build system code 14 years ago
Felix Fietkau 15fecc9e6c remove support for DEBUG_DIR, it has lost its purpose since STAGING_DIR_ROOT was added 15 years ago
Felix Fietkau 79fcadc146 hostapd: fix rebuild checks (#6210) 15 years ago
Felix Fietkau 94cdcbde6d add experimental support for a new menuconfig submenu "Package features". 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 15 years ago
Felix Fietkau 5af113eb7c add support for build system overlays that alter package build instructions currently unused, will probably be managed by the feeds system later 15 years ago
Ralph Hempel 6f29703625 add dist and distcheck target (to create new source balls) 15 years ago
Ralph Hempel 3dc92527a3 add package source path override - 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 15 years ago
Nicolas Thill f0a3d4d501 add missing bits from [15451] 15 years ago
Nicolas Thill 7658ef1316 introduce a generic PKG_CONFIG_DEPENDS for packages that need to be reconfigured when certain CONFIG options changed, rename PKG_BUILD_DEPEND to PKG_BUILD_DEPENDS 15 years ago
Felix Fietkau 63129f9b4c clean up automake/pkg-config handling, move separate host/package variable exports to templates, fix automake path for host builds 15 years ago
Felix Fietkau 729e0fa4d1 move pkg config stuff to per-target exports to prevent interference with host builds 15 years ago
Felix Fietkau 34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;) 15 years ago
Felix Fietkau 7ec4ad271e add PKG_HOST_ONLY variable to prevent target builds 15 years ago
Felix Fietkau ddcfaeb1e5 move host build in packages into a separate namespace: package/<name>/host/<target> this allows dependencies between host and target packages, and saves unnecessary host builds for packages that contain both variants 15 years ago
Felix Fietkau e4a5d86b54 fix the target-local CONFIG_SITE export. apparently make can't do more than one of them in a single line 16 years ago
Felix Fietkau 76683dc7b2 move the CONFIG_SITE export to target-local exports 16 years ago
Felix Fietkau b6f0cb5366 prepend $(STAGING_DIR)/host to the PATH only in target-package stampfile targets, should fix usage of cross tools with host builds 16 years ago
Felix Fietkau fb4a318970 fix the host vs native stampfile dependencies to improve quilt support 16 years ago
Felix Fietkau aa0778f77e allow concurrent use of host-build.mk and package.mk as well as their templates 16 years ago
Felix Fietkau 6ccc1c8e3c fix typo 16 years ago
Felix Fietkau eb1c4db039 add support for an optional staging directory for debug binaries 16 years ago
Nicolas Thill a3edea1b91 add support for alternative C libraries (currently only glibc/eglibc) other (related) changes: - kernel headers are now installed using "make headers_install" on 2.6 - target names now contain an openwrt "vendor" tag (e.g. mips-openwrt-linux-gnu) - build directory names now contain gcc/libc name/version - default cpu for x86 is now i486 (required to build glibc/eglibc) 16 years ago
Felix Fietkau cb73e4ad91 fix inotify detection for linux 2.4 (fixes glib2 and packages that depend on it on brcm-2.4) 16 years ago