nbd
45e42754c7
add support for md5sum checks for mirrored tarballs of packages with version control source urls
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26260 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-21 23:02:06 +00:00
nbd
63c3f4a351
build: move the CCACHE_DIR to the build targets so that it doesn't interfere with a host ccache setup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-15 19:58:32 +00:00
nbd
5f6d9de5eb
add a stamp that can forcibly disable autorebuild for a specific package - 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
2011-03-03 00:17:08 +00:00
nbd
dde6436d4e
use := instead of = for PKG_CONFIG_PATH to prevent recursion
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25388 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-06 16:04:33 +00:00
nbd
81f2848a66
allow packages to override/extend PKG_CONFIG_PATH
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-06 15:18:30 +00:00
jow
0630427205
[include]
...
- 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
2010-12-13 19:04:33 +00:00
mb
c8d3d3ba2e
InstallDev: Move the "find" out of the lock critical section.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-04 12:42:37 +00:00
mb
d7522f1c22
Lock copying of directory trees to the staging dir with the "staging-dir" 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
2010-11-04 12:28:55 +00:00
mb
455b1caafb
Fix typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-16 18:46:22 +00:00
mb
6c7ebb0443
Support force-disabling per-package parallel build with {PKG,HOST}_BUILD_PARALLEL:=0
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-16 18:42:58 +00:00
mb
9d3a35f2c7
Add an option to default the default build rule to parallel build.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-20 14:48:59 +00:00
mb
c7ee63dd76
Support parallel build of certain packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-18 13:57:58 +00:00
lars
4c8a665c4a
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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22668 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-16 09:45:21 +00:00
nbd
7ec88f88f4
remove linux 2.4 specific build system code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 20:42:38 +00:00
nbd
c993669cc4
remove support for DEBUG_DIR, it has lost its purpose since STAGING_DIR_ROOT was added
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-24 23:43:05 +00:00
nbd
1a0728cfcf
hostapd: fix rebuild checks ( #6210 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-23 17:12:54 +00:00
nbd
5b6977f54e
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18056 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-17 22:11:21 +00:00
nbd
8e82554c4f
add support for build system overlays that alter package build instructions
...
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
2009-08-31 01:11:25 +00:00
ralph
5880d2ea18
[package] add dist and distcheck target (to create new source balls)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-31 12:01:05 +00:00
ralph
9158119b40
[package] 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-31 11:35:13 +00:00
nico
7af6a41b95
add missing bits from [15451]
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-27 16:02:21 +00:00
nico
db6a8626c2
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
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-27 15:53:00 +00:00
nbd
aa1fa7f74a
clean up automake/pkg-config handling, move separate host/package variable exports to templates, fix automake path for host builds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15339 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-22 22:05:55 +00:00
nbd
2c740480ef
move pkg config stuff to per-target exports to prevent interference with host builds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15299 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-20 18:56:57 +00:00
nbd
796a9d1091
get rid of $Id$ - it has never helped us and it has broken too many patches ;)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:09:46 +00:00
nbd
c9882fd995
add PKG_HOST_ONLY variable to prevent target builds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-17 02:37:04 +00:00
nbd
e83c4ff721
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-17 02:20:34 +00:00
nbd
26a4d6751b
fix the target-local CONFIG_SITE export. apparently make can't do more than one of them in a single line
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-13 16:16:54 +00:00
nbd
78fcc87c77
move the CONFIG_SITE export to target-local exports
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-12 13:57:56 +00:00
nbd
12ef7b4712
prepend $(STAGING_DIR)/host to the PATH only in target-package stampfile targets, should fix usage of cross tools with host builds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-09 01:15:59 +00:00
nbd
ce4c74d452
fix the host vs native stampfile dependencies to improve quilt support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 23:54:05 +00:00
nbd
3d7b088997
allow concurrent use of host-build.mk and package.mk as well as their templates
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 18:10:05 +00:00
nbd
9dd6200927
fix typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14609 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 04:36:56 +00:00
nbd
928d915afc
add support for an optional staging directory for debug binaries
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-13 03:21:25 +00:00
nico
c3c59f4189
[massive] 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)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-08 01:49:11 +00:00
nbd
d654a6572b
fix inotify detection for linux 2.4 (fixes glib2 and packages that depend on it on brcm-2.4)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-08 12:07:14 +00:00
lars
b25e47676f
oops, previous commit was broken. remove wrong line break.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-11 16:17:28 +00:00
lars
061bed4163
Add InstallDev/(Pre|Post) hooks.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-11 16:13:14 +00:00
nbd
4a0457153b
add default Build/Install template, which is activated by setting PKG_INSTALL=1
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-03 13:19:50 +00:00
nbd
7ed16efdcd
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
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-01 11:03:58 +00:00
nbd
2f9873da2b
allow packages to forcibly disable the svn/git mirror downloading attempt by setting PKG_SOURCE_MIRROR:=0 ( #3815 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12034 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 02:43:33 +00:00
nbd
83b31e078f
large improvement for parallel builds. works without V=99 now and without warnings. tested with -j on an 2x dual core opteron machine
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-09 15:38:45 +00:00
nbd
aa7be8c164
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
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-14 14:31:31 +00:00
nbd
d0a426b8b8
fix packages that use -f on other build system makefiles
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-03 02:12:46 +00:00
agb
e4a2fbfbc4
expunge find GNUism
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-27 11:31:27 +00:00
nbd
3031854f72
add improved autotools fixups
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-27 02:11:07 +00:00
nbd
bb25bc5138
add $(STAGING_DIR)/host, which contains target specific, but host executable files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-27 02:10:54 +00:00
nbd
0260315795
clean up after staging packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-25 02:19:48 +00:00
nbd
0dd83aded7
add automatic file tracking and uninstallation for files installed in $(STAGING_DIR) and $(STAGING_DIR_HOST)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-25 01:39:15 +00:00
nbd
81a381b30e
add a second parameter to InstallDev/UninstallDev for specifying the path to STAGING_DIR_HOST
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-23 00:41:40 +00:00