Commit Graph

85 Commits

Author SHA1 Message Date
Jo-Philipp Wich
057e518224 sdk: predefine kernel version magic
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
2014-09-17 10:25:47 +00:00
Felix Fietkau
734f7609b9 sdk: keep $(STAGING_DIR)/usr/bin, at least curl needs it
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42397
2014-09-01 22:34:37 +00:00
Felix Fietkau
2a5f6cadd1 target/sdk: strip host binaries before packing
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39915
2014-03-13 14:14:00 +00:00
Felix Fietkau
8c9fed34e4 target/sdk: leave out some unnecessary directories
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39914
2014-03-13 14:13:57 +00:00
Felix Fietkau
cedfe135ab target/sdk: generate a Config.in file with the settings of the build that the SDK was generated from
This allows make oldconfig/menuconfig to run

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39864
2014-03-10 18:58:49 +00:00
Felix Fietkau
23df56c490 target/sdk: remove obsolete compatibility makefiles
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39863
2014-03-10 18:58:44 +00:00
Felix Fietkau
5ef90f6540 target/sdk: remove obsolete exclude line
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39861
2014-03-10 18:58:34 +00:00
Felix Fietkau
d76f2d4d1c target/sdk: remove some unnecessary files
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39859
2014-03-10 11:12:41 +00:00
Felix Fietkau
ba3b720fe6 target/sdk: add support for building kernel module packages
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39858
2014-03-10 11:12:37 +00:00
Daniel Dickinson
7e0f8049fa Fix feeds.conf.default when no SVN info present
SVN-Revision: 34051
2012-11-01 07:15:49 +00:00
John Crispin
3686b8d279 derive system from hostcc to allow building inside a chroot
SVN-Revision: 33228
2012-08-22 15:07:32 +00:00
Jo-Philipp Wich
93b8648b15 don't overwrite version.mk, substitute REVISION instead
SVN-Revision: 31271
2012-04-13 10:47:45 +00:00
Jo-Philipp Wich
cb6f860b8f make sure .config gets copied as file 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.
SVN-Revision: 29927
2012-01-28 03:30:30 +00:00
Jo-Philipp Wich
34f2cfc657 fix generation for arm platforms Based on patch by Roman Yeryomin <roman@advem.lv>
SVN-Revision: 28225
2011-09-13 07:39:14 +00:00
Felix Fietkau
b3d364b922 sdk: fix up paths for $(ARCH_SUFFIX)
SVN-Revision: 20254
2010-03-17 16:03:08 +00:00
Florian Fainelli
40d5dafdd2 do not exclude the share directory for bison and other programs to work (#5629)
SVN-Revision: 17198
2009-08-09 11:11:11 +00:00
Florian Fainelli
88fd55fb5c now that we support multiple libc, include the gcc version, libc type and libc version in the SDK filename
SVN-Revision: 16508
2009-06-18 15:34:37 +00:00
Florian Fainelli
4f52961c56 do not copy all the staging_dir/ directories, only the right toolchain and target directories
SVN-Revision: 16507
2009-06-18 15:32:37 +00:00
Felix Fietkau
34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
SVN-Revision: 15242
2009-04-17 14:09:46 +00:00
Nicolas Thill
1990fc90fd allow SDK to install trunk packages with scripts/feeds & build them, instead of trying to embed precompiled ones (closes: #3097)
SVN-Revision: 12689
2008-09-24 17:11:41 +00:00
Nicolas Thill
fe47c70496 add LICENSE & minimal Config.in files (closes: #3710)
SVN-Revision: 12367
2008-08-22 04:20:40 +00:00
Nicolas Thill
42cf7602f4 add feeds config file to SDK
SVN-Revision: 12365
2008-08-22 02:52:19 +00:00
Felix Fietkau
bdb9c7351c some more build system cleanup
SVN-Revision: 12329
2008-08-17 11:14:13 +00:00
Felix Fietkau
2da3f6a256 fix the sdk
SVN-Revision: 9747
2007-12-14 00:33:25 +00:00
Felix Fietkau
b81933c951 strip -$(KERNEL) from sdk/imagebuilder names
SVN-Revision: 9742
2007-12-13 22:31:56 +00:00
Florian Fainelli
aa5fa29235 Fix the sdk generation with the new staging_dir layout
SVN-Revision: 8503
2007-08-27 10:31:12 +00:00
Felix Fietkau
9a1350fdc1 fix sdk build
SVN-Revision: 7855
2007-07-02 18:36:31 +00:00
Felix Fietkau
874f03ea00 fixes for a few build errors on osx without fink
SVN-Revision: 7065
2007-04-29 01:30:48 +00:00
Felix Fietkau
3e91dd1bd5 revert find | xargs => find | exec changes - this is completely unnecessary and introduces additional dependencies that we do not need
SVN-Revision: 6942
2007-04-12 19:18:38 +00:00
Mike Baker
3295536b02 more [6849]
SVN-Revision: 6850
2007-04-03 13:59:07 +00:00
Florian Fainelli
6cd84c6838 Use find -exec instead of xargs
SVN-Revision: 6837
2007-04-02 16:09:15 +00:00
Felix Fietkau
351d0d4b07 Fix config checks for Image Builder and SDK - only build them when 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
2007-01-14 23:37:40 +00:00
Felix Fietkau
927fb16abb don't mess with the staging dir too much when building the sdk
SVN-Revision: 6070
2007-01-10 21:21:59 +00:00
Felix Fietkau
f1d6fb4be1 leave out the ccache directory when copying the staging dir into the sdk (#843)
SVN-Revision: 5081
2006-10-14 14:16:26 +00:00
Felix Fietkau
60c1f0f64d finally move buildroot-ng to trunk 2016-03-20 17:29:15 +01:00