Commit Graph

1246 Commits (af7771210ebf6d3507d23ed957453822bfe1d5e7)

Author SHA1 Message Date
Felix Fietkau bee3dd6a1b build: add checks for missing package dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32185 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-11 00:57:36 +00:00
Felix Fietkau 9db9b0ede7 build: generate a list of provided libraries for each ipkg file (includes provided libraries from packages that the exporting package depends on)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-10 20:27:41 +00:00
Felix Fietkau 63c8fa0bbb build: add a dependency on libc to all non-kernel packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-10 20:27:37 +00:00
Felix Fietkau 2e99625953 prereq-build: flex is built in tools/ - do not require it to be installed on the host
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-07 16:39:33 +00:00
Felix Fietkau f86dd79d2e include/netfilter.mk: clean up, remove junk for old kernel versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-07 16:30:48 +00:00
Felix Fietkau f55dc058d3 build: add PKG_MIRROR_MD5SUM support for host builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 14:08:47 +00:00
Felix Fietkau 30655eb877 build: prevent the environment variable CROSS_COMPILE from leaking into builds (fixes #11603)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 13:46:00 +00:00
Felix Fietkau c0f8e04165 download.mk: refuse to download mirror tarballs from packages using version control if no mirror md5sum was provided
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32079 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 13:45:53 +00:00
Jo-Philipp Wich 15c52a84fb [package] base-files: add permission exceptions, do not clobber shadow permissions - based on patch by Mark Mentovai <mark@moxienet.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32073 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-05 18:02:00 +00:00
John Crispin 266c70cdf4 [kernel] bump to 3.3.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-05 06:57:51 +00:00
John Crispin d19337ecc6 [include] log failed package builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-04 18:29:29 +00:00
Gabor Juhos e100214e23 kernel: update linux 3.3 to 3.3.7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 21:05:32 +00:00
Felix Fietkau 03a372b6fa make: do a better job of sanitizing LD_LIBRARY_PATH (fixes #8069)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 20:19:43 +00:00
Felix Fietkau d73794f9a2 target: add a feature flag for RTC support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 15:28:09 +00:00
Felix Fietkau 94b38ec0fd enable netifd by default and add its config variable to PKG_CONFIG_DEPENDS in a few relevant places
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 23:33:35 +00:00
Gabor Juhos cc87185921 kernel: update linux 3.3 to 3.3.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 09:18:32 +00:00
Felix Fietkau a263dc5a12 add further countermeasures against the git core.autocrlf option (fixes #9075)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-08 13:30:54 +00:00
Gabor Juhos 3303e79b79 kernel: update linux 3.3 to 3.3.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-07 20:11:43 +00:00
Felix Fietkau ff33988d74 scons: override the platform instead of using the host one - fixes build issues on non-linux systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 21:02:35 +00:00
Felix Fietkau 768f0c40f8 tools: add scons (patch by Dave Taht)
This makes it more possible to build scons based applications
for openwrt.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 17:37:34 +00:00
Gabor Juhos f06668f3da include/kernel-defaults: set V='' if c is not set in OPENWRT_VERBOSE
This fixes the following errors:

  CALL    arch/powerpc/kernel/prom_init_check.sh
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer axpression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
  GEN     .version
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 12:48:35 +00:00
Gabor Juhos 7f4625bd8c Fix iptables abuse of kernel header files. Use exported headers instead.
[juhosg: export xt_layer7.h for all kernel versions]

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 09:43:10 +00:00
Gabor Juhos 465b2a024c kernel: update linux 3.3 to 3.3.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-30 08:38:11 +00:00
Felix Fietkau d4d74c9219 build: fix bad file descriptor issues with the verbosity changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-26 18:13:17 +00:00
Felix Fietkau d98a55dea2 cmake: add support for V=cs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-26 17:54:03 +00:00
Felix Fietkau b5f3dda123 build: rework verbosity level selection
V=99 and V=1 are now deprecated in favor of a new verbosity class system,
though the old flags are still supported.
You can set the V variable on the command line (or OPENWRT_VERBOSE in the
environment) to one or more of the following characters:

- s: stdout+stderr (equal to the old V=99)
- c: commands (for build systems that suppress commands by default, e.g. kbuild)
- w: warnings/errors only (equal to the old V=1)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31484 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-26 17:53:56 +00:00
Mirko Vogt 6ed5cf8f22 [include/kernel-defaults.mk] enable verbose output of kernel build if V=99 is passed
append V=1 to KERNEL_MAKEOPTS when $V (and therewith $KBUILD_VERBOSE) is set to 99

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-24 12:42:57 +00:00
Jonas Gorski 281a545b07 kernel: update linux 3.3 to 3.3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-24 09:25:38 +00:00
Jonas Gorski 5520ed39bf kernel: update linux 3.2 to 3.2.16
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-24 09:25:35 +00:00
Jo-Philipp Wich bb5d3388be [include] ensure that profile Makefiles are sourced in alphabetical order
Since make 3.82 does not guarantee file ordering anymore, target profiles might
get included in random order, leading to bad default values when only selecting
the toplevel target and populating the .config with defconfig.
This commit should also fix the ar71xx snapshot builds.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31449 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-23 16:10:25 +00:00
Jonas Gorski afbf3d994e kernel: update linux 3.3 to 3.3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-17 12:51:02 +00:00
Jonas Gorski 23578461a9 kernel: update linux 3.2 to 3.2.15
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-17 12:50:54 +00:00
Jo-Philipp Wich 903019e50d [sdk] don't overwrite version.mk, substitute REVISION instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31271 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-13 10:47:45 +00:00
Jo-Philipp Wich 5d7e7f9fe4 [buildroot] include, base-files, opkg: introduce version configuration to override the embedded version info of generated images
- Introduce new Kconfig symbols VERSION_DIST, VERSION_NICK, VERSION_NUMBER and VERSION_REPO to specify distribution, release name, version and repository for a given build
 - Introduce include/version.mk to provide common helpers for packages dealing with versions
 - Make opkg use version.mk to populate the opkg.conf template
 - Make base-files use version.mk to populate /etc/openwrt_version, /etc/openwrt_release and /etc/banner

The available placeholders are:
 %D .. Replace with $(CONFIG_VERSION_DIST), default to "OpenWrt"
 %d .. Like %D, but all characters made lowercase and spaces substituted with "_" (e.g. "openwrt")
 %N .. Replace with $(CONFIG_VERSION_NICK), default to the build tree release (e.g. "Attitude Adjustment")
 %n .. Like %N, but all characters made lowercase and spaces substituted with "_" (e.g. "attitude_adjustment")
 %V .. Replace with $(CONFIG_VERSION_NUMBER), default to the build tree release (e.g. "r31262")
 %v .. Like %V, but all characters made lowercase and spaces substituted with "_"
 %C .. Replace with $(CONFIG_VERSION_NUMBER), default to "Bleeding Edge"
 %c .. Like %C, but all characters made lowercase and spaces substituted with "_" (e.g. "bleeding_edge")
 %U .. Replace with $(CONFIG_VERSION_REPO), default to "http://downloads.openwrt.org/snapshots/trunk/%T/packages"
 %R .. Replace with the current build tree revision (e.g. "r31262" or "75488c4a05b8033cf69e91874a61852db7ba9c6c")
 %T .. Replace with the current target (e.g. "ar71xx")
 %S .. Replace with the current target/subtarget combo (e.g. "adm5120/router_le")


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-12 17:31:16 +00:00
Jonas Gorski 6ea1895fc3 kernel: update linux 3.3 to 3.3.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31223 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-09 14:48:56 +00:00
Jonas Gorski fe073513d5 kernel: update linux 3.2 to 3.2.14
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-09 14:48:51 +00:00
Vasilis Tsiligiannis ac41ff5540 [include] Add git version check to prerequisite check (#11229)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31214 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-06 12:05:59 +00:00
Vasilis Tsiligiannis 7c676e7e91 [include] Fix typo in GNU Make prereq check
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-06 11:44:13 +00:00
John Crispin 9bea396d2f [image] define external cpio
Allow building image with an external cpio

Signed-off-by: Tathagata Das <tathagata@alumnux.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-05 14:33:04 +00:00
John Crispin e2dd66a036 [include] prevent distro default LPATH from interfering
Attach patch unsets LPATH flag (found configured in some custom host
distributions) to make OpenWRT compile its toolchain without any issues.
LPATH is used on some distros to define the linkers search path.

Signed-off-by: Tathagata Das <tathagata@alumnux.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-05 14:33:03 +00:00
Jonas Gorski d944e45d65 kernel: update linux 3.2 to 3.2.13 and refresh patches
Also remove a duplicate patch from lantiq (already in generic).

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-01 07:56:55 +00:00
Gabor Juhos f53b5fe27c add md5sum for linux-3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-20 15:55:06 +00:00
Gabor Juhos 81de1500bc kernel: update linux 3.2 to 3.2.12
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 18:23:31 +00:00
Jens Muecke 8e1dbb32a7 Enable recursive download of git sources.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30967 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-17 21:33:13 +00:00
Jo-Philipp Wich 07fd626a4e [netfilter] fix ipt_ttl and ipt_TTL userspace library packaging
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 02:07:22 +00:00
Felix Fietkau 2929a9bbd0 build: unexport C_INCLUDE_PATH to prevent user settings from interfering with the build (fixes #9865)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30830 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-05 21:39:07 +00:00
Felix Fietkau 12ec2ad963 build: remove redundant call to $(SH_FUNC) (#8042)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-05 11:57:08 +00:00
Gabor Juhos 23c3f7941e kernel: update linux 3.2 to 3.2.9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-01 19:49:02 +00:00
Felix Fietkau 99dfff5e68 build: add TARGET_CXXFLAGS and EXTRA_CXXFLAGS, defaulting to *_CFLAGS via lazy evaluation. this allows adding c++ specific cflags
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-01 10:39:46 +00:00
Felix Fietkau edc937f926 quilt: add a NO_RECONFIGURE override for compiling a package without re-running Build/Configure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13 15:31:28 +00:00