Commit Graph

20156 Commits

Author SHA1 Message Date
Jo-Philipp Wich
a43ae30e1b 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")

SVN-Revision: 31262
2012-04-12 17:31:16 +00:00
Felix Fietkau
8b7533c496 netifd: update to 2012-04-12, fixes interface reconnect issues and improves interface status info
SVN-Revision: 31261
2012-04-12 13:58:07 +00:00
John Crispin
e3889bcf7c update 3.2 patches
sync with lantiq kernel series

SVN-Revision: 31260
2012-04-12 12:33:56 +00:00
Mirko Vogt
1b75788451 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

SVN-Revision: 31259
2012-04-12 12:19:56 +00:00
Jo-Philipp Wich
3c3941f109 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.
SVN-Revision: 31258
2012-04-12 09:43:44 +00:00
Jo-Philipp Wich
60a708edf1 remove preconfig variables
SVN-Revision: 31257
2012-04-12 09:43:43 +00:00
Jo-Philipp Wich
d558632955 remove preconfig variables
SVN-Revision: 31256
2012-04-12 09:43:41 +00:00
Jo-Philipp Wich
b7e2959450 toolchain/gcc: gcc-4.7.0 upstream patch fixing uClibc problems
SVN-Revision: 31255
2012-04-12 07:48:02 +00:00
Jo-Philipp Wich
4c2e50f287 exclude CONFIG_GDB on avr32, allows enabling CONFIG_GDB unconditionally without failing avr32 builds
SVN-Revision: 31249
2012-04-10 21:04:06 +00:00
John Crispin
aa1a33e466 fix bad variable name inside Makefile
We use PKG_NAME and not PKB_BASE_NAME inside OpenWrt Makefiles

SVN-Revision: 31244
2012-04-10 15:20:23 +00:00
John Crispin
0c4bcae7a1 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>

SVN-Revision: 31240
2012-04-10 14:11:45 +00:00
Jo-Philipp Wich
ac007ff482 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
SVN-Revision: 31236
2012-04-10 13:18:45 +00:00
John Crispin
cc5b3e683e Use build suffix on build_dir paths
Adds BUILD_SUFFIX to STAGING_DIR

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

