Commit Graph

1124 Commits (b7a045a26169fdf2a46ec5136f36126bc425d9d2)

Author SHA1 Message Date
Felix Fietkau 0ee162c483 use PREFIX/bin instead of PREFIX/sbin for all host builds (fixes e2fsprogs path)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 18:49:18 +00:00
Imre Kaloz 06e8850d41 cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 13:46:09 +00:00
Imre Kaloz 00da58c6ae remove 2.6.25 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 13:43:32 +00:00
Imre Kaloz c1725149e1 switch from ext2 to ext4 (w/o) journaling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 12:12:39 +00:00
Jo-Philipp Wich 2a5914606c [include] package-ipkg.mk: add support for "essential" package flag, fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-11 16:18:01 +00:00
Florian Fainelli a4e62a74a7 [buildroot] make targets provide their KERNELNAME
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-08 07:31:25 +00:00
Michael Büsch 09f68e4a53 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
Michael Büsch 8238fd3971 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
Imre Kaloz a497060e39 update kernels to 2.6.32.25 and 2.6.35.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-04 09:01:08 +00:00
Michael Büsch 99abe56d08 deptest: Install of host tools has to be forced for every test, because the host staging dir is cleaned prior a test.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-03 14:58:32 +00:00
Michael Büsch d4b77f3145 Lock copying to STAGING_DIR_ROOT. This fixes build failures for parallelized build.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-29 15:07:23 +00:00
Florian Fainelli 0ae16236fa [buildroot] add support for darcs repositories
This patch adds support for darcs repositories (as sources of packages).

