Michael Büsch
9d61a9b1c6
Lock copying to STAGING_DIR_ROOT. This fixes build failures for parallelized build.
...
SVN-Revision: 23709
2010-10-29 15:07:23 +00:00
Florian Fainelli
d78a574019
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>
SVN-Revision: 23615
2010-10-24 12:36:44 +00:00
Michael Büsch
a7ae32e3dd
Add md5sum for linux-2.6.36
...
SVN-Revision: 23556
2010-10-20 23:07:35 +00:00
Jo-Philipp Wich
c32a125607
netfilter: workaround a userspace/kernel mismatch on Linux 2.6.35 and later
...
SVN-Revision: 23521
2010-10-18 20:39:07 +00:00
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