Commit Graph

22943 Commits (5d7e7f9fe46322fce0689f2184fc4928bc943898)

Author SHA1 Message Date
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
Felix Fietkau d9eb068d97 netifd: update to 2012-04-12, fixes interface reconnect issues and improves interface status info
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31261 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-12 13:58:07 +00:00
John Crispin 37a565ab65 [lantiq] update 3.2 patches
sync with lantiq kernel series

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31260 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-12 12:33:56 +00:00
Mirko Vogt 4879e3f58a [tools/mklibs] add missing includes ('unistd.h') for mklibs
This is needed when compiling with GCC >= 4.7.0 since it doesn't implicitly include 'unistd.h' anymore (needed e.g. for file operations in this particular case)

 - Thanks to Luka Perkov

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-12 12:19:56 +00:00
Jo-Philipp Wich b8a67c67b0 [package] base-files: remove network preconfig, it collides with ar71xx network firstboot uci-defaults
To supply custom network settings, it is better to embed a complete network config file using the
files/ overlay, the old image lan preconfig options are also very limited in scope and actually collide
with sysupgrade and firstboot hardware detection on at least ar71xx and possibly other targets, therfore
drop this facility.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-12 09:43:44 +00:00
Jo-Philipp Wich d139f87eb9 [omap35xx] remove preconfig variables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31257 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-12 09:43:43 +00:00
Jo-Philipp Wich 8447143390 [ps3] remove preconfig variables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-12 09:43:41 +00:00
Jo-Philipp Wich f259f91689 toolchain/gcc: gcc-4.7.0 upstream patch fixing uClibc problems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-12 07:48:02 +00:00
Jo-Philipp Wich a432055c7e [toolchain] exclude CONFIG_GDB on avr32, allows enabling CONFIG_GDB unconditionally without failing avr32 builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-10 21:04:06 +00:00
John Crispin 1e75d38943 [ltq-dsl-app] fix bad variable name inside Makefile
We use PKG_NAME and not PKB_BASE_NAME inside OpenWrt Makefiles

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-10 15:20:23 +00:00
John Crispin d1918e0f5b [scripts] allow arbitary folder layout when using localmirrors
Make the download script follow symlinks and search subfolders when looking for
a file in a local download mirror.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-10 14:11:45 +00:00
Jo-Philipp Wich 32d864fd63 [tools] sdcc: compiling SDCCicode.c with -O2 sends gcc 4.6.x into an infinite loop, workaround it
See references:
  http://sourceforge.net/tracker/?func=detail&aid=3285611&group_id=599&atid=300599
  http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52653


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-10 13:18:45 +00:00
John Crispin 45879534fd [include] Use build suffix on build_dir paths
Adds BUILD_SUFFIX to STAGING_DIR

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31233 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-10 10:55:55 +00:00
Jo-Philipp Wich accb414b59 [x86] add missing Kernel symbol spotted by buildbot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-10 10:09:27 +00:00
Imre Kaloz 5223166450 [generic/3.3]: add missing symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31231 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-09 17:03:02 +00:00
Imre Kaloz 240c8ea1fe [toolchain/gcc/4.4]: upgrade to gcc 4.4.7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-09 17:00:03 +00:00
Jo-Philipp Wich 4a5dfbd949 [tools] sdcc: sdcc needs sdcpp to bootstrap itself, so enable it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-09 15:55:33 +00:00
Jo-Philipp Wich e685d45ebb tools: add sdcc subdir to Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-09 15:24:47 +00:00
Jo-Philipp Wich 102fa9b718 [tools] add an sdcc host build which is enabled if firmwarehotplug is selected
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-09 15:23:34 +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
Jonas Gorski a0bbe7df3b kernel: add some more additional missing config symbols for 3.2 and 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31221 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-09 14:48:46 +00:00
Jo-Philipp Wich e54496d9a2 [package] libpcap: explicitely disable libnl support to prevent different build results depending on the environment (#11239)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31219 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-08 15:11:12 +00:00
Mirko Vogt 377233f931 [target/xburst] level up target xburst to linux kernel version 3.2.1
Thanks to the qi-hardware project - especially to Lars, Maarten and Xiangfu

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31218 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-08 12:09:52 +00:00
Mirko Vogt 75df536d1b [toolchain/gcc] add support for gcc 4.7.0 - thanks to acoul!
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-07 15:34:41 +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
Gabor Juhos 571d6c4766 ar71xx: image: build initramfs images for the WHR boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-06 06:45:08 +00:00
Gabor Juhos ff6417252a ar71xx: initial support for Mikrotik RB751G-2HnD and RB751U-2HnD
Great collaboration on these two fantastic routers on the openwrt forum:
https://forum.openwrt.org/viewtopic.php?id=32320
Above all kudos to aryufan. Well done and thank you everyone else who
contributed.

To-Do: LED for wlan is not yet activated
To-Do: TxPower over 20dBm (RB751U) or 22dBm (RB751G) are not accepted by
the router

Signed-off-by: Hanno Schupp <hanno.schupp@gmail.com>
[juhosg: fix line wrapped patch, fix checkpatch errors, add missing
kernel patches]

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-06 06:45:07 +00:00
Gabor Juhos 4442cefd05 ar71xx: add rb750 to diag.sh
Support status led in diag.sh for RB750

Patch from: Evangelos Arkalis <arkalis.e@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31207 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-06 06:45:04 +00:00
John Crispin b01dd0668d [lantiq] add Easybox 802 - ARV752DPW
Implements the ARV752DPW architecture in mach-arv.c

Signed-off-by: Christian Rustmeier <rustmeier@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-05 20:03:21 +00:00
John Crispin 9a4f59ca97 [lantiq] enable usb on dgn3500
A power-enable toggle gpio is not available, it is always on and protected with a resettable fuse.

Signed-off-by: Pieter Voorthuijsen<p.voorthuijsen at gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-05 20:03:19 +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
Jo-Philipp Wich 72df1edd65 [package] util-linux(-ng): revert r31183, r31178 - the update introduced several regressions which need to be worked out first
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-05 12:00:20 +00:00
Jo-Philipp Wich b0aaa47be0 [package] grub: fix build with automake v1.11.3 (#11228)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31201 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-04 18:10:15 +00:00
Florian Fainelli 896063471e [orion] generic: use magic_long in sysupgrade
Signed-off-by: Matthias Bücher <mail@maddes.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31200 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-04 16:06:29 +00:00
Florian Fainelli 69d74cf63c [orion] update wrt350nv2-builder to v2.4 and use new functionality for target orion_generic
Signed-off-by: Matthias Bücher <mail@maddes.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31199 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-04 16:06:25 +00:00
Florian Fainelli e725f46aee [orion] add support for D-Link DNS-323
this patch adds support for D-Link DNS323 storage device.
You can find more info here:

http://dns323.lukaperkov.net/

Currently you need serial cable to flash OpenWrt on DNS-323.

Signed-off-by: Luka Perkov < openwrt ->-to->- lukaperkov.net >

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31198 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-04 15:53:55 +00:00
Florian Fainelli a48aa01fce [kernel/3+] add missing DM/MD config symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31197 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-04 15:53:52 +00:00
Florian Fainelli 4425b61ca1 [adm5120] fix typos in adm5120 switch driver (#4241)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-04 15:53:15 +00:00
Florian Fainelli aa051d5768 [adm5120] add Edimax specific MAGIC_MAC_BASE to read MAC from flash (#4241]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31195 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-04 15:53:12 +00:00
Florian Fainelli f138dae1bf [adm5120] fix support for 2.6.38 kernel
This patch fixes the following issues I encountered while compiling kernel 2.6.38.8 for my Omnima Embedded Controller/Edimax BR6104KP:
    - kernel comes up with machine selection during build, even though everything was properly set in menuconfig
    - USB api changes
Successfully built and tested with r29755.

Signed-off-by: Hartmut Knaack <knaack.h [at] gmx.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-04 15:53:09 +00:00
Florian Fainelli f0be53cc9b [adm5120] refresh 2.6.38 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31193 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-04 15:53:07 +00:00
Florian Fainelli e51b195041 [kernel/2.6.38] fix gcc-4.6 set but unused warnings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-04 15:53:04 +00:00
Florian Fainelli f693d3ffd8 [kernel/2.6.38] refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31191 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-04 15:53:01 +00:00
Jo-Philipp Wich 3a3d331976 [package] util-linux: prevent packaging libtool placeholder scripts (#11224)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31183 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-04 11:40:08 +00:00
Jo-Philipp Wich 258ae14fcc dnsmasq: configure dnsmasq via flat config file and not command-line args
Sometimes it's useful to compare the generated config file from UCI config with a hand-edited dnsmasq config file, especially if you're migrating to an OpenWRT router from something else (such as Astlinux).

Putting the generated config makes it easier to capture and diff, etc.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31182 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-02 22:31:21 +00:00
Florian Fainelli 7b2cc3d636 [package] iproute2: update to 3.2.0 and package 'ss'
This patch bumps iproute2 to the latest available version, fixes the
package URL to use kernel.org (as things have now been moved back there)
and also adds ss (socket statistics) to menuconfig.

Signed-off-by: Oliver Smith <olipro@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-02 16:25:51 +00:00
Florian Fainelli 7f11e0b7b6 [package] util-linux: move and update
This patch makes several changes with util-linux-ng package:

 * moves it to util-linux (upstream name)
 * bumps it to last stable version 2.20.1 (was 2.13.0.1)
 * adds new package getopt
 * sorts packages inside Makefile
 * removes patch, it has been applied upstream

I would also like to maintain this package.

Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31178 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-02 16:25:48 +00:00