Jo-Philipp Wich
50f2e5e8e4
sdk: improve feed setup
...
- 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
2014-10-16 16:28:12 +00:00
Jo-Philipp Wich
dfbf70b43d
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 10:25:47 +00:00
Felix Fietkau
02111e915c
sdk: keep $(STAGING_DIR)/usr/bin, at least curl needs it
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 22:34:37 +00:00
Felix Fietkau
6e860abc26
target/sdk: strip host binaries before packing
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-13 14:14:00 +00:00
Felix Fietkau
b925adba7e
target/sdk: leave out some unnecessary directories
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-13 14:13:57 +00:00
Felix Fietkau
a9463d966a
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39864 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-10 18:58:49 +00:00
Felix Fietkau
518922ae58
target/sdk: remove obsolete compatibility makefiles
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-10 18:58:44 +00:00
Felix Fietkau
22af96eb9c
target/sdk: remove obsolete exclude line
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-10 18:58:34 +00:00
Felix Fietkau
dab9faaf1b
target/sdk: remove some unnecessary files
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-10 11:12:41 +00:00
Felix Fietkau
751f616096
target/sdk: add support for building kernel module packages
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-10 11:12:37 +00:00
Daniel Dickinson
78170ee893
[sdk] Fix feeds.conf.default when no SVN info present
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-01 07:15:49 +00:00
John Crispin
727249a95d
[target] derive system from hostcc to allow building inside a chroot
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 15:07:32 +00:00
Jo-Philipp Wich
903019e50d
[sdk] don't overwrite version.mk, substitute REVISION instead
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31271 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-13 10:47:45 +00:00
Jo-Philipp Wich
a57b94ceb0
[sdk] 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-28 03:30:30 +00:00
Jo-Philipp Wich
849117fcd7
[sdk] fix generation for arm platforms
...
Based on patch by Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28225 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-13 07:39:14 +00:00
Felix Fietkau
af51470532
sdk: fix up paths for $(ARCH_SUFFIX)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20254 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-17 16:03:08 +00:00
Florian Fainelli
ce94c7725a
[sdk] do not exclude the share directory for bison and other programs to work ( #5629 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17198 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-09 11:11:11 +00:00
Florian Fainelli
e3154f973c
[sdk] now that we support multiple libc, include the gcc version, libc type and libc version in the SDK filename
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-18 15:34:37 +00:00
Florian Fainelli
f859f67084
[sdk] do not copy all the staging_dir/ directories, only the right toolchain and target directories
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-18 15:32:37 +00:00
Felix Fietkau
5bdd866100
get rid of $Id$ - it has never helped us and it has broken too many patches ;)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:09:46 +00:00
Nicolas Thill
7dc21aab52
allow SDK to install trunk packages with scripts/feeds & build them, instead of trying to embed precompiled ones ( closes : #3097 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-24 17:11:41 +00:00
Nicolas Thill
39b4ccc22d
add LICENSE & minimal Config.in files ( closes : #3710 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-22 04:20:40 +00:00
Nicolas Thill
088779813d
add feeds config file to SDK
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12365 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-22 02:52:19 +00:00
Felix Fietkau
87cd6ef1b4
some more build system cleanup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-17 11:14:13 +00:00
Felix Fietkau
b85354ab6e
fix the sdk
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-14 00:33:25 +00:00
Felix Fietkau
a43ffde508
strip -$(KERNEL) from sdk/imagebuilder names
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9742 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-13 22:31:56 +00:00
Florian Fainelli
1e35e6e87d
Fix the sdk generation with the new staging_dir layout
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-27 10:31:12 +00:00
Felix Fietkau
63a2d4d838
fix sdk build
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-02 18:36:31 +00:00
Felix Fietkau
f460eb1cdb
fixes for a few build errors on osx without fink
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-29 01:30:48 +00:00
Felix Fietkau
1cabba028e
revert find | xargs => find | exec changes - this is completely unnecessary and introduces additional dependencies that we do not need
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-12 19:18:38 +00:00
Mike Baker
5e0a1aea7a
more [6849]
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-03 13:59:07 +00:00
Florian Fainelli
7a5a2cec7a
Use find -exec instead of xargs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-02 16:09:15 +00:00
Felix Fietkau
2cf3780bea
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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-14 23:37:40 +00:00
Felix Fietkau
bf32023e6c
don't mess with the staging dir too much when building the sdk
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6070 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-10 21:21:59 +00:00
Felix Fietkau
f480fb301f
leave out the ccache directory when copying the staging dir into the sdk ( #843 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-14 14:16:26 +00:00
Mike Baker
17dad6fbd2
fix a few directories missed in [4176]'s source -> download
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4198 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-21 17:00:14 +00:00
Felix Fietkau
03116cc0b2
make the buildroot-ng sdk compatible with the old packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-18 20:17:05 +00:00
Mike Baker
f9e5c1b1d5
credit where credit is due
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-27 00:35:46 +00:00
Felix Fietkau
4da6c416ff
fix and enable the sdk
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4037 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-21 03:17:13 +00:00
Mike Baker
20e4ecc021
fix BR2_ and CONFIG_ issues
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-12 19:08:03 +00:00
Felix Fietkau
5213f8247a
move package/sdk to target/sdk
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-04-21 10:08:47 +00:00