Commit graph

1194 commits

Author SHA1 Message Date
Florian Fainelli
8a6ee777b0 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>

SVN-Revision: 23513
2010-10-18 06:58:11 +00:00
Michael Büsch
dc7a68165d Fix typo
SVN-Revision: 23482
2010-10-16 18:46:22 +00:00
Michael Büsch
d4807cf557 Support force-disabling per-package parallel build with {PKG,HOST}_BUILD_PARALLEL:=0
SVN-Revision: 23480
2010-10-16 18:42:58 +00:00
Felix Fietkau
5e3284ecfd set the umask in toplevel.mk instead of forcing the user to adjust it
SVN-Revision: 23445
2010-10-14 15:53:47 +00:00
Jo-Philipp Wich
c11586a203 add a prereq check for umask 0022, other settings will result in broken packages
SVN-Revision: 23442
2010-10-14 14:25:29 +00:00
Jo-Philipp Wich
38e3474542 quilt.mk: export PATCH for patch-kernel.sh
SVN-Revision: 23315
2010-10-08 09:21:34 +00:00
Jo-Philipp Wich
3cf0250da2 host.mk: introduce PATCH which refers to either gpatch or patch
SVN-Revision: 23287
2010-10-07 11:33:12 +00:00
Jo-Philipp Wich
d3f412f4ec rename PATCH to KPATCH
SVN-Revision: 23286
2010-10-07 11:32:09 +00:00
Ralph Hempel
a1973192c6 add configure as package target
SVN-Revision: 23262
2010-10-05 20:20:13 +00:00
Jo-Philipp Wich
f3a5085903 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.
SVN-Revision: 23257
2010-10-05 19:20:27 +00:00
Jo-Philipp Wich
8ae1a4fc69 correct default package status info (install -> unknown) - fixes "opkg_conf_write_status_files: Internal error: package ... has a NULL dest"
SVN-Revision: 23222
2010-10-04 17:20:49 +00:00
Imre Kaloz
5f9a6a5431 upgrade kernel versions to the latest stable ones
SVN-Revision: 23219
2010-10-04 10:40:41 +00:00
Lars-Peter Clausen
83d6a36019 update 2.6.35.x to 2.6.35.7
SVN-Revision: 23213
2010-10-04 07:42:32 +00:00
Michael Büsch
cf323eb924 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.
SVN-Revision: 23196
2010-10-03 12:54:07 +00:00
Jo-Philipp Wich
cb4c39b55d prime .ipk control files with Status: field to introduce hold for post flash installed packages
SVN-Revision: 23175
2010-10-02 04:04:12 +00:00
Jo-Philipp Wich
8b9ca16985 add support for flagging packages
SVN-Revision: 23172
2010-10-02 03:21:33 +00:00
Gabor Juhos
b5b21d03c4 package-ipkg.mk: use the BOARD variable in opkg cmdline if ARCH_PACKAGES is not defined
SVN-Revision: 23166
2010-10-01 07:09:34 +00:00
Michael Büsch
e9eb82b33b Add maintainer information to menuconfig description dialog
SVN-Revision: 23161
2010-09-30 11:01:01 +00:00
Felix Fietkau
7f80e26661 fix build dependencies on packages with multiple variants but no selected virtual packages
SVN-Revision: 23102
2010-09-20 20:17:28 +00:00
Jo-Philipp Wich
9bb6f3b5f3 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
SVN-Revision: 23032
2010-09-12 21:16:02 +00:00
Jo-Philipp Wich
064e7c8f00 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.
SVN-Revision: 23029
2010-09-12 20:49:54 +00:00
Jo-Philipp Wich
6cbd09df64 pass opkg offline root as command line arg, solves caching issues when switching between multiple subtargets, thanks Ralph Hempel for reporting
SVN-Revision: 22990
2010-09-09 21:05:51 +00:00
Michael Büsch
f54f9b25e1 host.mk: Don't use bash-ism
SVN-Revision: 22963
2010-09-06 21:22:54 +00:00
Jo-Philipp Wich
b1edd2ac6e opkg: add --force-run-hooks option to run postinstall scripts in offline root mode, utilize it for host package install
SVN-Revision: 22960
2010-09-06 19:58:05 +00:00
Jo-Philipp Wich
9d74fc3eb3 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
SVN-Revision: 22949
2010-09-06 02:15:46 +00:00
Felix Fietkau
392888845c fix build error in tools on darwin on newer macs (patch by dirtyfreebooter)
SVN-Revision: 22934
2010-09-05 16:16:59 +00:00
Jo-Philipp Wich
6734c999af ignore vim .swp files when scanning for updates (#7867)
SVN-Revision: 22880
2010-09-03 12:31:18 +00:00
Felix Fietkau
00d1e599d7 add a command for printing a cleaned up make target database - will be used to analyze package dependencies at some point
SVN-Revision: 22871
2010-09-01 17:51:36 +00:00
Lars-Peter Clausen
cf445bb48f Update 2.6.35.x to 2.6.35.4
SVN-Revision: 22833
2010-08-29 18:19:20 +00:00
Florian Fainelli
dc6cc63c00 update to 2.6.33.7
SVN-Revision: 22767
2010-08-22 17:08:07 +00:00
Florian Fainelli
b1becffa5b update to 2.6.32.20
SVN-Revision: 22766
2010-08-22 17:07:37 +00:00
Hauke Mehrtens
09e05d833d kernel: update kernel version to 2.6.34.5
SVN-Revision: 22759
2010-08-22 13:26:06 +00:00
Michael Büsch
7ebcd04786 Update to 2.6.35.3
SVN-Revision: 22753
2010-08-21 19:25:07 +00:00
Michael Büsch
fde498904f Add an option to default the default build rule to parallel build.
SVN-Revision: 22737
2010-08-20 14:48:59 +00:00
Felix Fietkau
c4b3e38fc0 fix libtool fixup for libstdc++
SVN-Revision: 22732
2010-08-19 17:46:11 +00:00
Felix Fietkau
b3c871375b fix compile errors by forcing bash to be used as a shell in all submake processes
SVN-Revision: 22726
2010-08-19 13:32:47 +00:00
Felix Fietkau
d9e0d5705a speed up the ipkg build process some more by reordering commands
SVN-Revision: 22722
2010-08-19 12:49:46 +00:00
Felix Fietkau
a9136c0892 speed up the build system by including include/shell.sh on shell commands only where necessary
SVN-Revision: 22720
2010-08-19 12:49:37 +00:00
Michael Büsch
f4daa84832 Also support parallel build for host-packages
SVN-Revision: 22698
2010-08-18 14:23:06 +00:00
Michael Büsch
7ed7784f59 Support parallel build of certain packages
SVN-Revision: 22696
2010-08-18 13:57:58 +00:00
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
2010-08-16 09:45:21 +00:00
Gabor Juhos
2126f5a1cd generic: fix kernel version check for 2.6.35
SVN-Revision: 22642
2010-08-14 21:07:23 +00:00
Florian Fainelli
371d5c7cc7 add 2.6.35 md5sum
SVN-Revision: 22538
2010-08-08 20:00:35 +00:00
Lars-Peter Clausen
a97d6b0c95 Add kernel_nconfig make target
SVN-Revision: 22518
2010-08-06 21:36:35 +00:00
Jo-Philipp Wich
fa802af399 support unpacking of .tar.xz archives, no prereq on xzcat for now
SVN-Revision: 22517
2010-08-06 21:29:23 +00:00
Jo-Philipp Wich
e47a8a001c revert r22372 and r22405, dependency on host libtool causes problems
SVN-Revision: 22406
2010-07-28 02:18:16 +00:00
Jo-Philipp Wich
8c1d9afc40 use host opkg for installing packages in buildroot and ImageBuilder
SVN-Revision: 22372
2010-07-23 19:49:19 +00:00
Felix Fietkau
fd8142403e add a build system option for collecting all kernel debug information (including modules) in a tarball
SVN-Revision: 22327
2010-07-21 15:18:24 +00:00
Imre Kaloz
41844dba86 we don't care about the md5sums for -rc kernels
SVN-Revision: 22290
2010-07-19 11:35:30 +00:00
Imre Kaloz
ca8f45b142 update kernel versions
SVN-Revision: 22289
2010-07-19 11:34:03 +00:00
Alexandros C. Couloumbis
57d2e57b02 finalize r22241 fixes
SVN-Revision: 22242
2010-07-17 08:50:19 +00:00
Nicolas Thill
5cc5f15047 partially revert [22145], keep LINUX_KMOD_SUFFIX, needed to build external modules in ./packages
SVN-Revision: 22146
2010-07-12 16:01:13 +00:00
Claudio Mignanti
2d86ea7bf3 massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950
SVN-Revision: 22145
2010-07-12 14:06:13 +00:00
Hauke Mehrtens
e2ce2feedb kernel: update to kernel 2.6.34.1
SVN-Revision: 22118
2010-07-10 22:39:52 +00:00
Felix Fietkau
da1bb88a2b rename target/linux/generic-2.6 to generic
SVN-Revision: 21952
2010-06-26 20:42:58 +00:00
Felix Fietkau
6117c04c94 remove linux 2.4 specific build system code
SVN-Revision: 21951
2010-06-26 20:42:38 +00:00
Felix Fietkau
157f44d718 remove linux 2.4 kernel versions
SVN-Revision: 21950
2010-06-26 20:42:30 +00:00
Jo-Philipp Wich
91468dcf4f package TPROXY target and module infrastructure
SVN-Revision: 21883
2010-06-22 22:39:22 +00:00
Alexandros C. Couloumbis
b6e28298fe include/netfilter.mk fix typo on r21795
SVN-Revision: 21796
2010-06-14 14:51:51 +00:00
Alexandros C. Couloumbis
e491939c70 include/netfilter.mk: add 2.6.35 kernel support
SVN-Revision: 21795
2010-06-14 14:44:27 +00:00
Alexandros C. Couloumbis
a2225b8b29 generic-2.6: add kernel 2.6.35 preliminary support
SVN-Revision: 21695
2010-06-07 05:54:29 +00:00
Nicolas Thill
e74e289fa8 update linux kernel to 2.6.32.14
SVN-Revision: 21583
2010-05-27 18:09:09 +00:00
Hauke Mehrtens
b18a1d217b kernel: update kernel to version 2.6.32.13 and 2.6.33.4
SVN-Revision: 21540
2010-05-23 13:16:51 +00:00
Lars-Peter Clausen
ba30e23bbc Add checksum for 2.6.34, refresh 2.6.34 patches and update targets from 2.6.34-rcX to 2.6.34
SVN-Revision: 21498
2010-05-17 22:05:07 +00:00
Felix Fietkau
73b78d4a75 only build bin packages for the selected build variants (same behaviour as with ipkg builds)
SVN-Revision: 21455
2010-05-15 15:57:00 +00:00
Nicolas Thill
c69cb2e520 image/ext2: fix rootfs partition size after [21362]
SVN-Revision: 21369
2010-05-05 06:14:32 +00:00
Nicolas Thill
08be2bcfd9 buildsystem: add a macro to test options supported by the host compiler
SVN-Revision: 21304
2010-05-02 17:22:01 +00:00
Nicolas Thill
23aa8be261 include: rearrange image.mk, indent, reorder, change some ifeq/ifneq tests
SVN-Revision: 21244
2010-04-29 00:44:26 +00:00
Nicolas Thill
224db523da replace old quote stripping with calls to qstrip macro
SVN-Revision: 21242
2010-04-29 00:32:44 +00:00
Nicolas Thill
b3b591c000 buildsystem: rename tgz/TGZ "feature" and matching options to targz/TARGZ
SVN-Revision: 21238
2010-04-28 14:47:43 +00:00
Nicolas Thill
7992df3721 images: allow generating .cpio.gz and/or .tar.gz archives whether ramdisk is selected or not
SVN-Revision: 21237
2010-04-28 14:27:03 +00:00
Alexandros C. Couloumbis
fdac9ae836 sync to kernel 2.6.32.12
SVN-Revision: 21195
2010-04-27 14:30:08 +00:00
Alexandros C. Couloumbis
de4fcf04ec add 2.6.33.3 & 2.6.32.12 kernel checksums
SVN-Revision: 21180
2010-04-27 08:39:06 +00:00
Gabor Juhos
4be3c3e48c kernel: refresh patches for 2.6.34-rc5 and update md5sum
SVN-Revision: 21082
2010-04-22 07:13:21 +00:00
Gabor Juhos
81062a12ac kernel: refresh patches for 2.6.33.2, and drop md5sum for older 2.6.32 kernels
SVN-Revision: 21081
2010-04-22 07:12:09 +00:00
Felix Fietkau
8149815189 fix gnu find prereq check
SVN-Revision: 21078
2010-04-21 20:42:09 +00:00
Felix Fietkau
091934e7fb fix timestamp checks for build system paths which have '.svn' in their directory name
SVN-Revision: 20856
2010-04-14 22:21:15 +00:00
Alexandros C. Couloumbis
668fd62080 don't use lzma/jffs2 on <2.6.33, set lzma/jffs2 as default for >=2.6.33. switch verbose mode on compresor statistics.
SVN-Revision: 20844
2010-04-13 21:36:58 +00:00
Alexandros C. Couloumbis
498bf7402a update kernel checksums
SVN-Revision: 20842
2010-04-13 20:11:50 +00:00
Alexandros C. Couloumbis
43ee14563c 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
SVN-Revision: 20837
2010-04-13 14:07:22 +00:00
Nicolas Thill
e2b57ecf5f 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
SVN-Revision: 20834
2010-04-12 23:15:56 +00:00
Nicolas Thill
aa8e2e8685 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)
SVN-Revision: 20693
2010-04-04 12:35:06 +00:00
Nicolas Thill
1b0a9b51c4 include/netfilter.mk: move ebtables definitions at the end
SVN-Revision: 20690
2010-04-04 03:43:13 +00:00
Nicolas Thill
4ba18f5916 download.mk: fix bzr download method
SVN-Revision: 20582
2010-03-29 13:06:19 +00:00
Felix Fietkau
e10df8d2b5 add a new helper macro to deal with conditional ./configure flags
SVN-Revision: 20570
2010-03-29 03:38:40 +00:00
Felix Fietkau
965f770083 prevent kernel.mk from defining PATCH_DIR and FILES_DIR for regular packages
SVN-Revision: 20569
2010-03-29 03:07:54 +00:00
Hauke Mehrtens
3dd6909c20 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

