aboutsummaryrefslogtreecommitdiffstats
path: root/target/sdk/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48212 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48206 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48157 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48156 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48084 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48081 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> 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
* 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: 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39864 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/sdk: remove obsolete compatibility makefilesFelix Fietkau2014-03-101-1/+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
* [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
* [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-221-0/+2
| | | | 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
* fix the sdkFelix Fietkau2007-12-141-14/+19
| | | | 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
* 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
* fixes for a few build errors on osx without finkFelix Fietkau2007-04-291-2/+2
| | | | 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
* 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
* Fix config checks for Image Builder and SDK - only build them when requested.Felix Fietkau2007-01-141-3/+2
| | | | | | | 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6102 3c298f89-4303-0410-b956-a3cf2f4a3e73
* don't mess with the staging dir too much when building the sdkFelix Fietkau2007-01-101-5/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6070 3c298f89-4303-0410-b956-a3cf2f4a3e73
* leave out the ccache directory when copying the staging dir into the sdk (#843)Felix Fietkau2006-10-141-1/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5081 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix a few directories missed in [4176]'s source -> downloadMike Baker2006-07-211-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4198 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make the buildroot-ng sdk compatible with the old packagesFelix Fietkau2006-07-181-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4158 3c298f89-4303-0410-b956-a3cf2f4a3e73
* credit where credit is dueMike Baker2006-06-271-0/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4091 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix and enable the sdkFelix Fietkau2006-06-211-11/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4037 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix BR2_ and CONFIG_ issuesMike Baker2006-05-121-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3769 3c298f89-4303-0410-b956-a3cf2f4a3e73