Jo-Philipp Wich
f52a62d600
sdk: rename file to mention target/subtarget and move host system to suffix
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44312
10 years ago
Jo-Philipp Wich
4685e4f273
sdk: track files with git and use it to implement proper clean targets
...
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>
SVN-Revision: 43904
10 years ago
Jo-Philipp Wich
15d8db1f8c
build: add version number to filenames
...
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>
SVN-Revision: 43869
10 years ago
Felix Fietkau
db9f9a6407
sdk: add missing kernel include files
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43621
10 years ago
Jo-Philipp Wich
cc97eaff10
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>
SVN-Revision: 42935
10 years ago
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
10 years ago
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
10 years ago
Felix Fietkau
2a5f6cadd1
target/sdk: strip host binaries before packing
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39915
11 years ago
Felix Fietkau
8c9fed34e4
target/sdk: leave out some unnecessary directories
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39914
11 years ago
Felix Fietkau
ee4110aff0
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>
SVN-Revision: 39913
11 years ago
Felix Fietkau
fd27fb770d
target/sdk: fix parallel build calls
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39912
11 years ago
Felix Fietkau
2d52430c25
target/sdk: remove obsolete make calls for the ancient package directory format
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39911
11 years ago
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
11 years ago
Felix Fietkau
23df56c490
target/sdk: remove obsolete compatibility makefiles
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39863
11 years ago
Felix Fietkau
5ef90f6540
target/sdk: remove obsolete exclude line
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39861
11 years ago
Felix Fietkau
d76f2d4d1c
target/sdk: remove some unnecessary files
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39859
11 years ago
Felix Fietkau
ba3b720fe6
target/sdk: add support for building kernel module packages
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39858
11 years ago
Felix Fietkau
96bb7c123b
build: consistently use 'depends on' instead of 'depends'
...
make the syntax more compatible with kernel menuconfig
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36351
12 years ago
Daniel Dickinson
7e0f8049fa
Fix feeds.conf.default when no SVN info present
...
SVN-Revision: 34051
12 years ago
John Crispin
3686b8d279
derive system from hostcc to allow building inside a chroot
...
SVN-Revision: 33228
12 years ago
Jo-Philipp Wich
93b8648b15
don't overwrite version.mk, substitute REVISION instead
...
SVN-Revision: 31271
13 years ago
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
13 years ago
Jo-Philipp Wich
34f2cfc657
fix generation for arm platforms Based on patch by Roman Yeryomin <roman@advem.lv>
...
SVN-Revision: 28225
13 years ago
Felix Fietkau
b3d364b922
sdk: fix up paths for $(ARCH_SUFFIX)
...
SVN-Revision: 20254
15 years ago
Nicolas Thill
ac695f35fa
disable IB & SDK when using an external toolchain ( closes : #6001 )
...
SVN-Revision: 18837
15 years ago
Florian Fainelli
40d5dafdd2
do not exclude the share directory for bison and other programs to work ( #5629 )
...
SVN-Revision: 17198
15 years ago
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
16 years ago
Florian Fainelli
4f52961c56
do not copy all the staging_dir/ directories, only the right toolchain and target directories
...
SVN-Revision: 16507
16 years ago
Felix Fietkau
34939cad39
get rid of $Id$ - it has never helped us and it has broken too many patches ;)
...
SVN-Revision: 15242
16 years ago
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
16 years ago
Nicolas Thill
fe47c70496
add LICENSE & minimal Config.in files ( closes : #3710 )
...
SVN-Revision: 12367
16 years ago
Nicolas Thill
42cf7602f4
add feeds config file to SDK
...
SVN-Revision: 12365
16 years ago
Felix Fietkau
bdb9c7351c
some more build system cleanup
...
SVN-Revision: 12329
16 years ago
Felix Fietkau
44db3f4117
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>
SVN-Revision: 10621
17 years ago
Felix Fietkau
2da3f6a256
fix the sdk
...
SVN-Revision: 9747
17 years ago
Felix Fietkau
b81933c951
strip -$(KERNEL) from sdk/imagebuilder names
...
SVN-Revision: 9742
17 years ago
Felix Fietkau
882f3e78ca
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>
SVN-Revision: 9692
17 years ago
Florian Fainelli
aa5fa29235
Fix the sdk generation with the new staging_dir layout
...
SVN-Revision: 8503
17 years ago
Felix Fietkau
9a1350fdc1
fix sdk build
...
SVN-Revision: 7855
18 years ago
Felix Fietkau
d3dea9d2c6
add portability fixes from #1720
...
SVN-Revision: 7791
18 years ago
Felix Fietkau
874f03ea00
fixes for a few build errors on osx without fink
...
SVN-Revision: 7065
18 years ago
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
18 years ago
Mike Baker
8101912ed6
Accidentially broke sdk and imagebuilder in [6857]
...
SVN-Revision: 6858
18 years ago
Mike Baker
3295536b02
more [6849]
...
SVN-Revision: 6850
18 years ago
Florian Fainelli
6cd84c6838
Use find -exec instead of xargs
...
SVN-Revision: 6837
18 years ago
Mike Baker
3debff019c
Remove extra -
...
SVN-Revision: 6763
18 years ago
Felix Fietkau
4113d5a46d
fix the sdk
...
SVN-Revision: 6718
18 years ago
Felix Fietkau
2c62bddcfe
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.
...
SVN-Revision: 6572
18 years ago
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
18 years ago
Felix Fietkau
927fb16abb
don't mess with the staging dir too much when building the sdk
...
SVN-Revision: 6070
18 years ago