aboutsummaryrefslogtreecommitdiffstats
path: root/target/sdk
Commit message (Collapse)AuthorAgeFilesLines
* CC: 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> Backport of r46514 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46515 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sdk: filter out CONFIG_SIGNED_PACKAGES for generated configFelix Fietkau2015-04-251-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45581 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44330 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44312 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43904 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43869 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sdk: add missing kernel include filesFelix Fietkau2014-12-111-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43621 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42935 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42590 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sdk: keep $(STAGING_DIR)/usr/bin, at least curl needs itFelix Fietkau2014-09-011-2/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42397 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/sdk: strip host binaries before packingFelix Fietkau2014-03-131-2/+19
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39915 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/sdk: leave out some unnecessary directoriesFelix Fietkau2014-03-131-1/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39914 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39913 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/sdk: fix parallel build callsFelix Fietkau2014-03-131-0/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39912 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39911 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39864 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/sdk: remove obsolete compatibility makefilesFelix Fietkau2014-03-103-102/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39863 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/sdk: remove obsolete exclude lineFelix Fietkau2014-03-101-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39861 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/sdk: remove some unnecessary filesFelix Fietkau2014-03-101-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39859 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/sdk: add support for building kernel module packagesFelix Fietkau2014-03-101-3/+28
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39858 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36351 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [sdk] Fix feeds.conf.default when no SVN info presentDaniel Dickinson2012-11-011-2/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34051 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [target] derive system from hostcc to allow building inside a chrootJohn Crispin2012-08-221-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33228 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [sdk] don't overwrite version.mk, substitute REVISION insteadJo-Philipp Wich2012-04-131-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31271 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [sdk] make sure .config gets copied as fileJo-Philipp Wich2012-01-281-1/+1
| | | | | | | | | | When using scripts/env, .config is 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29927 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [sdk] fix generation for arm platformsJo-Philipp Wich2011-09-131-1/+5
| | | | | | | Based on patch by Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28225 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sdk: fix up paths for $(ARCH_SUFFIX)Felix Fietkau2010-03-171-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20254 3c298f89-4303-0410-b956-a3cf2f4a3e73
* disable IB & SDK when using an external toolchain (closes: #6001)Nicolas Thill2009-12-181-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18837 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [sdk] do not exclude the share directory for bison and other programs to ↵Florian Fainelli2009-08-091-1/+5
| | | | | | work (#5629) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17198 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [sdk] now that we support multiple libc, include the gcc version, libc type ↵Florian Fainelli2009-06-181-1/+1
| | | | | | and libc version in the SDK filename git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16508 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [sdk] do not copy all the staging_dir/ directories, only the right toolchain ↵Florian Fainelli2009-06-181-1/+1
| | | | | | and target directories git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16507 3c298f89-4303-0410-b956-a3cf2f4a3e73
* get rid of $Id$ - it has never helped us and it has broken too many patches ;)Felix Fietkau2009-04-171-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12689 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add LICENSE & minimal Config.in files (closes: #3710)Nicolas Thill2008-08-222-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12367 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add feeds config file to SDKNicolas Thill2008-08-221-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12365 3c298f89-4303-0410-b956-a3cf2f4a3e73
* some more build system cleanupFelix Fietkau2008-08-171-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12329 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Detach the building of sdk and imagebuilder from "Select all packagesFelix Fietkau2008-03-191-1/+0
| | | | | | | | | | by default", since those really represent two distinct build operations from normal package selection. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10621 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix the sdkFelix Fietkau2007-12-143-93/+69
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9747 3c298f89-4303-0410-b956-a3cf2f4a3e73
* strip -$(KERNEL) from sdk/imagebuilder namesFelix Fietkau2007-12-131-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9742 3c298f89-4303-0410-b956-a3cf2f4a3e73
* suppress bug after compiling last package in kamikaze SDK.Felix Fietkau2007-12-091-3/+3
| | | | | | | | | This patch corrects https://dev.openwrt.org/ticket/2508 An error was raised when no Config.in file was found in package/ Signed-off-by: Julien Pinon <julien.pinon@luceor.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9692 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix the sdk generation with the new staging_dir layoutFlorian Fainelli2007-08-271-3/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8503 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix sdk buildFelix Fietkau2007-07-021-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7855 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add portability fixes from #1720Felix Fietkau2007-06-301-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7791 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fixes for a few build errors on osx without finkFelix Fietkau2007-04-292-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7065 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6942 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Accidentially broke sdk and imagebuilder in [6857]Mike Baker2007-04-031-6/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6858 3c298f89-4303-0410-b956-a3cf2f4a3e73
* more [6849]Mike Baker2007-04-031-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6850 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Use find -exec instead of xargsFlorian Fainelli2007-04-021-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6837 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Remove extra -Mike Baker2007-03-301-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6763 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix the sdkFelix Fietkau2007-03-261-11/+28
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6718 3c298f89-4303-0410-b956-a3cf2f4a3e73