Felix Fietkau
105709e475
sdk: add missing kernel include files
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-11 17:03:04 +00:00
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
2ad5d768d4
target/sdk: use .config instead of unconditionally enabling all build dirs
...
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
2014-03-13 12:12:58 +00:00
Felix Fietkau
7e7beff15e
target/sdk: fix parallel build calls
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-13 12:12:50 +00:00
Felix Fietkau
f18615b72d
target/sdk: remove obsolete make calls for the ancient package directory format
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-13 12:12:46 +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
Felix Fietkau
ab8468d344
build: consistently use 'depends on' instead of 'depends'
...
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
2013-04-17 15:36:41 +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
Nicolas Thill
09eb477058
disable IB & SDK when using an external toolchain ( closes : #6001 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-18 18:55:03 +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
639b7157f3
Detach the building of sdk and imagebuilder from "Select all packages
...
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
2008-03-19 08:16:02 +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
Felix Fietkau
b4630ff89f
suppress bug after compiling last package in kamikaze SDK.
...
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
2007-12-09 18:52:52 +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
b3ee15232a
add portability fixes from #1720
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-30 12:21:58 +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
8ca5f319f7
Accidentially broke sdk and imagebuilder in [6857]
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-03 23:29:02 +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
Mike Baker
827a6304f5
Remove extra -
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6763 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-30 10:23:15 +00:00
Felix Fietkau
9d5cc6d86b
fix the sdk
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-26 20:17:28 +00:00
Felix Fietkau
97276e7bf0
Add an 'Image Configuration' menu to menuconfig
...
Packages can export a list of config options with labels and data types
through the metadata. The selected config values will be exported to the
target filesystem in /etc/uci-defaults and applied on the first boot.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 03:02:31 +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
Felix Fietkau
0612544cd0
set the sdk default to y if CONFIG_ALL is set
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-03 12:25:20 +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