summaryrefslogtreecommitdiffstats
path: root/target/sdk/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* target/sdk: ship toolchain and kernel module packageFelix Fietkau2016-08-011-0/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* 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: 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: 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: use prepare target to initialize git snapshotJo-Philipp Wich2015-02-081-0/+1
| | | | | | | | | 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
* 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: generate a Config.in file with the settings of the build that ↵Felix Fietkau2014-03-101-0/+1
| | | | | | | | | | 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-101-1/+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
* 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
* 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
* do not copy all the staging_dir/ directories, only the right toolchain and ↵Florian Fainelli2009-06-181-1/+1
| | | | | | target directories SVN-Revision: 16507
* get rid of $Id$ - it has never helped us and it has broken too many patches ;)Felix Fietkau2009-04-171-1/+0
| | | | SVN-Revision: 15242
* allow SDK to install trunk packages with scripts/feeds & build them, instead ↵Nicolas Thill2008-09-241-1/+6
| | | | | | of trying to embed precompiled ones (closes: #3097) SVN-Revision: 12689
* add LICENSE & minimal Config.in files (closes: #3710)Nicolas Thill2008-08-221-0/+2
| | | | SVN-Revision: 12367
* add feeds config file to SDKNicolas Thill2008-08-221-1/+2
| | | | SVN-Revision: 12365
* some more build system cleanupFelix Fietkau2008-08-171-0/+2
| | | | SVN-Revision: 12329
* fix the sdkFelix Fietkau2007-12-141-14/+19
| | | | SVN-Revision: 9747
* strip -$(KERNEL) from sdk/imagebuilder namesFelix Fietkau2007-12-131-1/+1
| | | | SVN-Revision: 9742
* Fix the sdk generation with the new staging_dir layoutFlorian Fainelli2007-08-271-3/+4
| | | | SVN-Revision: 8503
* fix sdk buildFelix Fietkau2007-07-021-1/+1
| | | | SVN-Revision: 7855
* fixes for a few build errors on osx without finkFelix Fietkau2007-04-291-2/+2
| | | | SVN-Revision: 7065
* revert find | xargs => find | exec changes - this is completely unnecessary ↵Felix Fietkau2007-04-121-2/+2
| | | | | | and introduces additional dependencies that we do not need SVN-Revision: 6942
* more [6849]Mike Baker2007-04-031-2/+2
| | | | SVN-Revision: 6850
* Use find -exec instead of xargsFlorian Fainelli2007-04-021-2/+2
| | | | SVN-Revision: 6837
* Fix config checks for Image Builder and SDK - only build them when ↵Felix Fietkau2007-01-141-3/+2
| | | | | | requested. Clear all packages from bin/packages at the beginning of package/compile when the Image Builder is selected, because the Image Builder can't handle multiple versions of the same package. SVN-Revision: 6102