Commit Graph

79 Commits

Author SHA1 Message Date
rubo77
2a101ddd56
gluon-core: add dirty flag to gluon-version, add site-version 2016-12-06 20:05:34 +01:00
Jan-Tarek Butt
1a289341a4
build: add GluonSrcDiet define to package.mk
This call takes an input and an output argument and will copy all files
from the input to the output, while minifying the Lua files.

[Matthias Schiffer: simplified definition, added commit message.]
2016-07-09 15:46:39 +02:00
Matthias Schiffer
d7c1c7fffe
kernel: make IPv6 builtin
Packages in the openwrt-routing master have adjusted to this upstream
change, so we follow. Also saves a bit of space.
2016-06-16 01:24:43 +02:00
Matthias Schiffer
a40d3cddba mac80211: update backport to r48681 2016-02-09 18:44:22 +01:00
Matthias Schiffer
c69587fba4 build: disable generation of ramdisk images
Our build process works similarly to the image builder and doesn't support
the generation of initramfs-based images.

Fixes #616
2016-01-08 11:23:44 +01:00
Matthias Schiffer
4b120deaee build: improve handling of repository signing keys 2015-10-30 14:08:29 +01:00
Matthias Schiffer
cbe66e9388 build: add make modules make target
`make modules` will generate a opkg repository containing kernel modules
matching the kernel of the Gluon images.
2015-10-29 18:44:00 +01:00
Matthias Schiffer
53a7cf31f9 build: add GLUON_OUTPUTDIR, move GLUON_IMAGEDIR default below it
We'll soon have other output besides the images, having a single directory
for all output makes sense.
2015-10-29 18:44:00 +01:00
Matthias Schiffer
515dfa2b50 Increment LINUX_RELEASE
The upstream builds always use LINUX_RELEASE=1. By setting it to 2 we
ensure that our modules are always preferred as long as our kernel version
is at least as high as the upstream one.
2015-10-29 18:44:00 +01:00
Matthias Schiffer
cb404a944b build: remove vermagic hack
As the Gluon kernel won't be compatible with the OpenWrt upstream anymore,
we don't need the vermagic hack anymore.
2015-10-29 18:44:00 +01:00
Matthias Schiffer
d5c334af6d gluon-core: replace opkg site configuration to make it more flexible
The new options allow specifying custom repositories and are evaluated
in an upgrade script, not during build.
2015-10-14 02:57:29 +02:00
Matthias Schiffer
46f996b4f0 Update modules
This also takes us past the OpenWrt 15.05 final release.
2015-09-21 21:02:31 +09:00
Matthias Schiffer
508dca41eb Update DEFAULT_OPKG_REPO to 15.05-rc3 2015-07-18 21:22:21 +02:00
Matthias Schiffer
48054fc943 Add update-vermagic make target 2015-07-18 21:21:06 +02:00
Matthias Schiffer
f6498e8773 Update modules 2015-07-18 18:02:13 +02:00
Matthias Schiffer
8e87d84120 Update default opkg repo to 15.05-rc2 2015-06-16 00:58:18 +02:00
Matthias Schiffer
e6c00c1ad7 build: ensure prereq has been run at the beginning of prepare-tmpinfo 2015-05-28 02:45:19 +02:00
Matthias Schiffer
ab10be9f50 We're on Chaos Calmer now 2015-05-22 01:09:19 +02:00
Matthias Schiffer
a11d4a56b0 Use different BUILD_DIRs and STAGING_DIRs for different targets 2015-03-21 21:33:42 +01:00
Matthias Schiffer
c676934e88 build: don't enable all kernel modules in the general OpenWrt .config
With this change, there are two OpenWrt config files: one for the packages
actually used by Gluon, and one with all kernel modules enabled (like it was
since we removed the static kernel configs). The config with all kernel modules
is only used to generate the kernel configuration (so it is compatible with the
upstream kernel).

This should bring the build times back to what they were before the static
configs were removed.
2015-03-20 02:15:58 +01:00
Matthias Schiffer
3d2bc2a188 build: allow setting the source directory for PO files 2015-03-19 19:07:27 +01:00
Matthias Schiffer
7401d02ca4 Add i18n support 2015-03-18 20:21:24 +01:00
Matthias Schiffer
630de84465 Get rid of the static kernel configuration files
With a backported patch from the OpenWrt trunk, it is now easy to generate an
equivalent configuration using CONFIG_ALL_KMODS.

