1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 17:15:00 +02:00
Commit Graph

22943 Commits

Author SHA1 Message Date
jow
8faa8431db [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
nbd
8b9ba93e94 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
blogic
9e31085943 [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
d7f2b105ad [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
jow
f0ad7e2bc1 [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
jow
887ba518f7 [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
jow
47867f8a84 [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
jow
a319660afc 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
jow
091fd1b66b [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
blogic
a1f5b2e565 [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
blogic
9de6816b61 [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
jow
fd3229e755 [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
blogic
338bcc51d7 [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
jow
b1ba3fb620 [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
kaloz
3f71dabad1 [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
kaloz
7a2d11b187 [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
jow
8007d3bd97 [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
jow
0e4e5fbf63 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
jow
be39f711bb [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
jogo
57a6b42c70 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
jogo
bbb153176f 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
jogo
21fcfbb1a2 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
jow
9db1664fbe [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
729010e333 [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
2b55ad4ab5 [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
acinonyx
b4f26d0124 [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
acinonyx
54eef89c33 [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
juhosg
8b09b5ce75 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
juhosg
87485f3a88 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
juhosg
4afe9df355 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
blogic
a73a270eb0 [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
blogic
b13c35b00f [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
blogic
1b760ca1fc [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
blogic
97f7040e2d [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
jow
ca4717a482 [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
jow
603d01fbba [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
8948cb2814 [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
c0ade48327 [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
8675646119 [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
ff7c3c6481 [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
f4c6500322 [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
1a38049d59 [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
002c3c6652 [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
afad2e49db [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
0432b2b9b9 [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
0d6d67e4b9 [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
jow
4f7c8b760c [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
jow
1018d3d279 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
08fc0ba23f [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
287094fa46 [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