SVN-Revision: 20553
2010-03-28 19:22:59 +00:00
Gabor Juhos
e66a368bd1 kernel: update to 2.6.32.10
SVN-Revision: 20444
2010-03-26 10:45:25 +00:00
Lars-Peter Clausen
2bc9d6f6e9 include/target.mk: Only set usb feature flag for a target if there is a HCD
SVN-Revision: 20425
2010-03-25 15:04:44 +00:00
Jo-Philipp Wich
40781b7290 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
SVN-Revision: 20377
2010-03-23 01:21:50 +00:00
Florian Fainelli
7af8ee0481 change from /jffs to /overlay, patch from Daniel Dickinson
SVN-Revision: 20356
2010-03-21 17:16:50 +00:00
Florian Fainelli
e7f046805a disable ucitrigger for now, not used, patch from Dave Kooper
SVN-Revision: 20355
2010-03-21 17:16:45 +00:00
Florian Fainelli
b195af191b fix svn download with older svn client versions
SVN-Revision: 20322
2010-03-20 17:18:47 +00:00
Florian Fainelli
08a790efb6 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.

SVN-Revision: 20299
2010-03-19 13:44:47 +00:00
Markus Wigge
cfdbb2508d new kernel checksums: 2.6.32.10 2.6.33.1
SVN-Revision: 20241
2010-03-16 13:04:03 +00:00
Travis Kemen
db7082d899 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
SVN-Revision: 20222
2010-03-14 21:55:11 +00:00
Nicolas Thill
a9dc020014 sort entries in images md5sums files
SVN-Revision: 20116
2010-03-10 04:03:37 +00:00
Travis Kemen
e09067b221 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