The build will take a bit longer because all kernel module packages are actually
built even when they are not included in the image, but adding new targets
becomes a lot easier.

Also, related documentation updates and fixes.
2015-03-16 13:54:09 +01:00
Matthias Schiffer
c20d0b4130 Rework target handling
Don't set ar71xx-generic target by default, generate manifest for all built
targets.
2015-03-14 19:11:17 +01:00
Matthias Schiffer
68ff6da1c4 Simplify manifest generation 2015-03-14 16:33:55 +01:00
Matthias Schiffer
8aa65f1c2c mac80211: update ath10k to compat-wireless-2015-03-05
Also add some patches from OpenWrt trunk and use the CT ath10k firmware.
2015-03-10 13:20:12 +01:00
Erik Tews
35637ec2df Build wget in busybox with the timeout option (-T). 2015-02-09 06:01:04 +01:00
Matthias Schiffer
72f6b85393 Update kernel configs and references to Barrier Breaker final
mpc85xx and x86 are unchanged since rc3.
2014-10-07 19:36:02 +02:00
Matthias Schiffer
2d9a25a06c Fix build by disabling per-feed repos again
Updating OpenWrt accidentally enabled this option.
2014-09-01 17:43:39 +02:00
Matthias Schiffer
35bb4963df Update kernel configs to 14.07-rc3 2014-08-18 20:26:35 +02:00
Matthias Schiffer
1c1fbe38d5 Always ignore profile-specific packages supplied by OpenWrt 2014-08-08 17:34:50 +02:00
Matthias Schiffer
354ebb495b Keep ordering of package lists 2014-08-08 16:26:01 +02:00
Matthias Schiffer
e164bac87a Switch to Barrier Breaker 2014-08-07 16:21:56 +02:00
Matthias Schiffer
4b7069e12d busybox: add ip command 2014-08-03 02:24:18 +02:00
Nils Schneider
7005a585a0 allow GLUON_SITEDIR to be set by environement 2014-07-28 20:53:43 +02:00
Matthias Schiffer
e00e1fb2fa busybox: prefer IPv6 over IPv4 2014-07-09 16:50:25 +02:00
Matthias Schiffer
b4643c8d11 Strip luci libraries to save some space 2014-07-09 16:49:42 +02:00
Matthias Schiffer
3c6805d211 Never include USB modules by default
They aren't used by default and can simply be installed through opkg if needed.
2014-07-09 16:24:01 +02:00
Matthias Schiffer
17bf228884 Add helper scripts used by packages to validate site.conf 2014-07-05 02:48:09 +02:00
Matthias Schiffer
a7a426ca75 Enable ath9k debugfs support 2014-06-06 09:06:26 +02:00
Matthias Schiffer
356ab27073 Some (unfinished) x86 support 2014-05-21 20:21:32 +02:00
Matthias Schiffer
705595574d Remove things not needed anymore with the new site config 2014-05-15 22:59:13 +02:00
Matthias Schiffer
1b520c6856 Use site_config loader from gluon packages 2014-05-15 22:59:12 +02:00
Matthias Schiffer
3a6561a40c New Lua-based site configuration 2014-05-15 22:59:12 +02:00
Matthias Schiffer
0fd92dd685 Use target-specific openwrt directories with symlinks
This allows us to use separate .config files per target. Also, don't use
OpenWRT's feeds script anymore, but symlink the feeds ourselves.
2014-05-11 10:47:35 +02:00
Matthias Schiffer
8644bfbc18 More multi-target support (still not finished...) 2014-05-10 11:52:06 +02:00
Matthias Schiffer
3b8ad88ce4 Some work towards multi-target support 2014-05-09 15:02:46 +02:00
Matthias Schiffer
379c293b8d make: include the SUBTARGET in BOARD_BUILDDIR
Also, more cleanup.
2014-05-09 15:02:46 +02:00
Daniel Ehlers
03c0a03e6f Make the version repo site configurable
Introduce a new value "opkg_repo" in the site configuration.
The value should be a single domain name,
e.g. "http://opkg.services.ffki/attitude_adjustment/12.09/%S/packages".
2014-05-09 15:01:00 +02:00
Matthias Schiffer
6c862525f7 Use GNU stat (as determined by OpenWRT) for GLUON_CONFIG_VERSION
This *should* fix the build on non-Linux systems like MacOS X.
2014-05-08 00:49:46 +02:00