SVN-Revision: 31233
2012-04-10 10:55:55 +00:00
Jo-Philipp Wich
fcfdbd4961 add missing Kernel symbol spotted by buildbot
SVN-Revision: 31232
2012-04-10 10:09:27 +00:00
Imre Kaloz
ed5abd5e4a add missing symbols
SVN-Revision: 31231
2012-04-09 17:03:02 +00:00
Imre Kaloz
ca6859aa29 upgrade to gcc 4.4.7
SVN-Revision: 31230
2012-04-09 17:00:03 +00:00
Jo-Philipp Wich
c3bc38689c sdcc: sdcc needs sdcpp to bootstrap itself, so enable it
SVN-Revision: 31229
2012-04-09 15:55:33 +00:00
Jo-Philipp Wich
12df76d065 tools: add sdcc subdir to Makefile
SVN-Revision: 31228
2012-04-09 15:24:47 +00:00
Jo-Philipp Wich
b409973545 add an sdcc host build which is enabled if firmwarehotplug is selected
SVN-Revision: 31226
2012-04-09 15:23:34 +00:00
Jonas Gorski
50eba35cd3 kernel: update linux 3.3 to 3.3.1
SVN-Revision: 31223
2012-04-09 14:48:56 +00:00
Jonas Gorski
16b4cbcdd6 kernel: update linux 3.2 to 3.2.14
SVN-Revision: 31222
2012-04-09 14:48:51 +00:00
Jonas Gorski
1a57b05f47 kernel: add some more additional missing config symbols for 3.2 and 3.3
SVN-Revision: 31221
2012-04-09 14:48:46 +00:00
Jo-Philipp Wich
fafad3f4f4 libpcap: explicitely disable libnl support to prevent different build results depending on the environment (#11239)
SVN-Revision: 31219
2012-04-08 15:11:12 +00:00
Mirko Vogt
b0971e69f2 level up target xburst to linux kernel version 3.2.1
Thanks to the qi-hardware project - especially to Lars, Maarten and Xiangfu

SVN-Revision: 31218
2012-04-08 12:09:52 +00:00
Mirko Vogt
626e171764 add support for gcc 4.7.0 - thanks to acoul!
SVN-Revision: 31216
2012-04-07 15:34:41 +00:00
Vasilis Tsiligiannis
c56da13854 Add git version check to prerequisite check (#11229)
SVN-Revision: 31214
2012-04-06 12:05:59 +00:00
Vasilis Tsiligiannis
f37ce3fad3 Fix typo in GNU Make prereq check
SVN-Revision: 31213
2012-04-06 11:44:13 +00:00
Gabor Juhos
f14fd53e3c ar71xx: image: build initramfs images for the WHR boards
SVN-Revision: 31209
2012-04-06 06:45:08 +00:00
Gabor Juhos
e295a077ce 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]

SVN-Revision: 31208
2012-04-06 06:45:07 +00:00
Gabor Juhos
fe6d66afe2 ar71xx: add rb750 to diag.sh
Support status led in diag.sh for RB750

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

SVN-Revision: 31207
2012-04-06 06:45:04 +00:00
John Crispin
da3f3f8f9d add Easybox 802 - ARV752DPW
Implements the ARV752DPW architecture in mach-arv.c

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

SVN-Revision: 31206
2012-04-05 20:03:21 +00:00
John Crispin
94af65db49 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>

SVN-Revision: 31205
2012-04-05 20:03:19 +00:00
John Crispin
032f3ea5e7 define external cpio
Allow building image with an external cpio

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

SVN-Revision: 31204
2012-04-05 14:33:04 +00:00
John Crispin
e8c19a56db 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>

SVN-Revision: 31203
2012-04-05 14:33:03 +00:00
Jo-Philipp Wich
6940ba2a1a util-linux(-ng): revert r31183, r31178 - the update introduced several regressions which need to be worked out first
SVN-Revision: 31202
2012-04-05 12:00:20 +00:00
Jo-Philipp Wich
8d0abd27dc grub: fix build with automake v1.11.3 (#11228)
SVN-Revision: 31201
2012-04-04 18:10:15 +00:00
Florian Fainelli
b545c4b4fe generic: use magic_long in sysupgrade
Signed-off-by: Matthias Bücher <mail@maddes.net>

SVN-Revision: 31200
2012-04-04 16:06:29 +00:00
Florian Fainelli
930a820172 update wrt350nv2-builder to v2.4 and use new functionality for target orion_generic
Signed-off-by: Matthias Bücher <mail@maddes.net>

SVN-Revision: 31199
2012-04-04 16:06:25 +00:00
Florian Fainelli
b47fc0f936 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 >

SVN-Revision: 31198
2012-04-04 15:53:55 +00:00
Florian Fainelli
90e89bf4a9 add missing DM/MD config symbols
SVN-Revision: 31197
2012-04-04 15:53:52 +00:00
Florian Fainelli
152f38a615 fix typos in adm5120 switch driver (#4241)
SVN-Revision: 31196
2012-04-04 15:53:15 +00:00
Florian Fainelli
09ade17a15 add Edimax specific MAGIC_MAC_BASE to read MAC from flash (#4241]
SVN-Revision: 31195
2012-04-04 15:53:12 +00:00
Florian Fainelli
b180e0fb3b 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>

SVN-Revision: 31194
2012-04-04 15:53:09 +00:00
Florian Fainelli
f087e07b5c refresh 2.6.38 patches
SVN-Revision: 31193
2012-04-04 15:53:07 +00:00
Florian Fainelli
db04bcb8e7 fix gcc-4.6 set but unused warnings
SVN-Revision: 31192
2012-04-04 15:53:04 +00:00
Florian Fainelli
30f0cb476f refresh patches
SVN-Revision: 31191
2012-04-04 15:53:01 +00:00
Jo-Philipp Wich
4cbbd9ab4b util-linux: prevent packaging libtool placeholder scripts (#11224)
SVN-Revision: 31183
2012-04-04 11:40:08 +00:00
Jo-Philipp Wich
e7807dd8ca 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>

SVN-Revision: 31182
2012-04-02 22:31:21 +00:00
Florian Fainelli
a54b6055a8 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>

SVN-Revision: 31179
2012-04-02 16:25:51 +00:00
Florian Fainelli
5f332bf12c 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>

SVN-Revision: 31178
2012-04-02 16:25:48 +00:00