summaryrefslogtreecommitdiff
path: root/target/sdk
Commit message (Collapse)AuthorAgeFilesLines
* target/sdk: update README.SDK to explain dependency handlingFelix Fietkau2016-08-011-1/+5
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* target/sdk: ship toolchain and kernel module packageFelix Fietkau2016-08-011-0/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* sdk: provide a config symbol for detecting builds within the SDKFelix Fietkau2016-07-311-0/+4
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* sdk: Allow to configure signed pacakge listsDaniel Dickinson2016-07-131-0/+4
| | | | | | Add option to enable signing packages lists in SDK. Signed-off-by: Daniel Dickinson <lede@daniel.thecshore.com>
* sdk: Fix keeping unset as unsetDaniel Dickinson2016-06-211-15/+40
| | | | | | | | | | | | | | The configuration preservation mechanism fails to keep items was are unset as unset. For busybox this causes issues when building with custom settings in the SDK. Therefore preserve busybox unset settings. In addition we preserve non-package selection unset settings because they may be important for making sure we compile and identical package for packages that are recompiled in the SDK. Now that SDK not longer ships .config this becomes relevant for any use of the SDK. Signed-off-by: Daniel Dickinson <lede@daniel.thecshore.com>
* IB/SDK/toolchain: use lower cases filenamesAlexander Couzens2016-06-011-1/+1
| | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* IB/SDK/toolchain: use VERSION_DIST_SANITIZED instead of VERSION_DISTAlexander Couzens2016-06-011-1/+1
| | | | | | VERSION_DIST can contains spaces which produces problems when used as file name Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* sdk: remove redundant symbol declarationJo-Philipp Wich2016-05-241-7/+0
| | | | | | | | Commit d79f8909c1bde8376c82537798ce363797033cf9 introduced CONFIG_ALL, CONFIG_ALL_KMODS and CONFIG_ALL_NONSHARED as menuconfig choices to the SDK, therefor we can drop the hardcoded CONFIG_ALL symbol declaration now. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* sdk: stop shipping a .configJo-Philipp Wich2016-05-241-1/+0
| | | | | | | | | | | | | | | | Now that the most important options are exposed via menuconfig in the SDK we can stop shipping a (possibly outdated) copy of .config from the emitting buildroot. Leaving out .config has two positive side effects: - A simple "make" run without any prior config will launch menuconfig, forcing interactive users to make appropriate choices - Buildbot systems (e.g. our phase2 builder) can issue a "make defconfig" to obtain a .config enabling all packages by default Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* sdk: Allow to change ALL* package settings in SDKDaniel Dickinson2016-05-241-0/+16
| | | | | | | | | | | | It is desirable to be able to use ./scripts/feeds install -a when in the SDK without being forced to build a great number of packages that are not actually wanted. We therefore add the option of changing the various ALL package build options so that we can default to packages not being built unless we select them. Signed-off-by: Daniel Dickinson <lede@daniel.thecshore.com>
* sdk: rename OpenWrt into LEDEAlexander Couzens2016-05-052-4/+4
| | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* sdk: bundle required firmware filesJo-Philipp Wich2016-04-211-0/+2
| | | | | | | | Bundle all firmware files which have been built along with the kernel to fix packaging of kmods in the SDK environment that rely on in-tree firmwares, specifically kmod-e100. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* sdk: do not exclude ccache executableJo-Philipp Wich2016-04-181-1/+2
| | | | | | | Change tar exclude pattern to skip ccache directory contents but not the ccache executable itself. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* sdk: fix generation of base feed urlJo-Philipp Wich2016-04-171-1/+1
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* sdk: add base repository fallbackJo-Philipp Wich2016-01-121-0/+1
| | | | | | | | | | | | | | When the build system cannot infer its own repository url then let it fall back to http://git.openwrt.org/ for the base feed. The path to openwrt.git is guessed from the VERSION_NUMBER variable: "unknown" or "r12345" -> http://git.openwrt.org/openwrt.git "15.05.1" -> http://git.openwrt.org/15.05/openwrt.git Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 48212
* target/sdk: include modules.builtin, it is necessary for packaging kernel ↵Felix Fietkau2016-01-111-0/+1
| | | | | | | | modules Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48206
* target/sdk: do not include the target staging dir anymore, it is unnecessary nowFelix Fietkau2016-01-081-2/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48157
* target/sdk: ship .ko files to allow rebuild of the base kmod-* packagesFelix Fietkau2016-01-081-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48156
* target/sdk: Fix filename with external toolchainFelix Fietkau2016-01-031-1/+1
| | | | | | | | | When building SDK with external toolchain, don't include _gcc in the filename Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> SVN-Revision: 48084
* targets: Use configured distribution name for SDK, IB, and Toolchain tarball ↵Felix Fietkau2016-01-031-1/+1
| | | | | | | | | | | | names We allow to configure the version distribution name; let's also use it for the tarballs (SDK, ImageBuilder, and SDK). Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> SVN-Revision: 48081
* sdk: provide explicit CONFIG_MODULES kconfig symbolJo-Philipp Wich2015-07-271-0/+5
| | | | | | | | | | Extend the SDK Config.in file to explicitely declare a MODULES symbol with the "option modules" flag set in order to prevent a kconfig segmentation fault whenever a "depends m" dependency is encountered. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 46514
* sdk: filter out CONFIG_SIGNED_PACKAGES for generated configFelix Fietkau2015-04-251-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45581
* sdk: use prepare target to initialize git snapshotJo-Philipp Wich2015-02-083-11/+19
| | | | | | | | | The new approach is less prone to race conditions and will properly snapshot the symlinks prepared by the prereq-build target. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44330
* sdk: rename file to mention target/subtarget and move host system to suffixJo-Philipp Wich2015-02-071-4/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44312
* sdk: track files with git and use it to implement proper clean targetsJo-Philipp Wich2015-01-101-3/+16
| | | | | | | | | | | | Initialize a Git repository in the SDK and use git reset / git clean to rollback any SDK changes with "make clean" or "make dirclean". This approach is more robust than nuking entire directory trees because some parts of them might have been shipped with the original archive. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 43904
* build: add version number to filenamesJo-Philipp Wich2015-01-081-1/+2
| | | | | | | | | | | | This commit introduces a new option CONFIG_VERSION_FILENAMES which causes OpenWrt to embed the version number in generated image files, SDK- and ImageBuilder archives. The option is enabled by default if CONFIG_VERSIONOPT is set. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 43869
* sdk: add missing kernel include filesFelix Fietkau2014-12-111-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43621
* sdk: improve feed setupJo-Philipp Wich2014-10-161-7/+12
| | | | | | | | | - Add current buildroot scm url as base feed to feeds.conf - Prefer feeds.conf over feeds.conf.default when generating the SDK feeds.conf.default Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42935
* sdk: predefine kernel version magicJo-Philipp Wich2014-09-171-0/+1
| | | | | | | | | | | | | | | Kernel modules which are built using the SDK do not have access to the .vermagic file in the Linux build dir, therefore the generated .ipk metadata depends on kernel versions like '3.10.49-1-unknown' which are not satisfiable by the kernel meta package in the image. Fix this problem by substituting 'unknown' with the current version magic in include/kernel.mk when packing the SDK. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42590
* sdk: keep $(STAGING_DIR)/usr/bin, at least curl needs itFelix Fietkau2014-09-011-2/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42397
* target/sdk: strip host binaries before packingFelix Fietkau2014-03-131-2/+19
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39915
* target/sdk: leave out some unnecessary directoriesFelix Fietkau2014-03-131-1/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39914
* target/sdk: use .config instead of unconditionally enabling all build dirsFelix Fietkau2014-03-131-0/+9
| | | | | | | | Call make defconfig on every build to catch newly added packages Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39913
* target/sdk: fix parallel build callsFelix Fietkau2014-03-131-0/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39912
* target/sdk: remove obsolete make calls for the ancient package directory formatFelix Fietkau2014-03-131-3/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39911
* target/sdk: generate a Config.in file with the settings of the build that ↵Felix Fietkau2014-03-103-0/+33
| | | | | | | | | | the SDK was generated from This allows make oldconfig/menuconfig to run Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39864
* target/sdk: remove obsolete compatibility makefilesFelix Fietkau2014-03-103-102/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39863
* target/sdk: remove obsolete exclude lineFelix Fietkau2014-03-101-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39861
* target/sdk: remove some unnecessary filesFelix Fietkau2014-03-101-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39859
* target/sdk: add support for building kernel module packagesFelix Fietkau2014-03-101-3/+28
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39858
* build: consistently use 'depends on' instead of 'depends'Felix Fietkau2013-04-171-1/+1
| | | | | | | | make the syntax more compatible with kernel menuconfig Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36351
* Fix feeds.conf.default when no SVN info presentDaniel Dickinson2012-11-011-2/+3
| | | | SVN-Revision: 34051
* derive system from hostcc to allow building inside a chrootJohn Crispin2012-08-221-2/+2
| | | | SVN-Revision: 33228
* don't overwrite version.mk, substitute REVISION insteadJo-Philipp Wich2012-04-131-1/+1
| | | | SVN-Revision: 31271
* make sure .config gets copied as file When using scripts/env, .config is ↵Jo-Philipp Wich2012-01-281-1/+1
| | | | | | most likely a symbolic link pointing to env/.config. Previously the symbolic link got copied as-is into the SDK tarball, leading to a dangling .config symlink on the target system which prevented the SDK from working. SVN-Revision: 29927
* fix generation for arm platforms Based on patch by Roman Yeryomin ↵Jo-Philipp Wich2011-09-131-1/+5
| | | | | | <roman@advem.lv> SVN-Revision: 28225
* sdk: fix up paths for $(ARCH_SUFFIX)Felix Fietkau2010-03-171-1/+1
| | | | SVN-Revision: 20254
* disable IB & SDK when using an external toolchain (closes: #6001)Nicolas Thill2009-12-181-0/+1
| | | | SVN-Revision: 18837
* do not exclude the share directory for bison and other programs to work (#5629)Florian Fainelli2009-08-091-1/+5
| | | | SVN-Revision: 17198
* now that we support multiple libc, include the gcc version, libc type and ↵Florian Fainelli2009-06-181-1/+1
| | | | | | libc version in the SDK filename SVN-Revision: 16508