Jo-Philipp Wich
2dc5b96600
[include] autotools.mk: introduce PKG_REMOVE_FILES to delete certain files after applying patches and before doing any fixups
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24348 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 15:55:05 +00:00
Jo-Philipp Wich
a5b5726b4c
[include] autotools.mk: remove GNUmakefile before running autoreconf (spotted libgcrypt++)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 11:55:41 +00:00
Jo-Philipp Wich
e989746744
[include] autotools.mk: allow disabling autoreconf, remove libdir fixup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24321 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 02:24:21 +00:00
Jo-Philipp Wich
5b6a0bc948
[include] autotools.mk: allow autogen.sh / autoreconf to fail (for now)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24320 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 01:19:52 +00:00
Jo-Philipp Wich
dae3c43cc3
[include] autotools.mk: if ./autogen.sh exists, call that. Call autoreconfig only if configure.in or configure.ac exists
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24319 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 01:15:38 +00:00
Jo-Philipp Wich
07d0739c17
[include] deploy the steamroller tactics and autoreconfigure any package carring the libtool fixup,
...
this should solve a number of issues ranging from linking into the host, syntax errors in libtool and
missing make targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24317 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 00:54:14 +00:00
Jo-Philipp Wich
a2ac1d5f64
[include] re-enable the libtool PKG_BUILD_DEPENDS for PKG_FIXUP and emit a deprecation warning. Packages must specify PKG_BUILD_DEPENDS:=libtool
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-04 19:56:47 +00:00
Mirko Vogt
0d0efee113
[trunk/include/autotools.mk] ensure accidentally installed *.la-files (into $STAGING_DIR) are going to be removed afterwards - this actually should be done within respective package-Makefiles itself, however they need to stay compatible with libtool v1.5.x which is used in backfire, since it (may) require those files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-04 13:44:43 +00:00
Mirko Vogt
06878dba17
[trunk/include/autotools.mk] disable libtool fixups in trunk globally
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24234 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-04 00:11:09 +00:00
Imre Kaloz
1ae1fb6b50
update to the latest stable kernels
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 18:50:11 +00:00
Felix Fietkau
438fd77049
change the recursive dependency template to use more make evaluation - the shell command got so long that it triggered "Argument list too long" on some systems ( #8231 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 14:07:12 +00:00
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