Commit Graph

1203 Commits (f14e1f1b1dde00800706d2ca095cebf8e3a90bfd)

Author SHA1 Message Date
Felix Fietkau edb862e8ec build: improve reliability of PKG_CONFIG_DEPENDS, remove old .configured_* stamps before creating a new one
SVN-Revision: 28770
2011-11-05 19:09:40 +00:00
Nicolas Thill 3bcb16b305 package/blockmount: simplify extroot module loading logic
SVN-Revision: 28650
2011-10-28 13:10:50 +00:00
Nicolas Thill b5af64c529 kernel: build kmod even for modules built-in
SVN-Revision: 28649
2011-10-28 13:10:43 +00:00
Michael Büsch 69853cc4e8 Fix kernel version check macro typo
SVN-Revision: 28627
2011-10-27 16:56:22 +00:00
Nicolas Thill a930a79e08 include/package-ipkg.mk: fix typo
Fix a typo that caused packaging of an empty ./lib/upgrade/keep.d
directory when the package supplied conffiles

SVN-Revision: 28595
2011-10-26 00:49:07 +00:00
Jonas Gorski 3894b9746f linux: add 3.1 checksum
SVN-Revision: 28553
2011-10-24 12:58:44 +00:00
Jo-Philipp Wich d8d9130e45 autotools.mk: link config.rpath before running autoreconf, also touch ABOUT-NLS - needed by minidlna CVS version
SVN-Revision: 28464
2011-10-16 16:44:49 +00:00
Jo-Philipp Wich e7b094e849 include: autotools.mk: do not fail in patch-libtool fixup if patch is already applied
SVN-Revision: 28419
2011-10-11 18:15:12 +00:00
Felix Fietkau f63daa85a2 fix a small logic error in package download
SVN-Revision: 28395
2011-10-09 16:54:03 +00:00
Felix Fietkau 874622d004 build system: add a feature that allows you to pull sources from a git tree instead of the usual tarball
SVN-Revision: 28394
2011-10-09 16:33:59 +00:00
Jo-Philipp Wich 5171edd8d5 kernel-build.mk: there is no tarball when using CONFIG_KERNEL_GIT_CLONE_URI or CONFIG_EXTERNAL_KERNEL_TREE, do not make the prepared stamp file depend on it in this case
SVN-Revision: 28361
2011-10-03 11:33:13 +00:00
Jo-Philipp Wich b292524c13 kernel.mk: also do not download Linux if CONFIG_KERNEL_GIT_CLONE_URI is set
SVN-Revision: 28360
2011-10-03 10:19:25 +00:00
Felix Fietkau 1b8dd6ed1c build system: add support for download-time make hooks
SVN-Revision: 28322
2011-09-30 11:12:13 +00:00
Jo-Philipp Wich 29123aee6d image.mk: pass through $(CONFIG_PKG_BUILD_JOBS) to the mksquashfs -processors option
SVN-Revision: 28305
2011-09-26 02:02:35 +00:00
Hauke Mehrtens 464539b074 kernel: update to version 3.0.3
SVN-Revision: 28043
2011-08-18 12:54:12 +00:00
Hauke Mehrtens 09b1073f9b kernel: update kernel to version 2.6.39.4
SVN-Revision: 28022
2011-08-16 22:04:10 +00:00
Felix Fietkau 97cf4d41fa include/site: add powerpc-openwrt-linux-*spe sitefiles for mpc85xx
SVN-Revision: 27969
2011-08-12 19:34:20 +00:00
Jonas Gorski a5f2fd6359 include/kernel.mk: fix download path for linux 3.x
SVN-Revision: 27939
2011-08-09 12:19:38 +00:00
Hauke Mehrtens 51be984655 kernel: update to kernel version 3.0.1
SVN-Revision: 27918
2011-08-06 09:51:55 +00:00
Jo-Philipp Wich bd982fb72c autotools.mk: implement PKG_FIXUP:=patch-libtool This change allows to apply OpenWrt, Buildroot and OE libtool fixes to packages which fail badly at autoreconf. The fixup covers the common libtool versions 1.5, 2.2 and 2.4 and automatically determines the correct version to use.
SVN-Revision: 27855
2011-08-01 00:22:53 +00:00
Felix Fietkau 5820306407 only export GCC_HONOUR_COPTS for the built-in toolchain, fixes missing-fhonour-copts warnings with external toolchains
SVN-Revision: 27771
2011-07-25 10:32:38 +00:00
Jonas Gorski b197196bc8 kernel.mk: Fix kernel module path for 3.0
Linux 3.0 calls itself 3.0.0, so insmod expects the modules in
/lib/modules/3.0.0.