SVN-Revision: 19996
2010-03-05 20:19:48 +00:00
Travis Kemen
cf7199f48b 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

SVN-Revision: 19995
2010-03-05 20:15:12 +00:00
Lars-Peter Clausen
d77662c7a3 image.mk: Adjust ubifs build behaviour to that of others image types
SVN-Revision: 19985
2010-03-05 04:14:03 +00:00
Matteo Croce
5ddd984cff kernel: add 2.6.33 patches
SVN-Revision: 19905
2010-02-28 15:20:00 +00:00
Hauke Mehrtens
0c7b285613 kernel: update to kernel 2.6.32.9
SVN-Revision: 19890
2010-02-28 10:16:47 +00:00
Felix Fietkau
93489b721e add support for marking specific kernel module packages as potentially being required for mounting the rootfs (patch by cshore)
SVN-Revision: 19878
2010-02-26 22:45:54 +00:00
Jo-Philipp Wich
42e453a2e3 properly package xt_comment.ko (#6742)
SVN-Revision: 19861
2010-02-26 00:23:39 +00:00
Felix Fietkau
15fecc9e6c remove support for DEBUG_DIR, it has lost its purpose since STAGING_DIR_ROOT was added
SVN-Revision: 19849
2010-02-24 23:43:05 +00:00
Lars-Peter Clausen
bd2e3ccd6f autotools.mk: Don't try to fixup .la files in the DevInstall host path, because those .la files shouldn't go there anyway.
SVN-Revision: 19785
2010-02-20 23:40:53 +00:00
Travis Kemen
f04ad5bb5f this patch adds support for bzr in include/download.mk, and fixes whitespace.
-Raphael

SVN-Revision: 19769
2010-02-20 04:48:07 +00:00
Hauke Mehrtens
a40daa8038 update kernel to version 2.4.37.9 and refresh patches
SVN-Revision: 19762
2010-02-19 21:30:10 +00:00
Jo-Philipp Wich
15c4e22d31 netfilter: add support for raw table and NOTRACK target (#5504)
SVN-Revision: 19721
2010-02-19 01:36:47 +00:00
Lars-Peter Clausen
d38ce9313b 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).

SVN-Revision: 19713
2010-02-18 23:50:44 +00:00
Felix Fietkau
8e808a54c2 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
SVN-Revision: 19675
2010-02-16 21:34:50 +00:00
Travis Kemen
5c75e1dd02 update kernel from 2.6.32.7 to 2.6.32.8, thanks tripolar
SVN-Revision: 19591
2010-02-12 01:12:11 +00:00
Gabor Juhos
03779da9c6 sort Kconfig symbols automatically to make Kaloz happy :p
SVN-Revision: 19582
2010-02-11 13:07:10 +00:00
Imre Kaloz
7b367d0313 with no users left, remove support for 2.6.21
SVN-Revision: 19578
2010-02-11 08:37:57 +00:00
Imre Kaloz
32db1d47ff we use per-target kernel versions for 2.6 for a long time now
SVN-Revision: 19577
2010-02-11 08:35:33 +00:00
Lars-Peter Clausen
6f3db147b6 Allow colored output to be disabled when running a non-verbose build by setting NO_COLOR=1
SVN-Revision: 19560
2010-02-08 22:28:19 +00:00
Mike Baker
129a1e0714 disable stdin unless make V=99; fixes bug where compilation can stall waiting for input
SVN-Revision: 19511
2010-02-04 04:43:17 +00:00
Lars-Peter Clausen
93567fed7a autotools.mk: Add libstdc++ quirk to libtool_fixup_libdir. Fixes build of packages which use libtool and link against packages which link against libstdc++
SVN-Revision: 19399
2010-01-30 14:51:22 +00:00
Imre Kaloz
e831384efb update to 2.6.32.7
SVN-Revision: 19379
2010-01-29 12:19:31 +00:00
Gabor Juhos
6ff3e61cf7 kernel: update to 2.6.32.6
SVN-Revision: 19358
2010-01-28 11:54:20 +00:00
Felix Fietkau
fdf2ba873a unset user overrides for quilt settings to prevent them from interfering with the build process (#6553)
SVN-Revision: 19332
2010-01-25 21:45:10 +00:00
Felix Fietkau
42e4f83096 fix rootfs preparation with rootfs containing files with whitespaces in the filename (based on patch from #6551)
SVN-Revision: 19282
2010-01-22 23:10:57 +00:00
Imre Kaloz
a827205280 update to latest kernel versions
SVN-Revision: 19224
2010-01-19 11:53:56 +00:00
Felix Fietkau
4af8308788 make sure that processed directories are printed on make V=99
SVN-Revision: 19174
2010-01-16 22:18:56 +00:00
Jo-Philipp Wich
4d904cf081 allow download urls using the file:// schema (#6480)
SVN-Revision: 19120
2010-01-13 19:38:53 +00:00
Lars-Peter Clausen
db06ca593b Add support for building ubifs images.
SVN-Revision: 19097
2010-01-11 01:10:45 +00:00
Imre Kaloz
f8834b9c70 upgrade to latest kernels
SVN-Revision: 19087
2010-01-09 23:13:27 +00:00
Lars-Peter Clausen
144fd07cd8 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.

SVN-Revision: 19021
2010-01-03 18:00:28 +00:00
Gabor Juhos
311c91775d kernel: update to 2.6.31.9 and 2.6.32.2, and refresh patches
SVN-Revision: 18982
2010-01-01 11:11:17 +00:00
Imre Kaloz
06d8dc9329 get rid of even more 2.6.28 stuff
SVN-Revision: 18953
2009-12-27 21:35:42 +00:00
Nicolas Thill
fda45977ec use a common site/linux config, since site/linux-gnu & site/linux-uclibc configs are identical
SVN-Revision: 18811
2009-12-18 10:38:16 +00:00
Felix Fietkau
3c74d0b385 do not download kernel sources when using an external kernel tree
SVN-Revision: 18777
2009-12-14 13:54:03 +00:00
Imre Kaloz
948ecb59d9 upgrade to 2.6.31.7
SVN-Revision: 18747
2009-12-11 11:10:49 +00:00
Jo-Philipp Wich
e830181f47 iptables: add comment match to the core package
SVN-Revision: 18706
2009-12-08 20:52:58 +00:00
Gabor Juhos
1b04095cb2 kernel: add md5sum for 2.6.32 final, and refresh patches
SVN-Revision: 18636
2009-12-04 20:26:55 +00:00
Florian Fainelli
a47b8566a1 update to 2.6.30, refresh patches
SVN-Revision: 18635
2009-12-04 14:52:45 +00:00
Imre Kaloz
b1b45530ab upgrade x86 to 2.6.31.6, resync patches
SVN-Revision: 18609
2009-11-30 10:32:20 +00:00
Felix Fietkau
d55a046c48 ar71xx: the squashfs-4k images are unreliable in some builds. add 4k, 8k padding to the generic squashfs images and use them on 4k devices as well
SVN-Revision: 18526
2009-11-24 13:55:40 +00:00
Felix Fietkau
79fcadc146 hostapd: fix rebuild checks (#6210)
SVN-Revision: 18497
2009-11-23 17:12:54 +00:00
Felix Fietkau
f1da5431bb build variants: only build opkg packages for the requested build variant (or any if no variant was specified for the package)
SVN-Revision: 18464
2009-11-22 07:08:39 +00:00
Imre Kaloz
0ebb9220a0 make lzo compressed initramfs selectable, too
SVN-Revision: 18457
2009-11-21 15:20:11 +00:00
Felix Fietkau
ea41d3a288 merge target kernel config files with subtarget config files and add a variable override for editing the target kernel config file with make kernel_menuconfig in case the subtarget contains overrides (thx, sn9)
SVN-Revision: 18362
2009-11-11 01:25:06 +00:00
Felix Fietkau
bf2fe7ea9a automatically adjust CONFIG_BLK_DEV_INITRD in the kernel config (thx, sn9)
SVN-Revision: 18361
2009-11-11 01:25:02 +00:00
Felix Fietkau
579d54038b build system: introduce a new feature called build variants. it allows building a package multiple times in one pass with different build dirs, based on the same build settings. replaces templating hacks like the one used in the hostapd package
SVN-Revision: 18357
2009-11-10 22:00:54 +00:00
Felix Fietkau
cba2a6b1fd fix one more instance of r18295
SVN-Revision: 18301
2009-11-04 22:51:07 +00:00
Felix Fietkau
7a75347b26 fix platform specific overrides for kernel modules, fixes lp on brcm-2.4
SVN-Revision: 18295
2009-11-04 21:54:53 +00:00
Felix Fietkau
7f75186333 unbreak brcm-2.4
SVN-Revision: 18287
2009-11-03 15:38:04 +00:00
Imre Kaloz
5aba9ecbd3 use the new option for creating squashfs4-lzma images
SVN-Revision: 18269
2009-11-02 09:53:29 +00:00
Felix Fietkau
affe22dce7 binutils: fix path to cloog and ppl
SVN-Revision: 18265
2009-11-02 00:47:24 +00:00
Andy Boyett
1141aecd2a use $(HOST_CFLAGS) when not cross-compiling. Thanks Daniel Gimpelevich
SVN-Revision: 18232
2009-10-30 22:52:27 +00:00
Florian Fainelli
4b09e185f2 remove support for 2.6.27, no target is using it anymore
SVN-Revision: 18201
2009-10-29 12:20:45 +00:00
Imre Kaloz
ed19cab256 swap logic on squashfs version selection
SVN-Revision: 18163
2009-10-26 12:06:47 +00:00
Florian Fainelli
21367682e8 update to 2.6.31.5
SVN-Revision: 18127
2009-10-23 12:13:00 +00:00
Florian Fainelli
d4b251bdb8 update to 2.6.30.9
SVN-Revision: 18126
2009-10-23 12:10:25 +00:00
Florian Fainelli
46c66bba36 update to 2.6.27.35
SVN-Revision: 18125
2009-10-23 09:12:17 +00:00
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
2009-10-17 22:11:21 +00:00
Nicolas Thill
72dbf7cdca netfilter: remove IPset leftovers missed from [17844]
SVN-Revision: 18032
2009-10-11 14:08:31 +00:00
Nicolas Thill
25d21566aa adjust pointer size from 4 to 8 bytes in x86_64 site config
SVN-Revision: 17845
2009-10-04 00:44:32 +00:00
Gabor Juhos
054c54512f kernel: upgrade to 2.6.30.8 and refresh patches
SVN-Revision: 17804
2009-10-01 10:07:32 +00:00
Hauke Mehrtens
e014faf13f Update ipset to version 3.2
SVN-Revision: 17764
2009-09-27 15:03:41 +00:00
Hauke Mehrtens
f9b2e12b61 Update to kernel 2.6.31.1
SVN-Revision: 17737
2009-09-26 13:28:32 +00:00
Felix Fietkau
7de1e0f116 host build: do not hide the configure command
SVN-Revision: 17716
2009-09-25 09:28:14 +00:00
Imre Kaloz
85fcc97a13 update to latest 2.6.27 and 2.6.30 kernels
SVN-Revision: 17602
2009-09-17 11:22:33 +00:00
Felix Fietkau
fb7fa9b3fd build prereq: look for tar under the name "gnutar" as well
SVN-Revision: 17575
2009-09-14 10:40:04 +00:00
Florian Fainelli
031e6f65ba update to 2.6.27.33
SVN-Revision: 17569
2009-09-11 07:45:08 +00:00
Gabor Juhos
c7d90d3dc4 kernel: add md5sum for 2.6.31 final, and refresh 2.6.31 patches
SVN-Revision: 17558
2009-09-10 13:37:31 +00:00
Florian Fainelli
3ce53b8d92 update to 2.6.30.6, compile tested on some targets only
SVN-Revision: 17549
2009-09-09 07:35:06 +00:00
Florian Fainelli
43d0be69d7 update to 2.6.27.32
SVN-Revision: 17548
2009-09-09 07:13:09 +00:00
Gabor Juhos
f7033929fa add menuconfig option for enabling debugfs support in the kernel
SVN-Revision: 17540
2009-09-08 07:25:20 +00:00
Felix Fietkau
3b61c2c2b1 now that $(BOARD) is part of the opkg ARCH, there's no reason to keep the board name around in kmod-* package versions anymore
SVN-Revision: 17528
2009-09-06 17:26:37 +00:00
Felix Fietkau
c4b197737e do not fail on empty packages
SVN-Revision: 17504
2009-09-03 02:53:13 +00:00
Felix Fietkau
d1f1ff5759 get rid of old data before staging unstripped package binaries
SVN-Revision: 17498
2009-09-03 01:10:37 +00:00
Felix Fietkau
e6ceb1cace build: when staging unstripped package files, install them to a temporary directory first to work around file overwrite issues in packages like asterisk
SVN-Revision: 17477
2009-09-02 19:01:09 +00:00
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
2009-08-31 01:11:25 +00:00
Gabor Juhos
71a3d54218 create v4 squashfs image for 2.6.31
SVN-Revision: 17406
2009-08-26 09:52:25 +00:00
Felix Fietkau
106a08103f change HOST_STAMP_PREPARED for toolchain builds to make sure that added/removed patches do not trigger partial toolchain rebuilds
SVN-Revision: 17392
2009-08-24 23:22:28 +00:00
Felix Fietkau
822615cb6b merge the control file and the .ipk file targets into one to prevent them from going out of sync
SVN-Revision: 17332
2009-08-20 15:48:41 +00:00
Felix Fietkau
59d130d867 fix multiple ipkg builds of the same arch but with different targets in the same checkout
SVN-Revision: 17325
2009-08-20 14:04:40 +00:00
Felix Fietkau
2bb863f337 when regenerating an ipkg package, make sure the entire ipkg build dir is cleaned as well to prevent stale files from making it into the package after configuration changes
SVN-Revision: 17313
2009-08-19 15:12:54 +00:00
Florian Fainelli
0c5a73ec9b use 2.6.30.5
SVN-Revision: 17296
2009-08-17 15:05:26 +00:00
Florian Fainelli
7f36797bb7 ensure CONTROL directory is created (#5683)
SVN-Revision: 17293
2009-08-17 10:14:25 +00:00
Florian Fainelli
63b86723b1 switch to 2.6.27.30
SVN-Revision: 17291
2009-08-17 09:17:06 +00:00
Gabor Juhos
e2f5de7a46 add menuconfig option for selecting initramfs compression
SVN-Revision: 17283
2009-08-16 05:35:34 +00:00
Florian Fainelli
1a63c3347b use 2.4.37.5
SVN-Revision: 17257
2009-08-14 13:56:17 +00:00
Felix Fietkau
bb5a40c64b add an optional config option for stripping all unnecessary symbol exports from the kernel image
SVN-Revision: 17181
2009-08-08 14:22:04 +00:00
Felix Fietkau
b0bf5fd9a0 add target for library specific installations into the root staging dir, fix ipkg build dependency on the package build stamp
SVN-Revision: 17168
2009-08-08 02:24:37 +00:00
Felix Fietkau
4169a2e834 add a staging directory for unstripped package files, useful for debugging, will be used for mklibs integration later
SVN-Revision: 17167
2009-08-07 21:58:35 +00:00
Felix Fietkau
dcd0e4a672 work around a threading bug in mksquashfs4 by limiting the number of threads to 1
SVN-Revision: 17146
2009-08-06 12:55:41 +00:00
Imre Kaloz
3d0c1254df brcm-2.4 is the only non-2.6 target, it's pointless to note the kernelversion in other targets' Target-Name
SVN-Revision: 17102
2009-08-03 11:44:28 +00:00
Imre Kaloz
671280830d add special handling for the adm5120 target, which uses subtargets for different endianess -- later we should come up with something smarter
SVN-Revision: 17101
2009-08-03 11:24:56 +00:00
Florian Fainelli
e5221c1405 revert 17050 this was not the right way to fix this
SVN-Revision: 17075
2009-08-01 12:10:22 +00:00
Imre Kaloz
9711e6ad55 use board names instead of arch in packages
SVN-Revision: 17063
2009-07-31 12:15:51 +00:00
Florian Fainelli
ab5bc14973 update to 2.6.30.4
SVN-Revision: 17062
2009-07-31 11:13:55 +00:00
Florian Fainelli
252607a79c update to 2.6.27.29
SVN-Revision: 17060
2009-07-31 11:09:27 +00:00
Florian Fainelli
04fc02ba10 move the global ipv6 option to the very bottom of the options passed to configure scripts, so that we can still override it in package makefiles (#5592, #5586)
SVN-Revision: 17050
2009-07-30 13:05:51 +00:00
Florian Fainelli
96ea82326c use 2.4.37.4 for brcm-2.4
SVN-Revision: 17045
2009-07-29 21:28:33 +00:00
Florian Fainelli
b2c26c32dd switch to 2.6.30.3
SVN-Revision: 17028
2009-07-27 10:02:24 +00:00
Florian Fainelli
103c99b960 switch to 2.6.27.28
SVN-Revision: 17027
2009-07-27 10:01:33 +00:00
Florian Fainelli
25a583126d remove 2.6.23 version, it is no longer in use
SVN-Revision: 17026
2009-07-27 09:01:42 +00:00
Florian Fainelli
11e1304ca0 globally define IPv6 support or not in OpenWrt, just like for largefiles, ipv6 disabled by default (#4857)
SVN-Revision: 16983
2009-07-25 21:45:51 +00:00
Florian Fainelli
0e783dde14 split ebtables packages and modules into ebtables ipv4/6 and watchers (#5001)
SVN-Revision: 16980
2009-07-25 19:47:48 +00:00
Florian Fainelli
07c4108af6 use --binary option of md5sum to improve compatibility with other platforms (#5192)
SVN-Revision: 16977
2009-07-25 17:16:00 +00:00
Florian Fainelli
c4d517c7bb use 2.6.27.7
SVN-Revision: 16968
2009-07-24 17:03:03 +00:00
Florian Fainelli
a06b20f5b3 fix ip6tables installation against ip6t_HL which has been merged in xt_HL since 2.6.29 (#5568)
SVN-Revision: 16964
2009-07-24 11:52:30 +00:00
Felix Fietkau
fd51984e64 add sitefile definitions for ac_cv_func_setgrent_void
SVN-Revision: 16962
2009-07-23 15:50:51 +00:00
Imre Kaloz
c3aa860a11 update to 2.6.30.2
SVN-Revision: 16931
2009-07-20 10:18:56 +00:00
Felix Fietkau
12b429b3a2 get rid of linux 2.6.29
SVN-Revision: 16883
2009-07-17 16:20:25 +00:00
Felix Fietkau
7dc435ea29 move the toolchain_install stampfile to the right place to fix spurious missing toolchain errors after cleaning stuff
SVN-Revision: 16776
2009-07-11 12:48:59 +00:00
Gabor Juhos
1981fd14a7 bump to 2.6.29.6 and refresh patches
SVN-Revision: 16698
2009-07-05 15:08:56 +00:00
Florian Fainelli
f74d16548d update targets to 2.6.30.1, update patches
SVN-Revision: 16697
2009-07-05 14:39:13 +00:00
Florian Fainelli
fefeecf52f update to latest 2.6.27.26 stable kernel
SVN-Revision: 16659
2009-07-03 09:31:52 +00:00
Florian Fainelli
d413a9639e Fix configure script path when not at the root of $(PKG_BUILD_DIR), thanks Daniel Dickinson (#5255)
SVN-Revision: 16656
2009-07-02 13:08:08 +00:00
Imre Kaloz
2004d4165a add preliminary coldfire v4e support
SVN-Revision: 16538
2009-06-21 18:34:07 +00:00
Florian Fainelli
a68fe5655e use 2.6.27.5
SVN-Revision: 16486
2009-06-17 08:46:47 +00:00
Hauke Mehrtens
a352413d20 Update kernel to 2.4.37.2
SVN-Revision: 16449
2009-06-14 11:37:28 +00:00
Hamish Guthrie
6103f5ecba Add 2.6.30 final
SVN-Revision: 16418
2009-06-11 08:17:21 +00:00
Felix Fietkau
0d442a08b6 enable ucitrigger by default
SVN-Revision: 16403
2009-06-10 14:37:46 +00:00
Lars-Peter Clausen
246a5b334d More libtool madness: Every package which was using c++ and libtool fixup was linked against libstd++ even though if it should have been linked against uclibc++. This is fixed by providing a special version of libtool fixup for packages which should use uclibc++. Not pretty but functional. Packages linking against uclibc++ should use PKG_FIXUP:=libtool-ucxx instead of PKG_FIXUP:=libtool
Somebody should probably check all packages using c++ with a dependency on stdlibc++
if uclibc++ can be used instead now.

SVN-Revision: 16317
2009-06-04 00:20:01 +00:00
Imre Kaloz
72d88f2a48 add pcie feature flag
SVN-Revision: 16293
2009-06-02 09:50:43 +00:00
Ralph Hempel
b6e5025f15 fix typo
SVN-Revision: 16236
2009-05-31 16:15:47 +00:00
Ralph Hempel
6f29703625 add dist and distcheck target (to create new source balls)
SVN-Revision: 16230
2009-05-31 12:01:05 +00:00
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
2009-05-31 11:35:13 +00:00
Florian Fainelli
43296ea284 use 2.4.37.1
SVN-Revision: 16149
2009-05-28 16:42:29 +00:00
Ralph Hempel
c4d7af7094 added BUILD_LOG_DIR variable, make clean will delete the ./logs dir
SVN-Revision: 16148
2009-05-28 16:30:04 +00:00
Florian Fainelli
cec852c087 update to 2.4.37, tested on wrt54gs (#4766)
SVN-Revision: 16144
2009-05-28 15:55:54 +00:00
Hamish Guthrie
7adb67f184 revert 15922 - add back 2.6.29 kernel support
SVN-Revision: 16127
2009-05-28 10:00:48 +00:00
Felix Fietkau
db4fd873f3 improve error message output of metadata scan - fix newline break and do not hide broken makefiles after the first invocation anymore
SVN-Revision: 16101
2009-05-27 02:50:53 +00:00
Florian Fainelli
d334c1e956 stop build when an error occurs and when BUILDLOG is set (#5160)
SVN-Revision: 16079
2009-05-26 14:18:05 +00:00
Felix Fietkau
1165dfed6a enable lzma for squashfs4 by default
SVN-Revision: 15962
2009-05-21 18:11:22 +00:00
Florian Fainelli
f150bc5e36 update to new stable 2.6.27.24
SVN-Revision: 15931
2009-05-20 09:00:09 +00:00
Florian Fainelli
01afcd2556 remove 2.6.29 since there are no remaining users of it
SVN-Revision: 15922
2009-05-19 10:21:32 +00:00
Gabor Juhos
7b7a99c771 create squashfs4 images if kernel version >=2.6.29
SVN-Revision: 15866
2009-05-15 12:10:47 +00:00
Felix Fietkau
11b33255ed netfilter: move iptable_raw, xt_NOTRACK from conntrack-extra to conntrack
SVN-Revision: 15854
2009-05-14 21:46:33 +00:00
Hauke Mehrtens
73cfaa0f2b ipt_TTL and ipt_ttl moved and were renamed in kernel 2.6.30
SVN-Revision: 15851
2009-05-14 19:01:38 +00:00
Felix Fietkau
b5ddcb18fa use unexport instead of export to clear perforce variables
SVN-Revision: 15708
2009-05-08 15:35:27 +00:00
Felix Fietkau
d4cb02e78f override some variables to make sure that perforce does not mess with our build process
SVN-Revision: 15705
2009-05-07 23:50:19 +00:00
Florian Fainelli
324d10e617 remove 2.6.26 since there are no remaining candidates for it
SVN-Revision: 15666
2009-05-07 12:21:02 +00:00
Jo-Philipp Wich
f3dd32d6fd adept netfilter.mk to updated imq
SVN-Revision: 15656
2009-05-07 03:16:36 +00:00
Imre Kaloz
86a4a6edb9 upgrade to newest stable kernel versions
SVN-Revision: 15575
2009-05-03 16:58:06 +00:00
Felix Fietkau
e3fc6c9b88 fix a typo that prevented host build specific variable exports from working
SVN-Revision: 15512
2009-04-30 14:15:45 +00:00
Imre Kaloz
8582177e73 2.6.30 supports different initramfs compressors, take care of them
SVN-Revision: 15498
2009-04-29 20:53:38 +00:00
Nicolas Thill
f0a3d4d501 add missing bits from [15451]
SVN-Revision: 15453
2009-04-27 16:02:21 +00:00
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
2009-04-27 15:53:00 +00:00
Florian Fainelli
c09afea86a also strip the .notes section of the kernel
SVN-Revision: 15443
2009-04-27 15:37:58 +00:00
Felix Fietkau
a296bdb983 make sure that at least sed is built before kernel_menuconfig/kernel_oldconfig is executed
SVN-Revision: 15433
2009-04-27 10:39:03 +00:00
Florian Fainelli
c2bf14deb9 remove 2.6.24, no target is relying on it
SVN-Revision: 15388
2009-04-24 14:35:19 +00:00
Felix Fietkau
97845201e4 add missing $(if) check for build logging
SVN-Revision: 15366
2009-04-24 01:20:23 +00:00
Felix Fietkau
5e1e868230 add BUILD_LOG option to let the build system log all subdir make command output to individual files (useful for debugging parallel builds)
SVN-Revision: 15362
2009-04-24 01:04:50 +00:00
Felix Fietkau
b3afad10f0 fix KERNEL_PATCHVER, properly strip -rc* suffixes
SVN-Revision: 15353
2009-04-23 14:55:07 +00:00
Felix Fietkau
9ecec14ce0 emit proper error messages if important kernel config files are missing
SVN-Revision: 15352
2009-04-23 14:55:02 +00:00
Nicolas Thill
c73f8dfbe0 remove 2 old interfering variables, probably missed from [15299]
SVN-Revision: 15340
2009-04-22 22:08:42 +00:00
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
2009-04-22 22:05:55 +00:00
Felix Fietkau
6d782f93d8 kernel: make sure all patches are applied before running menuconfig or oldconfig
SVN-Revision: 15325
2009-04-21 13:08:56 +00:00
Felix Fietkau
729e0fa4d1 move pkg config stuff to per-target exports to prevent interference with host builds
SVN-Revision: 15299
2009-04-20 18:56:57 +00:00
Felix Fietkau
05d8459bb9 add md5sum for linux 2.6.29.1
SVN-Revision: 15250
2009-04-18 17:04:09 +00:00
Felix Fietkau
56164a5815 add a modified version of the mips64 patch from #4603
SVN-Revision: 15249
2009-04-18 17:03:55 +00:00
Felix Fietkau
34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
SVN-Revision: 15242
2009-04-17 14:09:46 +00:00
Hamish Guthrie
ffc86f7e3a Update default configuration to use profiles
SVN-Revision: 15229
2009-04-16 10:40:15 +00:00
Felix Fietkau
4e49486b3c fix source file vs library order in a few prereq checks (#4326)
SVN-Revision: 15181
2009-04-09 21:13:15 +00:00
Felix Fietkau
e744c3130a move iptable_raw to the conntrack-extra package
SVN-Revision: 15175
2009-04-09 19:42:52 +00:00
Nicolas Thill
3b53bd7ef3 accomodate netfilter module (xt_recent) name change in 2.6.28, add missing kconfig when xt_recent is enabled
SVN-Revision: 15123
2009-04-06 19:00:20 +00:00
Felix Fietkau
167846e488 add support for config options checking in top-level directory stampfiles
SVN-Revision: 15112
2009-04-06 09:56:16 +00:00
Felix Fietkau
35073025b4 add a default template for Host/Install
SVN-Revision: 15110
2009-04-06 09:56:06 +00:00
Ralph Hempel
e2c9a02b16 ooops, m4 is already part of the host tools
SVN-Revision: 15044
2009-03-25 20:17:33 +00:00
Ralph Hempel
1744ca64f2 added m4 to prereq check, thanks to Gerph
SVN-Revision: 15043
2009-03-25 19:51:32 +00:00
Hauke Mehrtens
fc35fe7001 correct md5sum
SVN-Revision: 15025
2009-03-24 16:56:23 +00:00
Hauke Mehrtens
62595883fb update to kernel version 2.6.28.9
SVN-Revision: 15017
2009-03-24 15:06:53 +00:00
Felix Fietkau
9d8f81149f fix the path to the build dir for host packages
SVN-Revision: 14998
2009-03-23 18:33:40 +00:00
Felix Fietkau
0a81b47617 fix calling the update target for host-only builds
SVN-Revision: 14997
2009-03-23 18:33:24 +00:00
Felix Fietkau
3616727c87 fix HOST_QUILT override
SVN-Revision: 14996
2009-03-23 18:32:58 +00:00
Felix Fietkau
24dee6de52 speed up quilt imports
SVN-Revision: 14987
2009-03-23 12:02:02 +00:00
Felix Fietkau
227399122b add makefile target alias package/<name>/host/<target> for host builds
SVN-Revision: 14944
2009-03-18 21:53:35 +00:00
Hamish Guthrie
b6d7bfc94f Final updates to default configuration of ps3 petitboot sub-target
SVN-Revision: 14918
2009-03-17 16:02:52 +00:00
Imre Kaloz
45a676441d update to 2.6.28.8
SVN-Revision: 14916
2009-03-17 12:41:05 +00:00
Felix Fietkau
9b96b24e32 fix quilt variable and stampfile usage for host builds
SVN-Revision: 14910
2009-03-17 03:21:52 +00:00
Felix Fietkau
510bdd3f0e fix download reverse depends
SVN-Revision: 14907
2009-03-17 02:37:10 +00:00
Felix Fietkau
7ec4ad271e add PKG_HOST_ONLY variable to prevent target builds
SVN-Revision: 14906
2009-03-17 02:37:04 +00:00
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
2009-03-17 02:20:34 +00:00
Felix Fietkau
1c7a03659c remove autoconf from prereq-build.mk, as it is part of the tools/ build
SVN-Revision: 14901
2009-03-16 18:57:34 +00:00
Lars-Peter Clausen
cd53668352 Bison is not a prerequirement since it's build as part of the openwrt toolchain.
SVN-Revision: 14900
2009-03-16 18:54:35 +00:00
Felix Fietkau
72faa09dff move cflags default setting to target makefiles
SVN-Revision: 14866
2009-03-14 03:17:06 +00:00
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
2009-03-13 16:16:54 +00:00
Felix Fietkau
b29f9112df make the compile: host-install dependency independent of the order in which the makefiles were included
SVN-Revision: 14853
2009-03-12 14:07:08 +00:00
Felix Fietkau
252c2229f8 enable Host/Install on compile: if package.mk is included
SVN-Revision: 14852
2009-03-12 14:00:26 +00:00
Felix Fietkau
76683dc7b2 move the CONFIG_SITE export to target-local exports
SVN-Revision: 14851
2009-03-12 13:57:56 +00:00
Felix Fietkau
5810934476 fix KERNEL_PATCHVER for rc kernels
SVN-Revision: 14808
2009-03-09 15:05:57 +00:00
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
2009-03-09 01:15:59 +00:00
Felix Fietkau
f00754d191 allow uml to access host.mk at DUMP time
SVN-Revision: 14743
2009-03-03 15:45:15 +00:00
Felix Fietkau
015dff9d7d get rid of one more $(shell) instance
SVN-Revision: 14741
2009-03-03 15:28:57 +00:00
Felix Fietkau
88f6e9f9fd optimize the .config dependency chain in the toplevel makefile
SVN-Revision: 14740
2009-03-03 15:08:55 +00:00
Felix Fietkau
431c9267b4 replace a few unnecessary $(shell) calls
SVN-Revision: 14739
2009-03-03 14:55:53 +00:00
Felix Fietkau
f3c14b3de8 avoid repeating the same dependency multiple times
SVN-Revision: 14738
2009-03-03 14:54:19 +00:00
Felix Fietkau
882190b198 avoid implicit rules in even more places
SVN-Revision: 14737
2009-03-03 14:16:48 +00:00
Felix Fietkau
7aae9d3725 avoid using implicit rules during metadata dump to speed up the process even more
SVN-Revision: 14736
2009-03-03 14:07:39 +00:00
Felix Fietkau
127296bc45 speed up metadata scanning a lot by avoiding unnecessary shell commands and make recursions
SVN-Revision: 14734
2009-03-03 13:54:29 +00:00
Ralph Hempel
47c78e48bd 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 )
SVN-Revision: 14729
2009-03-02 17:42:29 +00:00
Andy Boyett
4911754522 readd $(HOST_CONFIGURE_VARS) to Host/Configure/Default, missed in r14699
SVN-Revision: 14724
2009-03-02 03:03:21 +00:00
Ralph Hempel
6ae7a0f94f 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)
SVN-Revision: 14703
2009-03-01 09:35:53 +00:00
Felix Fietkau
333fc3f7e1 adjust host-build.mk to bring it closer to package.mk
SVN-Revision: 14699
2009-02-28 21:03:17 +00:00
Felix Fietkau
5dcaa510e8 add staging_dir/host/lib to LD_LIBRARY_PATH so that host-built applications can install and make use of shared libraries
SVN-Revision: 14698
2009-02-28 21:03:06 +00:00
Felix Fietkau
e8b6104dde allow packages to override PKG_UNPACK, HOST_UNPACK
SVN-Revision: 14659
2009-02-25 21:43:04 +00:00
Nicolas Thill
8a2030ff3d move common variables to a dedicated include file
SVN-Revision: 14648
2009-02-23 23:52:27 +00:00
Felix Fietkau
f0bc868861 initialize the url field for packages
SVN-Revision: 14643
2009-02-23 18:51:12 +00:00
Felix Fietkau
f684d0a47b allow a separate patch directory for host patches
SVN-Revision: 14630
2009-02-22 23:54:17 +00:00
Felix Fietkau
fb4a318970 fix the host vs native stampfile dependencies to improve quilt support
SVN-Revision: 14629
2009-02-22 23:54:05 +00:00
Felix Fietkau
610e45ae5c only define unpack templates if PKG_SOURCE is set
SVN-Revision: 14623
2009-02-22 18:27:53 +00:00
Felix Fietkau
aa0778f77e allow concurrent use of host-build.mk and package.mk as well as their templates
SVN-Revision: 14621
2009-02-22 18:10:05 +00:00
Felix Fietkau
bc6fcb0067 eliminate redundancy by creating the quilt_used stampfile in the right place
SVN-Revision: 14620
2009-02-22 17:50:31 +00:00
Felix Fietkau
e7b01c6aa1 fix missing change from r14610
SVN-Revision: 14617
2009-02-22 16:49:21 +00:00
Felix Fietkau
7eb1589875 build system refactoring in preparation for allowing packages to do host-build steps
SVN-Revision: 14610
2009-02-22 04:37:20 +00:00
Felix Fietkau
6ccc1c8e3c fix typo
SVN-Revision: 14609
2009-02-22 04:36:56 +00:00
Hauke Mehrtens
3f085cd501 update to 2.6.28.7 and 2.6.27.19
SVN-Revision: 14601
2009-02-21 18:53:05 +00:00
Felix Fietkau
68d73be80c remove support for ipp2p - it's unmaintained, broken, overmatching and undermatching => not that useful for QoS
SVN-Revision: 14596
2009-02-21 16:30:44 +00:00
Felix Fietkau
08b408a4c5 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
SVN-Revision: 14594
2009-02-21 16:26:27 +00:00
Ralph Hempel
3d0285a783 avoid kernel version in target if sub-targets available (usefull if we have 2.4 and 2.6 sub-targets in parallel)
SVN-Revision: 14576
2009-02-20 10:32:45 +00:00
Ralph Hempel
6e590d85f3 change DEBUG_DIR to DEBUG_SCOPE_DIR (to avoid conflict with rules.mk)
SVN-Revision: 14575
2009-02-20 10:30:21 +00:00
Felix Fietkau
6b6c8fd100 fix potential rootfs owner/group mismatch (tgz root only, patch from #4562)
SVN-Revision: 14569
2009-02-19 17:19:29 +00:00
Felix Fietkau
71f2a68d52 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
SVN-Revision: 14566
2009-02-19 17:16:25 +00:00
Gabor Juhos
1b55cf14cc update to 2.6.28.6
SVN-Revision: 14565
2009-02-19 16:11:07 +00:00
Markus Wigge
c0ac3512d9 added 2.6.28.6 checksum
SVN-Revision: 14552
2009-02-18 17:42:32 +00:00
Nicolas Thill
9b759f26c9 genext2fs: update to 1.4.1
SVN-Revision: 14536
2009-02-17 03:05:10 +00:00
Gabor Juhos
47665da430 update to 2.6.27.17
SVN-Revision: 14513
2009-02-15 07:47:12 +00:00
Gabor Juhos
97dde3b72d update to 2.6.28.5
SVN-Revision: 14512
2009-02-15 06:26:27 +00:00
Felix Fietkau
18441c327a kernel: add missing definition for CONFIG_KALLSYMS_ALL
SVN-Revision: 14507
2009-02-14 14:10:44 +00:00
Michael Büsch
e2737772c2 Add 2.6.28.5 md5sum
SVN-Revision: 14502
2009-02-13 17:55:28 +00:00
Gabor Juhos
e5c9f00637 netfilter: remove CHAOS, TARPIT and DELUDE references
SVN-Revision: 14461
2009-02-09 13:27:39 +00:00
Gabor Juhos
a7782176f9 update to 2.6.28.4
SVN-Revision: 14441
2009-02-08 13:01:28 +00:00
Gabor Juhos
7f04c52b92 update to 2.6.27.15
SVN-Revision: 14440
2009-02-08 12:32:39 +00:00
Felix Fietkau
7b1820a1b7 strip the .note.gnu.build-id section from kernel images, which on some platforms can lead to unusable 3.1G kernel image files
SVN-Revision: 14357
2009-02-02 16:39:28 +00:00
Nicolas Thill
1f5c64d436 prevent quilt from loading any configuration file (closes: #4520)
SVN-Revision: 14351
2009-02-02 07:41:01 +00:00
Lars-Peter Clausen
24f02449ff Add menuconfig option for enabling profiling in the kernel.
SVN-Revision: 14272
2009-01-29 23:52:35 +00:00
Nicolas Thill
1be5092692 move IPKG_STATE_DIR from ./rules.mk to ./include/package-ipkg.mk and change its value to suit opkg
SVN-Revision: 14269
2009-01-29 20:13:01 +00:00
Gabor Juhos
85963798be update to 2.6.28.2
SVN-Revision: 14247
2009-01-28 15:47:34 +00:00
Gabor Juhos
e1eab1038d remove trailing whitespace from the md5sum of the 2.6.27.13 tarball (closes #4502)
SVN-Revision: 14185
2009-01-25 20:31:26 +00:00
Felix Fietkau
ca8486a632 improve support for building on mac os x by improving detection of missing components
SVN-Revision: 14180
2009-01-25 19:00:43 +00:00
Gabor Juhos
2a0825b4d3 update to 2.6.27.13
SVN-Revision: 14179
2009-01-25 18:33:19 +00:00
John Crispin
3ec3f111ff if quilt failed whilst patching, no output was shown
SVN-Revision: 14178
2009-01-25 17:28:11 +00:00
Gabor Juhos
0c2e187f54 switch to 2.6.27.12
SVN-Revision: 14157
2009-01-23 13:30:27 +00:00
Mirko Vogt
35e3dbab79 do not ignore exit codes of quilt anymore (by nbd)
SVN-Revision: 14149
2009-01-22 22:01:39 +00:00
Nicolas Thill
cc3e46f28e adjust site config files for uClibc ARM EABI
SVN-Revision: 14137
2009-01-21 16:48:45 +00:00
Felix Fietkau
b271605228 add a menuconfig option for enabling KALLSYMS for the kernel
SVN-Revision: 14122
2009-01-20 21:09:04 +00:00
Gabor Juhos
3ca7f3bd6f update to 2.6.27.11
SVN-Revision: 14043
2009-01-15 13:40:35 +00:00
Felix Fietkau
eb1c4db039 add support for an optional staging directory for debug binaries
SVN-Revision: 14018
2009-01-13 03:21:25 +00:00
Felix Fietkau
7502d4bd61 add support for build-only packages which do not appear in menuconfig
SVN-Revision: 14009
2009-01-13 02:02:56 +00:00
Felix Fietkau
cdca343745 fix LINUX_KARCH for x86
SVN-Revision: 13986
2009-01-11 21:35:26 +00:00
Nicolas Thill
da4a1c6b44 add missing 'ac_cv_sizeof_unsigned_long_long' variable
SVN-Revision: 13970
2009-01-11 01:23:38 +00:00
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
2009-01-08 01:49:11 +00:00
Felix Fietkau
238304231d make config.{guess,sub} writable before attempting to overwrite them (many packages have broken permissions in the tarball)
SVN-Revision: 13887
2009-01-06 15:08:27 +00:00
Matteo Croce
76ec5d14cf add MD5 for the kernel 2.6.28
SVN-Revision: 13744
2008-12-25 17:09:30 +00:00
Gabor Juhos
0675e10e68 fix kernel version for 2.6.27.10
SVN-Revision: 13700
2008-12-20 13:02:11 +00:00