It does *not* add support for darcs:// URI scheme because such a scheme
do not exist (AFAIK).  You must therefore manually set PKG_SOURCE_PROTO
to darcs in your Makefile (and use a regular http:// URI). You also have
to set PKG_SOURCE_VERSION to a string matching a tag contained in the
repository, and PKG_SOURCE_SUBDIR to something sensible
($(PACKAGE_NAME)-$(PACKAGE_SOURCE_VERSION) for instance).

Same rationale as for the previous patch ("useless to most, but small
and straightforward so why no add it?).

Best regards,

Signed-off-by: Gabriel Kerneis <kerneis@pps.jussieu.fr>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-24 12:36:44 +00:00
Michael Büsch 20f078ba28 Add md5sum for linux-2.6.36
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-20 23:07:35 +00:00
Jo-Philipp Wich 94d6c4e9ca [include] netfilter: workaround a userspace/kernel mismatch on Linux 2.6.35 and later
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23521 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-18 20:39:07 +00:00
Florian Fainelli 089d03f61a [buildroot] make ModuleAutoLoad more readable
When doing a build with tracing on, the expansion of ModuleAutoLoad can get a
little hairy.

Using intermediate variables to name the arguments makes tracing more readable.

One side effect is that if an argument is accidentally left out, we won't get
all of the parameters shifted one over thanks to quoting (done in AutoLoad).

Signed-of-by: Philip Prindeville <philipp@redfish-solutions.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-18 06:58:11 +00:00
Michael Büsch c6fd9b8697 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
Michael Büsch 1718894846 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
Felix Fietkau 081e19e380 set the umask in toplevel.mk instead of forcing the user to adjust it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-14 15:53:47 +00:00
Jo-Philipp Wich e97eede58b [include] add a prereq check for umask 0022, other settings will result in broken packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-14 14:25:29 +00:00
Jo-Philipp Wich 03965bd6f3 [include] quilt.mk: export PATCH for patch-kernel.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-08 09:21:34 +00:00
Jo-Philipp Wich bbcec77333 [include] host.mk: introduce PATCH which refers to either gpatch or patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-07 11:33:12 +00:00
Jo-Philipp Wich cd91f0efcd [include] rename PATCH to KPATCH
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23286 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-07 11:32:09 +00:00
Ralph Hempel e7c0aa70ad [include] add configure as package target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05 20:20:13 +00:00
Jo-Philipp Wich 0aedfbfd70 [include] package-ipkg.mk: build sysupgrade keepfile hints out of conffiles not yet present in the package.
This applies to config directories or files that do not exist but may be created by the
user after package installation.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23257 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05 19:20:27 +00:00
Jo-Philipp Wich 6c7a71c78e [include] correct default package status info (install -> unknown) - fixes "opkg_conf_write_status_files: Internal error: package ... has a NULL dest"
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-04 17:20:49 +00:00
Imre Kaloz 4bf29e323c [kernel]: upgrade kernel versions to the latest stable ones
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23219 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-04 10:40:41 +00:00
Lars-Peter Clausen dd2a52b3a0 [kernel] update 2.6.35.x to 2.6.35.7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-04 07:42:32 +00:00
Michael Büsch ef39b40498 optionally support parallel toolchain build. This defaults to off, because certain toolchain versions are known to break on parallel build. However, it significantly speeds up the build and latest versions of the tools do compile fine.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-03 12:54:07 +00:00
Jo-Philipp Wich 974c5831e0 [include] prime .ipk control files with Status: field to introduce hold for post flash installed packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23175 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-02 04:04:12 +00:00
Jo-Philipp Wich 30b7385634 [include] add support for flagging packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-02 03:21:33 +00:00
Gabor Juhos b587a7b92a package-ipkg.mk: use the BOARD variable in opkg cmdline if ARCH_PACKAGES is not defined
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-01 07:09:34 +00:00
Michael Büsch 3b225c1032 Add maintainer information to menuconfig description dialog
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23161 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-30 11:01:01 +00:00
Felix Fietkau 32b6ebf57c fix build dependencies on packages with multiple variants but no selected virtual packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-20 20:17:28 +00:00
Jo-Philipp Wich f10bd899e6 [package] opkg:
- implement --add-dest and --add-arch commandline options, this allows to run entirely without configuration
	- tweak default config location patch to not require a config in offline root mode
	- rename --force-run-hooks option to --force-postinstall, its a more appropriate name
	- utilize new opkg commandline options in package-ipkg.mk and remove config file generation


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-12 21:16:02 +00:00
Jo-Philipp Wich 69c9cad2a1 [buildroot] Implement an ARCH_PACKAGES variable which defaults to BOARD but can be overridden on a per-subtarget basis.
This is intended for targets such as adm5120 and malta which support both big and little endianess and will replace
the target specific exceptions in package-defaults and Image Builder.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-12 20:49:54 +00:00
Jo-Philipp Wich 0d80fe1320 [include] pass opkg offline root as command line arg, solves caching issues when switching between multiple subtargets, thanks Ralph Hempel for reporting
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-09 21:05:51 +00:00
Michael Büsch ac52578132 host.mk: Don't use bash-ism
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-06 21:22:54 +00:00
Jo-Philipp Wich d9386d548b [package] opkg: add --force-run-hooks option to run postinstall scripts in offline root mode, utilize it for host package install
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-06 19:58:05 +00:00
Jo-Philipp Wich e6b1eeef0c [buildroot] use opkg/host for package installation
- speeds up rebuild operations
	- aligns generated package list format with the one created by opkg on the target
	- fixes broken dependency handling in imagebuilder


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-06 02:15:46 +00:00
Felix Fietkau 607146b4f2 fix build error in tools on darwin on newer macs (patch by dirtyfreebooter)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-05 16:16:59 +00:00
Jo-Philipp Wich 6fe46ff0d1 [include] ignore vim .swp files when scanning for updates (#7867)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-03 12:31:18 +00:00
Felix Fietkau e3b691c96c add a command for printing a cleaned up make target database - will be used to analyze package dependencies at some point
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-01 17:51:36 +00:00
Lars-Peter Clausen 9e71dd15ae [kernel] Update 2.6.35.x to 2.6.35.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22833 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-29 18:19:20 +00:00
Florian Fainelli 4b4be29af2 [kernel] update to 2.6.33.7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-22 17:08:07 +00:00
Florian Fainelli 53fe275b46 [kernel] update to 2.6.32.20
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-22 17:07:37 +00:00
Hauke Mehrtens 3de7c99eb3 kernel: update kernel version to 2.6.34.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-22 13:26:06 +00:00
Michael Büsch 6f9b7988d5 Update to 2.6.35.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-21 19:25:07 +00:00
Michael Büsch d8f3c30df1 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
Felix Fietkau b480498d1b fix libtool fixup for libstdc++
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-19 17:46:11 +00:00
Felix Fietkau 48edb47057 fix compile errors by forcing bash to be used as a shell in all submake processes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-19 13:32:47 +00:00
Felix Fietkau e045698909 speed up the ipkg build process some more by reordering commands
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-19 12:49:46 +00:00
Felix Fietkau 14be678094 speed up the build system by including include/shell.sh on shell commands only where necessary
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-19 12:49:37 +00:00
Michael Büsch b1b64870a2 Also support parallel build for host-packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-18 14:23:06 +00:00
Michael Büsch 78ae653e01 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-Peter Clausen e091bb591e 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
Gabor Juhos 593cb693bb generic: fix kernel version check for 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22642 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-14 21:07:23 +00:00
Florian Fainelli 4b4642a57c [kernel] add 2.6.35 md5sum
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-08 20:00:35 +00:00
Lars-Peter Clausen aab5464b30 Add kernel_nconfig make target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-06 21:36:35 +00:00
Jo-Philipp Wich 4a7b2363a2 [include] support unpacking of .tar.xz archives, no prereq on xzcat for now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-06 21:29:23 +00:00
Jo-Philipp Wich 503d7a462b [buildsystem] revert r22372 and r22405, dependency on host libtool causes problems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-28 02:18:16 +00:00
Jo-Philipp Wich fc7a57fa5d [buildsystem] use host opkg for installing packages in buildroot and ImageBuilder
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22372 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-23 19:49:19 +00:00
Felix Fietkau 0bc00cc460 add a build system option for collecting all kernel debug information (including modules) in a tarball
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-21 15:18:24 +00:00
Imre Kaloz db6751b804 we don't care about the md5sums for -rc kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-19 11:35:30 +00:00
Imre Kaloz 0b47979d12 update kernel versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22289 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-19 11:34:03 +00:00
Alexandros C. Couloumbis 4ecd145ce0 finalize r22241 fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-17 08:50:19 +00:00
Nicolas Thill 466667bc03 partially revert [22145], keep LINUX_KMOD_SUFFIX, needed to build external modules in ./packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 16:01:13 +00:00
Claudio Mignanti 33990405fb massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 14:06:13 +00:00
Hauke Mehrtens 924f0f93f9 kernel: update to kernel 2.6.34.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-10 22:39:52 +00:00
Felix Fietkau a082943b09 rename target/linux/generic-2.6 to generic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 20:42:58 +00:00
Felix Fietkau 67fbcc7bd4 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
Felix Fietkau ffbb7d5497 remove linux 2.4 kernel versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 20:42:30 +00:00
Jo-Philipp Wich 881cdcaf36 [netfilter] package TPROXY target and module infrastructure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-22 22:39:22 +00:00
Alexandros C. Couloumbis 15bd904bc2 include/netfilter.mk fix typo on r21795
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21796 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 14:51:51 +00:00
Alexandros C. Couloumbis 8c377e08fc include/netfilter.mk: add 2.6.35 kernel support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21795 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 14:44:27 +00:00
Alexandros C. Couloumbis bb7d9586c8 generic-2.6: add kernel 2.6.35 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-07 05:54:29 +00:00
Nicolas Thill de002a7d39 update linux kernel to 2.6.32.14
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-27 18:09:09 +00:00
Hauke Mehrtens 0710ef015d kernel: update kernel to version 2.6.32.13 and 2.6.33.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-23 13:16:51 +00:00
Lars-Peter Clausen 00e07cf808 [kernel] Add checksum for 2.6.34, refresh 2.6.34 patches and update targets from 2.6.34-rcX to 2.6.34
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-17 22:05:07 +00:00
Felix Fietkau 21316a5d49 only build bin packages for the selected build variants (same behaviour as with ipkg builds)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-15 15:57:00 +00:00
Nicolas Thill f1d6454a21 image/ext2: fix rootfs partition size after [21362]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-05 06:14:32 +00:00
Nicolas Thill 4ec517b27c buildsystem: add a macro to test options supported by the host compiler
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-02 17:22:01 +00:00
Nicolas Thill ba1debe042 include: rearrange image.mk, indent, reorder, change some ifeq/ifneq tests
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-29 00:44:26 +00:00
Nicolas Thill b1c612578a replace old quote stripping with calls to qstrip macro
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-29 00:32:44 +00:00
Nicolas Thill 8b1974bdad buildsystem: rename tgz/TGZ "feature" and matching options to targz/TARGZ
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-28 14:47:43 +00:00
Nicolas Thill f696b88feb images: allow generating .cpio.gz and/or .tar.gz archives whether ramdisk is selected or not
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-28 14:27:03 +00:00
Alexandros C. Couloumbis 9c40666ff7 sync to kernel 2.6.32.12
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21195 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-27 14:30:08 +00:00
Alexandros C. Couloumbis bea3cfb0f7 add 2.6.33.3 & 2.6.32.12 kernel checksums
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-27 08:39:06 +00:00
Gabor Juhos cdf16b5bb0 kernel: refresh patches for 2.6.34-rc5 and update md5sum
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-22 07:13:21 +00:00
Gabor Juhos a0a67ed366 kernel: refresh patches for 2.6.33.2, and drop md5sum for older 2.6.32 kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-22 07:12:09 +00:00
Felix Fietkau 934a788454 fix gnu find prereq check
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-21 20:42:09 +00:00
Felix Fietkau da1d443c2c fix timestamp checks for build system paths which have '.svn' in their directory name
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-14 22:21:15 +00:00
Alexandros C. Couloumbis e11f6c9349 don't use lzma/jffs2 on <2.6.33, set lzma/jffs2 as default for >=2.6.33. switch verbose mode on compresor statistics.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-13 21:36:58 +00:00
Alexandros C. Couloumbis d120269b31 update kernel checksums
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-13 20:11:50 +00:00
Alexandros C. Couloumbis 8a70f533b7 finalize lzma/jffs2 support (currently not enebled by default, for kernels >=2.6.33) based on Edgar Soldin patches:
https://lists.openwrt.org/pipermail/openwrt-devel/2010-March/006550.html


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-13 14:07:22 +00:00
Nicolas Thill 9d42bb1a21 define a shared IMG_PREFIX variable used as a basename for image files, it contains board & subtarget infos (if appropriate) allowing subtargets to share the same bin directory without overwriting each other's files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-12 23:15:56 +00:00
Nicolas Thill fbb04a3462 netfilter: extension fixes (partially closes: #7045)
* add missing xt_owner (2.6)
 * enable ipt_quota (2.4), disabled in [8499] is building fine with recent iptables
 * add missing ipt_nat_tftp (2.4)
 * add missing nf_nat_amanda (2.6)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20693 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-04 12:35:06 +00:00
Nicolas Thill b163b3fcbc [cosmectic] include/netfilter.mk: move ebtables definitions at the end
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-04 03:43:13 +00:00
Nicolas Thill ef4f1d04ce [include] download.mk: fix bzr download method
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-29 13:06:19 +00:00
Felix Fietkau a2ec87dfec add a new helper macro to deal with conditional ./configure flags
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-29 03:38:40 +00:00
Felix Fietkau 62c5734bb4 prevent kernel.mk from defining PATCH_DIR and FILES_DIR for regular packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-29 03:07:54 +00:00
Hauke Mehrtens 5e7275d823 Some dependencies that are depending on target are not added into
the Depends line in the control file of the package.
For example +!(TARGET_brcm47xx||TARGET_brcm63xx):kmod-ssb does not
result in kmod-ssb for the x86 target or any other target.

This fixes #6874


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 19:22:59 +00:00
Gabor Juhos 8e67ddaccc kernel: update to 2.6.32.10
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 10:45:25 +00:00
Lars-Peter Clausen 474e2e2ee5 include/target.mk: Only set usb feature flag for a target if there is a HCD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20425 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-25 15:04:44 +00:00
Jo-Philipp Wich 693fc7f10f [include] the svn fallback code added in r20322 is evaluated with each make invocation and produces a lot of spurious "svn: broken pipe" error -
replace it with a more efficient version


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-23 01:21:50 +00:00
Florian Fainelli 6e84b166c4 change from /jffs to /overlay, patch from Daniel Dickinson
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-21 17:16:50 +00:00
Florian Fainelli a229f681ce [package] disable ucitrigger for now, not used, patch from Dave Kooper
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-21 17:16:45 +00:00
Florian Fainelli 01b98b8f2b fix svn download with older svn client versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20322 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-20 17:18:47 +00:00
Florian Fainelli 34109ec127 accept unknown server certificates by default on svn download
Some packages sources need to be checked out from server with unknown
certificates, silently accept by default in order not to stop builds, thanks rhk.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20299 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-19 13:44:47 +00:00
Markus Wigge eacdd48f66 new kernel checksums:
2.6.32.10
 2.6.33.1


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-16 13:04:03 +00:00
Travis Kemen e70ffc568c Updated post r19769, integrates the missing dl_method bzr hunk from #6370, uses the export subcommand for the vcs' that provide a usable version (hg archive doesn't work remotely, git archive isn't enabled on github), from #6700
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-14 21:55:11 +00:00
Nicolas Thill c930e873c4 sort entries in images md5sums files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-10 04:03:37 +00:00
Travis Kemen 91167603c8 The attached patch replaces $(1) install by $(if $(1), $(1),
install) in the definition, in order to be able to specify an install
rule, which is not always called install (example:
trunk/package/ncurses/Makefile has rules called install.libs and install.data).

Then its possible to do this in ncurses Makefile:

define Build/Install
       $(call Build/Install/Default, install.libs install.data)
endef

This patch does not affect anything else, as if no parameter is given,
it will use install as before.

-Raphael

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19996 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 20:19:48 +00:00
Travis Kemen 47a3a62caa this patch fixes toolchain parallel build, which reduces build time.
In order to enable parallel build, change line 21 of
include/host-build.mk from:

override MAKEFLAGS=

to:

override MAKEFLAGS=$(MAKE_JOBS)

-Raphael

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 20:15:12 +00:00
Lars-Peter Clausen 221422bfac image.mk: Adjust ubifs build behaviour to that of others image types
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 04:14:03 +00:00
Matteo Croce 7cce85a44a kernel: add 2.6.33 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-28 15:20:00 +00:00
Hauke Mehrtens 10bdcf0917 kernel: update to kernel 2.6.32.9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-28 10:16:47 +00:00
Felix Fietkau 5f4146c474 add support for marking specific kernel module packages as potentially being required for mounting the rootfs (patch by cshore)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-26 22:45:54 +00:00
Jo-Philipp Wich b3439cb770 [netfilter] properly package xt_comment.ko (#6742)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-26 00:23:39 +00:00
Felix Fietkau 031909ed63 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
Lars-Peter Clausen 05c56d8ee4 autotools.mk: Don't try to fixup .la files in the DevInstall host path, because
those .la files shouldn't go there anyway.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-20 23:40:53 +00:00
Travis Kemen 37e505be46 this patch adds support for bzr in include/download.mk, and fixes
whitespace.

-Raphael

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-20 04:48:07 +00:00
Hauke Mehrtens 70335ad165 [brcm-2.4] update kernel to version 2.4.37.9 and refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 21:30:10 +00:00
Jo-Philipp Wich 7fc4138b4d [generic-2.4] netfilter: add support for raw table and NOTRACK target (#5504)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 01:36:47 +00:00
Lars-Peter Clausen 141b270ff3 autotools.mk: Add PKG_LIBTOOL_PATHS variable.
PKG_LIBTOOL_PATHS can be used to specify to tell libtool_fixup where to look
for libtool scripts of a package. This is useful if a package has it's libtool
script in a non-standard location or has multiple libtool scripts.

The value should be a space seperated list of paths which are relative to
$(PKG_BUILD_DIR). It defautls to $(CONFIGURE_PATH).



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-18 23:50:44 +00:00
Felix Fietkau a2db2d8773 Revert "sort Kconfig symbols automatically to make Kaloz happy :p"
Relying on some sort implementations' weird behaviour of ignoring # and whitespaces at the beginning of a line is not a good idea, and it's certainly not portable

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-16 21:34:50 +00:00
Travis Kemen 37065ca92f update kernel from 2.6.32.7 to 2.6.32.8, thanks tripolar
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-12 01:12:11 +00:00
Gabor Juhos 565874a806 sort Kconfig symbols automatically to make Kaloz happy :p
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-11 13:07:10 +00:00
Imre Kaloz 98d6f0382b with no users left, remove support for 2.6.21
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-11 08:37:57 +00:00
Imre Kaloz 3b4e45c021 we use per-target kernel versions for 2.6 for a long time now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-11 08:35:33 +00:00
Lars-Peter Clausen 9c13b4a081 Allow colored output to be disabled when running a non-verbose build by
setting NO_COLOR=1


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-08 22:28:19 +00:00
Mike Baker 5092938d8a disable stdin unless make V=99; fixes bug where compilation can stall waiting for input
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-04 04:43:17 +00:00
Lars-Peter Clausen e201d1990d autotools.mk: Add libstdc++ quirk to libtool_fixup_libdir.
Fixes build of packages which use libtool and link against packages which link against libstdc++


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 14:51:22 +00:00
Imre Kaloz 4168e195e2 update to 2.6.32.7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19379 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-29 12:19:31 +00:00
Gabor Juhos 629cba4013 kernel: update to 2.6.32.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-28 11:54:20 +00:00
Felix Fietkau b0d9f1edb6 unset user overrides for quilt settings to prevent them from interfering with the build process (#6553)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-25 21:45:10 +00:00
Felix Fietkau fa404080cc fix rootfs preparation with rootfs containing files with whitespaces in the filename (based on patch from #6551)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-22 23:10:57 +00:00
Imre Kaloz f936538715 update to latest kernel versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19224 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-19 11:53:56 +00:00
Felix Fietkau 1c39f1b054 make sure that processed directories are printed on make V=99
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-16 22:18:56 +00:00
Jo-Philipp Wich d9e4e0db49 [buildroot] allow download urls using the file:// schema (#6480)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19120 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-13 19:38:53 +00:00
Lars-Peter Clausen 2710572b04 Add support for building ubifs images.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-11 01:10:45 +00:00
Imre Kaloz e3eb0dfcda upgrade to latest kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-09 23:13:27 +00:00
Lars-Peter Clausen af919ae232 Prevent unnecessary host package rebuilds.
Sometimes `make install` touches a file inside the build directory, so it is
betterr to create the build stamp after calling `make install` otherwise the
package is going to be rebuild even though nothing really changed.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-03 18:00:28 +00:00
Gabor Juhos 78385ba038 kernel: update to 2.6.31.9 and 2.6.32.2, and refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-01 11:11:17 +00:00
Imre Kaloz bbc7795b2f get rid of even more 2.6.28 stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18953 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-27 21:35:42 +00:00
Nicolas Thill 04f6ffc31f [include] use a common site/linux config, since site/linux-gnu & site/linux-uclibc configs are identical
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-18 10:38:16 +00:00
Felix Fietkau 98168dc456 do not download kernel sources when using an external kernel tree
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-14 13:54:03 +00:00
Imre Kaloz 5696a226d6 upgrade to 2.6.31.7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-11 11:10:49 +00:00
Jo-Philipp Wich fd7b3cd30d [package] iptables: add comment match to the core package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 20:52:58 +00:00
Gabor Juhos d9fde639de kernel: add md5sum for 2.6.32 final, and refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18636 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-04 20:26:55 +00:00
Florian Fainelli 2de49087ef [kernel] update to 2.6.30, refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-04 14:52:45 +00:00