SVN-Revision: 27761
2011-07-24 21:42:33 +00:00
Felix Fietkau 0f93db2de5 default to using gzip with mksquashfs if lzma and xz are unavailable
SVN-Revision: 27748
2011-07-24 09:16:55 +00:00
Felix Fietkau 0d0915d168 cmake: fix ccache command when using host ccache (patch from #9611)
SVN-Revision: 27742
2011-07-24 08:34:08 +00:00
Hauke Mehrtens 39f491e479 kernel: update to linux-3.0 and refresh patches.
Thank you Peter Wagner for the patch

SVN-Revision: 27722
2011-07-22 16:04:25 +00:00
John Crispin ad250089aa allow targets to define a default subtarget when using automatic subtarget detection from r27407
SVN-Revision: 27444
2011-07-04 11:21:37 +00:00
John Crispin 058eca0b3b automatic subtarget enumaration
SVN-Revision: 27407
2011-07-03 17:38:23 +00:00
John Crispin d5205c3ed2 extend squashfs padding for 256k flash sectors
SVN-Revision: 27404
2011-07-03 17:37:46 +00:00
Gabor Juhos 5206db4561 generic: use padjffs2 in prepare_generic_squashfs
SVN-Revision: 27356
2011-07-02 08:37:58 +00:00
Felix Fietkau fc0863785a add a portable version of sys/sysmacros.h and and let the kernel use the host include dir, fixes x86 builds on non-gnu systems
SVN-Revision: 27346
2011-07-02 06:49:56 +00:00
Felix Fietkau bcf4757508 add support for hidden packages that get selected/built but do not show up in menuconfig
SVN-Revision: 27344
2011-07-02 06:49:09 +00:00
Hauke Mehrtens c5821c1a3a kernel: update kernel to 2.6.39.2
SVN-Revision: 27298
2011-06-28 19:30:58 +00:00
Jo-Philipp Wich cda35d2ef2 cmake.mk: fix bogus values for FIND_ROOT_PATH_MODE_*; kept plplot from compiling (#9573)
SVN-Revision: 27256
2011-06-22 11:02:00 +00:00
Hauke Mehrtens 79a7343560 kernel: update to kernel 2.6.38.8
SVN-Revision: 27218
2011-06-18 15:52:15 +00:00
Hauke Mehrtens 45ae457825 Properly extract KERNEL_PATCHVER for linux 3.0
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 27183
2011-06-15 21:10:33 +00:00
Florian Fainelli 763b58c30c update to 2.6.39.1
patch from Peter Wagner

SVN-Revision: 27104
2011-06-04 13:35:55 +00:00
Felix Fietkau 9acb81d9af kernel.mk: add a new helper for comparing kernel versions, which can take 1 - 4 field kernel versions
implement CompareKernelPatchVer using this new helper
implement kernel_patchver_{gt,ge,eq,le,lt}, which are more convenient for use with inline $(if)

SVN-Revision: 27087
2011-06-01 18:08:17 +00:00
Felix Fietkau 1027d262ef netfilter.mk: remove a few obsolete CompareKernelPatchVer calls
SVN-Revision: 27086
2011-06-01 18:08:12 +00:00
Felix Fietkau 6e43f65dc4 remove the now unused Target-Kernel field from the target metadata
SVN-Revision: 27033
2011-05-30 23:07:53 +00:00
Felix Fietkau 0cf265ed06 remove kernel major version specific kernelpackage overrides
SVN-Revision: 27032
2011-05-30 23:07:48 +00:00
Felix Fietkau b68404f278 remove legacy package/foo-compile wrapper targets, people should be used to the correct target names by now
SVN-Revision: 27023
2011-05-28 16:27:21 +00:00
Hauke Mehrtens c69f2d8788 kernel: some updates for kernel 2.6.39
* add md5sum for kernel
* add some missing config symbols
* add some ssb patches to make compat-wireless compile

Thank you Peter Wagner for the patch

SVN-Revision: 27009
2011-05-25 19:32:00 +00:00
Jo-Philipp Wich be906f6be5 package u32 match and TEE target, patches by Maxim Uvarov
SVN-Revision: 26977
2011-05-24 08:14:29 +00:00
Felix Fietkau aea6afefe6 add LD_LIBRARY to cmake.mk
Otherwise cmake programs try to link with host ld.so

Signed-off-by: Jan Willies <jan@willies.info>

SVN-Revision: 26963
2011-05-20 16:21:30 +00:00
Hauke Mehrtens a4c0645326 kernel: update kernel from 2.6.38.2 to 2.6.38.6 and refresh patches
Thank you Peter Wagner for the patch. I refreshed the kernel patches and added the md5sum of the kernel.

SVN-Revision: 26905
2011-05-15 17:23:02 +00:00
Felix Fietkau a65dac690c use lazy evaluation to allow targets to override kernel config files
SVN-Revision: 26714
2011-04-17 21:47:44 +00:00
Felix Fietkau 83de49ae81 prepare .config before testing for missing options
SVN-Revision: 26700
2011-04-17 02:16:52 +00:00
Jo-Philipp Wich 149341faf1 silence error when package has no patches (patchwork 321)
SVN-Revision: 26627
2011-04-12 21:11:24 +00:00
Jo-Philipp Wich a9977eca91 firewall: allow local redirection of ports
Allow a redirect like:

config redirect
        option src 'wan'
        option dest 'lan'
        option src_dport '22001'
        option dest_port '22'
        option proto 'tcp'

note the absence of the "dest_ip" field, meaning to terminate the connection on the firewall itself.

This patch makes three changes:

(1) moves the conntrack module into the conntrack package (but not any of the conntrack_* helpers).
(2) fixes a bug where the wrong table is used when the "dest_ip" field is absent.
(3) accepts incoming connections on the destination port on the input_ZONE table, but only for DNATted
    connections.

In the above example,

ssh -p 22 root@myrouter

would fail from the outside, but:

ssh -p 22001 root@myrouter

would succeed.  This is handy if:

(1) you want to avoid ssh probes on your router, or
(2) you want to redirect incoming connections on port 22 to some machine inside your firewall, but
    still want to allow firewall access from outside.

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

SVN-Revision: 26617
2011-04-12 20:03:59 +00:00
Jo-Philipp Wich a65b43a46f autotools.mk: disable autoreconf recursion if more than one dir is given in PKG_AUTOMAKE_PATHS
SVN-Revision: 26589
2011-04-11 14:18:55 +00:00
Jo-Philipp Wich 0f13d0a068 cmake.mk: don't assume toolchain binaries in .../bin/ if an external toolchain is used, rely on `which` instead
SVN-Revision: 26584
2011-04-11 02:11:11 +00:00
Hauke Mehrtens 24c1caef5f iipt-debug: create bundle of netfilter modules for debugging
Add a bundle for including commonly useful modules for IPtables debugging and development.

For now, it just contains xt_TRACE.ko

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

SVN-Revision: 26567
2011-04-09 23:23:46 +00:00
Felix Fietkau 2238b949f1 build: log package dump failures to logs to avoid forcing user to write cryptic commands to figure out what's going on
SVN-Revision: 26499
2011-04-06 14:48:59 +00:00
Felix Fietkau caf4747f0c build: clean up handling of the kernel config
- support kernel config overlays in env/
- allow overriding the target kernel config with CONFIG_TARGET=platform|subtarget|env

SVN-Revision: 26498
2011-04-06 14:48:55 +00:00
Felix Fietkau 459762ace2 add a new package metadata variable MDEPENDS for specifying local menuconfig dependencies that do not propagate to other packages
SVN-Revision: 26491
2011-04-05 19:03:51 +00:00
Felix Fietkau fcc570d999 site: set ac_cv_sizeof_off_t=8 to fix autoconf applications using it for detecting largefile support (#8376, #5681)
SVN-Revision: 26471
2011-04-04 12:11:43 +00:00
Felix Fietkau d637ae2fc8 make the build system a bit more silent without V=99
SVN-Revision: 26460
2011-04-04 00:54:37 +00:00
Felix Fietkau c4b8294c2d toplevel: add a warning about .config being out of sync after an update
SVN-Revision: 26459
2011-04-04 00:54:33 +00:00
Florian Fainelli 5959cd2850 add kmod-ipt-led
Netfilter LED target triggers blinkenlichten when a network packet hits
a rule.

LED target requires iptables 1.4.9 or higher

Signed-off-by: Łukasz Stelmach <stlman@poczta.fm>

SVN-Revision: 26451
2011-04-03 18:30:37 +00:00
Hauke Mehrtens 87f98f8b09 kernel: add md5sum of kernel
This was missing in r26441

SVN-Revision: 26442
2011-04-03 14:54:37 +00:00
Felix Fietkau 61485f6491 build: reduce the amount of generated make code for the initial prereq scan - makes it about 20% faster
SVN-Revision: 26436
2011-04-03 03:40:09 +00:00
Felix Fietkau 314ce66b86 build: use a conditional @ sign before silenced targets instead of .SILENT - makes prereq checks more than twice as fast
SVN-Revision: 26435
2011-04-03 03:40:04 +00:00
Felix Fietkau 33cde6b296 build: undefine debug helper templates used by subdir.mk if the DEBUG variable is empty, speeds up "make prereq" by 25% when lots of packages are installed
SVN-Revision: 26434
2011-04-03 03:40:01 +00:00
Felix Fietkau 8a0d981006 build: move the SH_FUNC eval to the beginning of the opkg control file build command chain, not in front of every single command
SVN-Revision: 26432
2011-04-03 02:10:32 +00:00
Felix Fietkau f6a0d67e7c build: do not use shell calls to export empty opkg control files, speeds up package build and fixes some "Argument list too long" errors Patch by Thomas Langer from #8450
SVN-Revision: 26431
2011-04-03 02:07:59 +00:00
Felix Fietkau e6aa1cab00 tools/squashfs4: update to version 4.2 (adds support for xz compression)
Based on a patch by Jonas Gorski

SVN-Revision: 26422
2011-04-03 01:02:00 +00:00
Michael Büsch 371bccb4c0 Update 2.6.38 to 2.6.38.2
SVN-Revision: 26332
2011-03-28 15:44:03 +00:00
Felix Fietkau 335877a2b3 global cflags: remove -funit-at-a-time, it is ignored by recent compilers. instead add -fno-caller-saves, which improves compression ratio for generated code with no apparent negative effects on performance
SVN-Revision: 26300
2011-03-26 01:07:12 +00:00
Jo-Philipp Wich d005251cc4 target.mk: don't enable coreutils by default, it does not even exist anymore... fixes the Image Builder
SVN-Revision: 26269
2011-03-22 18:06:12 +00:00
Felix Fietkau b568a64f8c add support for md5sum checks for mirrored tarballs of packages with version control source urls
SVN-Revision: 26260
2011-03-21 23:02:06 +00:00
Jo-Philipp Wich 48c8a8ddb0 image.mk: only upgrade permissions instead of overwriting, utilize tar -p flag for targz image targets (#7667)
SVN-Revision: 26259
2011-03-21 17:38:15 +00:00
Imre Kaloz b8430e7427 update to 2.6.32.33 and 2.6.37.4
SVN-Revision: 26226
2011-03-18 13:25:32 +00:00
Imre Kaloz 7df8322519 add 2.6.38 md5sum
SVN-Revision: 26221
2011-03-18 12:56:19 +00:00
Felix Fietkau 73c1dd9473 build: move the CCACHE_DIR to the build targets so that it doesn't interfere with a host ccache setup
SVN-Revision: 26181
2011-03-15 19:58:32 +00:00
Felix Fietkau fd0deca65d download.mk: properly quote download urls
SVN-Revision: 26129
2011-03-13 18:38:43 +00:00
Hauke Mehrtens 4226f1d373 kernel: update to kernel version 2.6.37.3
SVN-Revision: 26126
2011-03-13 17:14:08 +00:00
Hauke Mehrtens 425bf41b23 kernel: update to kernel version 2.6.34.8
SVN-Revision: 26125
2011-03-13 17:13:11 +00:00
Hauke Mehrtens b78210955c kernel: update to kernel version 2.6.32.32
SVN-Revision: 26124
2011-03-13 17:12:20 +00:00
Daniel Dickinson 0f93d4c3c4 target: Added coreutils to list of default packages. It doesn't build or install anything (0 bytes, 0 dependencies) and it prevents other packages from appearing in the package list if it is not selected
SVN-Revision: 26026
2011-03-11 08:57:37 +00:00
Felix Fietkau f67f66bb89 Revert "[include] provide mipsel-openwrt-linux-uclibcgnueabi site script, fixes the majority of configure problems"
SVN-Revision: 25970
2011-03-09 11:37:55 +00:00
Jo-Philipp Wich fb53b99f8c provide mipsel-openwrt-linux-uclibcgnueabi site script, fixes the majority of configure problems
SVN-Revision: 25968
2011-03-09 10:13:56 +00:00
Jo-Philipp Wich ff1f0be710 site: cache ac_cv_func_malloc_0_nonnull and ac_cv_func_realloc_0_nonnull
SVN-Revision: 25946
2011-03-08 06:00:56 +00:00
Imre Kaloz b74308c433 only support EABI on ARM targets
SVN-Revision: 25928
2011-03-07 12:59:19 +00:00
Felix Fietkau 504eda0da9 hotplug2: replace udevtrigger from the udev-106 source with a much smaller self-contained, stripped-down version
SVN-Revision: 25920
2011-03-07 02:49:24 +00:00
Jo-Philipp Wich dcb66b0593 deploy .ipk archives with --force-maintainer to ensure that configs are kept up-to-date in case they exist already for various reasons
SVN-Revision: 25915
2011-03-06 23:52:13 +00:00
Michael Büsch 9e7801b913 cmake: Fix ccache
SVN-Revision: 25878
2011-03-05 10:36:52 +00:00
Felix Fietkau de4fdd0ce6 add a stamp that can forcibly disable autorebuild for a specific package - useful for testing changes to packages with extremely long recompilation times
SVN-Revision: 25838
2011-03-03 00:17:08 +00:00
Jo-Philipp Wich 073c5e0e74 add config.rpath and link it in autotools.mk if missing, some packages might need it, especially users of lib-link.m4 or iconv.m4
SVN-Revision: 25753
2011-02-27 15:39:27 +00:00
Felix Fietkau c864843cbf netfilter.mk: put ipv6 conntrack in the right package
SVN-Revision: 25750
2011-02-27 11:22:30 +00:00
Felix Fietkau 2d14f4e2f8 netfilter: add missing modules for v6 conntrack (patch from #8940)
SVN-Revision: 25731
2011-02-26 15:50:01 +00:00
Felix Fietkau 831e597d7c move nf_{conntrack,nat}_tftp to ipt-nathelper-extra, most people don't need this
SVN-Revision: 25722
2011-02-26 00:35:22 +00:00
Felix Fietkau 9dad83362d kernel: remove imq support, refresh patches
SVN-Revision: 25641
2011-02-21 02:06:51 +00:00
Jo-Philipp Wich d56fe0cf53 toplevel.mk: remove quotes from the release name, its up to its users to ensure proper quoting
SVN-Revision: 25596
2011-02-19 22:15:17 +00:00
Florian Fainelli d3c2b87213 update to 2.6.32.29
SVN-Revision: 25583
2011-02-19 12:44:23 +00:00
Florian Fainelli 31709b2c76 update to 2.6.35.11
SVN-Revision: 25582
2011-02-19 12:44:16 +00:00
Florian Fainelli 45c9f5e75e update to kernel 2.6.36.4
SVN-Revision: 25580
2011-02-19 12:44:07 +00:00
Florian Fainelli 3cd87d2d81 update to 2.6.37.1
SVN-Revision: 25577
2011-02-19 12:43:59 +00:00
Florian Fainelli beb132b140 add git (git-core) as a prerequisite (#8866)
SVN-Revision: 25536
2011-02-14 15:06:11 +00:00
Imre Kaloz e4589a2e5f it's time for some attitude adjustment ;)
SVN-Revision: 25514
2011-02-13 11:20:09 +00:00
Felix Fietkau 7e4a29fbe2 use := instead of = for PKG_CONFIG_PATH to prevent recursion
SVN-Revision: 25388
2011-02-06 16:04:33 +00:00
Felix Fietkau e8b193f10b allow packages to override/extend PKG_CONFIG_PATH
SVN-Revision: 25386
2011-02-06 15:18:30 +00:00
Michael Büsch 6da37f79c5 cmake: Pass VERBOSE=1 to the generated makefile to reveal flags and commands in a verbose openwrt build.
SVN-Revision: 25376
2011-02-05 19:50:54 +00:00
Michael Büsch 21e2dcd199 cmake: Remove -O3 from release CFLAGS. Honor the OpenWRT -Os flag instead.
SVN-Revision: 25372
2011-02-05 19:39:48 +00:00
Jo-Philipp Wich 4fec7f7edb autotools.mk: -B is not passed on by autoreconf, use -I instead - fixes PKG_MACRO_PATHS
SVN-Revision: 25312
2011-02-02 18:18:38 +00:00
Jo-Philipp Wich 1ada513817 prepare support for libiconv, libintl stub/full switching
SVN-Revision: 25302
2011-02-02 01:26:19 +00:00
Felix Fietkau 9b9162fa1a add sitefile entries for ac_cv_func_creal,cimag - the functions are there, but configure tests in imagemagick fail to detect them
SVN-Revision: 25292
2011-02-01 21:16:10 +00:00
Felix Fietkau c4d2dde396 add a template for cmake packages
SVN-Revision: 25265
2011-01-31 20:16:01 +00:00
Felix Fietkau d288f855e3 add a missing wrapper for the refresh target for host builds
SVN-Revision: 25193
2011-01-28 12:13:58 +00:00
Imre Kaloz a361eab890 fixup board specific KERNELNAME overrides
SVN-Revision: 25138
2011-01-27 12:21:10 +00:00
Imre Kaloz 832fc4a133 2.6.38 supports xz ramdisks, too
SVN-Revision: 25080
2011-01-24 06:41:11 +00:00
Jo-Philipp Wich bad3c4865d set Installed-Size to 0 when preparing control, its substituted by ipkg-build later on
SVN-Revision: 25022
2011-01-16 22:18:35 +00:00
Hauke Mehrtens ebbd3311e1 kernel: add md5sum of kernel 2.6.37
SVN-Revision: 24931
2011-01-08 13:10:35 +00:00
Jo-Philipp Wich ec45087403 autotools.mk: introduce PKG_MACRO_PATHS and HOST_MACRO_PATHS which default to ./m4, add LIBTOOL to AM_TOOL_PATHS
SVN-Revision: 24830
2010-12-26 02:06:50 +00:00
Jo-Philipp Wich d2d990e41e netfilter.mk: fix connmark packaging for Kernels >= 2.6.35, thanks Daniel Gimpelevich
SVN-Revision: 24729
2010-12-19 16:47:30 +00:00
Jo-Philipp Wich f28b49208b autotools.mk: like libintl, make all libtool fixup packages depend on the libiconv stub
SVN-Revision: 24708
2010-12-19 04:41:18 +00:00
Jo-Philipp Wich fd181101aa autotools.mk: add a (dummy) libintl build dependency to any package using the libtool fixup
SVN-Revision: 24700
2010-12-19 02:37:56 +00:00
Jo-Philipp Wich 8fae8c0a6f download.mk: support https:// downloads
SVN-Revision: 24688
2010-12-18 21:43:10 +00:00
Jo-Philipp Wich c9f9fc8154 autotools.mk: remove HOST_BUILD_DEPENDS on libtool
SVN-Revision: 24676
2010-12-18 18:14:25 +00:00
Jo-Philipp Wich 4e19240b9b autotools.mk: set AUTOPOINT to "true", not all hosts have it install and it makes autoreconf fail if not present, it also needs cvs which isn't installed on all hosts either
SVN-Revision: 24664
2010-12-18 13:19:59 +00:00
Gabor Juhos 0d01356fc6 generic: nuke 2.6.33 specific stuff, is not used by any platform
SVN-Revision: 24644
2010-12-17 17:10:04 +00:00
Jo-Philipp Wich a4350e3861 autotools.mk: touch NEWS, AUTHORS, COPYING and ChangeLog, automake wants them
SVN-Revision: 24588
2010-12-15 06:05:41 +00:00
Jo-Philipp Wich 249693d50b autotools.mk: always pass -I m4, some package don't seem to set correct AMFLAGS (or any at all..)
SVN-Revision: 24574
2010-12-15 01:24:16 +00:00
Jo-Philipp Wich 6489a9c575 autotools.mk: don't rely on shipped autogen.sh files
SVN-Revision: 24573
2010-12-15 01:14:14 +00:00
Jo-Philipp Wich f3ac8849a5 autotools.mk: explicately pass toolchain versions of automake, autoconf, libtoolize, ... to autoreconf
SVN-Revision: 24570
2010-12-15 00:19:08 +00:00
Imre Kaloz d4bf98f231 add plemininary ultrasparc support
SVN-Revision: 24558
2010-12-14 07:57:22 +00:00
Jo-Philipp Wich dbf8d9c516 - implement hooks for hostbuilds - use host build hooks to implement fixups for host build - move separator declaration to rules.mk
SVN-Revision: 24551
2010-12-13 19:04:33 +00:00
Jo-Philipp Wich 135cfe50c9 autotools.mk: add yet another aclocal path
SVN-Revision: 24547
2010-12-13 16:05:53 +00:00
Jo-Philipp Wich c48a705702 autotools.mk: support autoreconf at different paths, introduce PKG_AUTOMAKE_PATHS which defaults to '.'
SVN-Revision: 24534
2010-12-13 01:44:28 +00:00
Daniel Dickinson 236cbb536f Added autoconf flags for gettimeofday and psignal - uClibc has them
SVN-Revision: 24508
2010-12-12 01:43:30 +00:00
Hauke Mehrtens b8ab3d34eb kernel: update kernel versions Update kernel 2.6.32.26 to 2.6.32.27 Update kenrel 2.6.36.1 to 2.6.36.2
SVN-Revision: 24486
2010-12-11 16:07:21 +00:00
Jo-Philipp Wich bf9e9b6a91 rework aclocal handling, packages have issues writing through the symlink so keep the host aclocal as include path for now
SVN-Revision: 24474
2010-12-11 03:15:10 +00:00
Jo-Philipp Wich 88a1c20900 autotools.mk: let PKG_REMOVE_FILES default to aclocal.m4
SVN-Revision: 24458
2010-12-10 22:59:07 +00:00
Jo-Philipp Wich 3560c34214 autotools.mk: remove autom4ate.cache directory when autoreconf-ing
SVN-Revision: 24434
2010-12-10 16:28:20 +00:00
Felix Fietkau ffbed0f08a support the autoreconf fixup without libtool
SVN-Revision: 24423
2010-12-10 15:20:51 +00:00
Jo-Philipp Wich 6541593b34 autotools.mk: introduce PKG_REMOVE_FILES to delete certain files after applying patches and before doing any fixups
SVN-Revision: 24348
2010-12-08 15:55:05 +00:00
Jo-Philipp Wich fa3c5ac38a autotools.mk: remove GNUmakefile before running autoreconf (spotted libgcrypt++)
SVN-Revision: 24344
2010-12-08 11:55:41 +00:00
Jo-Philipp Wich 48b953fa1c autotools.mk: allow disabling autoreconf, remove libdir fixup
SVN-Revision: 24321
2010-12-08 02:24:21 +00:00
Jo-Philipp Wich f3f3be3dfe autotools.mk: allow autogen.sh / autoreconf to fail (for now)
SVN-Revision: 24320
2010-12-08 01:19:52 +00:00
Jo-Philipp Wich 69aeb3a06c autotools.mk: if ./autogen.sh exists, call that. Call autoreconfig only if configure.in or configure.ac exists
SVN-Revision: 24319
2010-12-08 01:15:38 +00:00
Jo-Philipp Wich 591190e215 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
SVN-Revision: 24317
2010-12-08 00:54:14 +00:00
Jo-Philipp Wich c10515db65 re-enable the libtool PKG_BUILD_DEPENDS for PKG_FIXUP and emit a deprecation warning. Packages must specify PKG_BUILD_DEPENDS:=libtool
SVN-Revision: 24246
2010-12-04 19:56:47 +00:00
Mirko Vogt 9a18fff28e 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
SVN-Revision: 24241
2010-12-04 13:44:43 +00:00
Mirko Vogt b599f7dc42 disable libtool fixups in trunk globally
SVN-Revision: 24234
2010-12-04 00:11:09 +00:00
Imre Kaloz ead8ab8403 update to the latest stable kernels
SVN-Revision: 24136
2010-11-24 18:50:11 +00:00
Felix Fietkau 695a1268e1 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)
SVN-Revision: 24131
2010-11-24 14:07:12 +00:00
Felix Fietkau 380ea005e1 use PREFIX/bin instead of PREFIX/sbin for all host builds (fixes e2fsprogs path)
SVN-Revision: 24103
2010-11-22 18:49:18 +00:00
Imre Kaloz 66b08771ff cleanup
SVN-Revision: 24090
2010-11-22 13:46:09 +00:00
Imre Kaloz 5ea6194ab0 remove 2.6.25 support
SVN-Revision: 24089
2010-11-22 13:43:32 +00:00
Imre Kaloz 4052849677 switch from ext2 to ext4 (w/o) journaling
SVN-Revision: 24084
2010-11-22 12:12:39 +00:00
Jo-Philipp Wich e09767beea package-ipkg.mk: add support for "essential" package flag, fix typo
SVN-Revision: 23959
2010-11-11 16:18:01 +00:00
Florian Fainelli b6e9f1dfe0 make targets provide their KERNELNAME
SVN-Revision: 23919
2010-11-08 07:31:25 +00:00
Michael Büsch 995cedb319 InstallDev: Move the "find" out of the lock critical section.
SVN-Revision: 23858
2010-11-04 12:42:37 +00:00
Michael Büsch e5fc77edd9 Lock copying of directory trees to the staging dir with the "staging-dir" lock. This lock probably has to be taken elsewhere, too.
SVN-Revision: 23857
2010-11-04 12:28:55 +00:00
Imre Kaloz 0a5da348d1 update kernels to 2.6.32.25 and 2.6.35.8
SVN-Revision: 23851
2010-11-04 09:01:08 +00:00
Michael Büsch 050902efd7 deptest: Install of host tools has to be forced for every test, because the host staging dir is cleaned prior a test.
SVN-Revision: 23825
2010-11-03 14:58:32 +00:00
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