Commit Graph

129 Commits (73c1dd947351573567541b34186aa381f6546bd8)

Author SHA1 Message Date
Felix Fietkau 73c1dd9473 build: move the CCACHE_DIR to the build targets so that it doesn't interfere with a host ccache setup
SVN-Revision: 26181
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
SVN-Revision: 25838
13 years ago
Felix Fietkau 7e4a29fbe2 use := instead of = for PKG_CONFIG_PATH to prevent recursion
SVN-Revision: 25388
14 years ago
Felix Fietkau e8b193f10b allow packages to override/extend PKG_CONFIG_PATH
SVN-Revision: 25386
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
SVN-Revision: 24551
14 years ago
Michael Büsch 995cedb319 InstallDev: Move the "find" out of the lock critical section.
SVN-Revision: 23858
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.
SVN-Revision: 23857
14 years ago
Michael Büsch dc7a68165d Fix typo
SVN-Revision: 23482
14 years ago
Michael Büsch d4807cf557 Support force-disabling per-package parallel build with {PKG,HOST}_BUILD_PARALLEL:=0
SVN-Revision: 23480
14 years ago
Michael Büsch fde498904f Add an option to default the default build rule to parallel build.
SVN-Revision: 22737
14 years ago
Michael Büsch 7ed7784f59 Support parallel build of certain packages
SVN-Revision: 22696
14 years ago
Lars-Peter Clausen b4a1337cf9 Add build variants support to InstallDev
Before building a build variant would have removed the staging files installed
by the previous build variant from the same makefile.

SVN-Revision: 22668
14 years ago
Felix Fietkau 6117c04c94 remove linux 2.4 specific build system code
SVN-Revision: 21951
14 years ago
Felix Fietkau 15fecc9e6c remove support for DEBUG_DIR, it has lost its purpose since STAGING_DIR_ROOT was added
SVN-Revision: 19849
14 years ago
Felix Fietkau 79fcadc146 hostapd: fix rebuild checks (#6210)
SVN-Revision: 18497
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
SVN-Revision: 18056
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
SVN-Revision: 17445
15 years ago
Ralph Hempel 6f29703625 add dist and distcheck target (to create new source balls)
SVN-Revision: 16230
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
SVN-Revision: 16227
15 years ago
Nicolas Thill f0a3d4d501 add missing bits from [15451]
SVN-Revision: 15453
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
SVN-Revision: 15451
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
SVN-Revision: 15339
15 years ago
Felix Fietkau 729e0fa4d1 move pkg config stuff to per-target exports to prevent interference with host builds
SVN-Revision: 15299
15 years ago
Felix Fietkau 34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
SVN-Revision: 15242
15 years ago
Felix Fietkau 7ec4ad271e add PKG_HOST_ONLY variable to prevent target builds
SVN-Revision: 14906
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
SVN-Revision: 14905
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
SVN-Revision: 14863
15 years ago
Felix Fietkau 76683dc7b2 move the CONFIG_SITE export to target-local exports
SVN-Revision: 14851
15 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
SVN-Revision: 14800
15 years ago
Felix Fietkau fb4a318970 fix the host vs native stampfile dependencies to improve quilt support
SVN-Revision: 14629
15 years ago
Felix Fietkau aa0778f77e allow concurrent use of host-build.mk and package.mk as well as their templates
SVN-Revision: 14621
15 years ago
Felix Fietkau 6ccc1c8e3c fix typo
SVN-Revision: 14609
15 years ago
Felix Fietkau eb1c4db039 add support for an optional staging directory for debug binaries
SVN-Revision: 14018
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)
SVN-Revision: 13931
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)
SVN-Revision: 12896
16 years ago
Lars-Peter Clausen 3601e8b9bb oops, previous commit was broken. remove wrong line break.
SVN-Revision: 12570
16 years ago
Lars-Peter Clausen 013d074603 Add InstallDev/(Pre|Post) hooks.
SVN-Revision: 12569
16 years ago
Felix Fietkau 3b937f85e8 add default Build/Install template, which is activated by setting PKG_INSTALL=1
SVN-Revision: 12512
16 years ago
Felix Fietkau 5719247ae3 add an extra build step Build/Install which allows you to run a make install target after the post-compile hooks have run - will be necessary for some libtool dependent stuff
SVN-Revision: 12452
16 years ago
Felix Fietkau 291e775fcd allow packages to forcibly disable the svn/git mirror downloading attempt by setting PKG_SOURCE_MIRROR:=0 (#3815)
SVN-Revision: 12034
16 years ago
Felix Fietkau 4c665e6ca4 large improvement for parallel builds. works without V=99 now and without warnings. tested with -j on an 2x dual core opteron machine
SVN-Revision: 11414
16 years ago
Felix Fietkau 82572cf767 revert ARM to oabi by default, add some eabi patches for fixing up the toolchain, which unfortunately break eabi userland, but are IMHO a necessary basis for further eabi fixes
SVN-Revision: 10458
17 years ago
Felix Fietkau f75b9f6815 fix packages that use -f on other build system makefiles
SVN-Revision: 10088
17 years ago
Andy Boyett 6343c3be59 expunge find GNUism
SVN-Revision: 9955
17 years ago
Felix Fietkau 5c2991d8bc add improved autotools fixups
SVN-Revision: 9942
17 years ago
Felix Fietkau 28922775b6 add $(STAGING_DIR)/host, which contains target specific, but host executable files
SVN-Revision: 9939
17 years ago
Felix Fietkau 3de5e1d29a clean up after staging packages
SVN-Revision: 9909
17 years ago
Felix Fietkau 957103c337 add automatic file tracking and uninstallation for files installed in $(STAGING_DIR) and $(STAGING_DIR_HOST)
SVN-Revision: 9905
17 years ago
Felix Fietkau 3c228ee88f add a second parameter to InstallDev/UninstallDev for specifying the path to STAGING_DIR_HOST
SVN-Revision: 9853
17 years ago
John Crispin a49f06f5e7 fixed copy paste error
SVN-Revision: 9792
17 years ago