Commit Graph

736 Commits (5a05e49782ac63c29fd89fce308569c52b31f2bc)

Author SHA1 Message Date
Felix Fietkau 0a5976b604 fix quilt variable and stampfile usage for host builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-17 03:21:52 +00:00
Felix Fietkau 2f5a8c4214 fix download reverse depends
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-17 02:37:10 +00:00
Felix Fietkau fb5f864919 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
Felix Fietkau 353386a643 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
Felix Fietkau 141b4fbe83 remove autoconf from prereq-build.mk, as it is part of the tools/ build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-16 18:57:34 +00:00
Lars-Peter Clausen baf558e318 Bison is not a prerequirement since it's build as part of the openwrt toolchain.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-16 18:54:35 +00:00
Felix Fietkau 019e6e2d31 move cflags default setting to target makefiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-14 03:17:06 +00:00
Felix Fietkau eee4fc3e80 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
Felix Fietkau 010eaaa4c2 make the compile: host-install dependency independent of the order in which the makefiles were included
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-12 14:07:08 +00:00
Felix Fietkau eafe10bcdb enable Host/Install on compile: if package.mk is included
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-12 14:00:26 +00:00
Felix Fietkau 3be17f26d5 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
Felix Fietkau 437c1c32bc fix KERNEL_PATCHVER for rc kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-09 15:05:57 +00:00
Felix Fietkau 1eb7b2098d 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
Felix Fietkau 205ea84c9f allow uml to access host.mk at DUMP time
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03 15:45:15 +00:00
Felix Fietkau bb66977c14 get rid of one more $(shell) instance
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14741 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03 15:28:57 +00:00
Felix Fietkau 2abf9f5f94 optimize the .config dependency chain in the toplevel makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03 15:08:55 +00:00
Felix Fietkau 937f1820f2 replace a few unnecessary $(shell) calls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03 14:55:53 +00:00
Felix Fietkau a01125e51b avoid repeating the same dependency multiple times
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03 14:54:19 +00:00
Felix Fietkau 0a45975466 avoid implicit rules in even more places
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03 14:16:48 +00:00
Felix Fietkau 285b593164 avoid using implicit rules during metadata dump to speed up the process even more
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03 14:07:39 +00:00
Felix Fietkau 87fcd635fe speed up metadata scanning a lot by avoiding unnecessary shell commands and make recursions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03 13:54:29 +00:00
Ralph Hempel 2c21b38c09 don't abort if the operation is failing
( if the board is connected via NFS files might be created by root and can't be changed at this point of time )



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14729 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-02 17:42:29 +00:00
Andy Boyett edd0fdaa0c readd $(HOST_CONFIGURE_VARS) to Host/Configure/Default, missed in r14699
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-02 03:03:21 +00:00
Ralph Hempel ce1f09a463 added source distribution to package dump, used by our SDK (include source distributions for offline usage)
added bugfix for sub-targets
added bugfix for help info
(thanks to Thomas)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-01 09:35:53 +00:00
Felix Fietkau b8429a4dd1 adjust host-build.mk to bring it closer to package.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14699 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-28 21:03:17 +00:00
Felix Fietkau 0440e2af34 add staging_dir/host/lib to LD_LIBRARY_PATH so that host-built applications can install and make use of shared libraries
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-28 21:03:06 +00:00
Felix Fietkau 4adf96dada allow packages to override PKG_UNPACK, HOST_UNPACK
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-25 21:43:04 +00:00
Nicolas Thill 84f43d1453 [toolchain] move common variables to a dedicated include file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-23 23:52:27 +00:00
Felix Fietkau e397df6ad1 initialize the url field for packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-23 18:51:12 +00:00
Felix Fietkau 835b12f4ad allow a separate patch directory for host patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14630 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 23:54:17 +00:00
Felix Fietkau eaf4095327 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
Felix Fietkau 5513e64b4b only define unpack templates if PKG_SOURCE is set
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 18:27:53 +00:00
Felix Fietkau 506037412e 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
Felix Fietkau 1ca982f27c eliminate redundancy by creating the quilt_used stampfile in the right place
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 17:50:31 +00:00
Felix Fietkau cb4bea1db2 fix missing change from r14610
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 16:49:21 +00:00
Felix Fietkau b892e1fb85 build system refactoring in preparation for allowing packages to do host-build steps
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 04:37:20 +00:00
Felix Fietkau 67c9c212e6 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
Hauke Mehrtens 8acc4624ee [kernel] update to 2.6.28.7 and 2.6.27.19
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-21 18:53:05 +00:00
Felix Fietkau e24e542063 remove support for ipp2p - it's unmaintained, broken, overmatching and undermatching => not that useful for QoS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-21 16:30:44 +00:00
Felix Fietkau e938e513eb move the EABI config override to the generic kernel config overrides, as it's arch specific, not target specific - fixes spurious kernel rebuild issues with EABI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14594 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-21 16:26:27 +00:00
Ralph Hempel 9ed7e77851 avoid kernel version in target if sub-targets available
(usefull if we have 2.4 and 2.6 sub-targets in parallel)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-20 10:32:45 +00:00
Ralph Hempel 35d2021ca9 change DEBUG_DIR to DEBUG_SCOPE_DIR (to avoid conflict with rules.mk)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-20 10:30:21 +00:00
Felix Fietkau 38afbcb1e2 fix potential rootfs owner/group mismatch (tgz root only, patch from #4562)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-19 17:19:29 +00:00
Felix Fietkau 93eaab1b2d make cvs checkouts more flexible. packages must now specify either -r <tag> or -D <date> in their source revision specification. previously date based checkouts were not supported
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-19 17:16:25 +00:00
Gabor Juhos d7b07dd5e9 [kernel] update to 2.6.28.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-19 16:11:07 +00:00
Markus Wigge d82a2138b4 added 2.6.28.6 checksum
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-18 17:42:32 +00:00
Nicolas Thill 9a4014daef [tools] genext2fs: update to 1.4.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14536 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-17 03:05:10 +00:00
Gabor Juhos d0c16b318e [kernel] update to 2.6.27.17
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-15 07:47:12 +00:00
Gabor Juhos 36065f034d [kernel] update to 2.6.28.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-15 06:26:27 +00:00
Felix Fietkau 55349584aa kernel: add missing definition for CONFIG_KALLSYMS_ALL
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-14 14:10:44 +00:00