Commit Graph

40 Commits (7fb394b9ab8e45c85202fc211ee9cabc0f4540c7)

Author SHA1 Message Date
Felix Fietkau 74946bb022 build: remove redundant call to $(SH_FUNC) (#8042)
SVN-Revision: 30818
12 years ago
Felix Fietkau edc3ad9100 build: add TARGET_CXXFLAGS and EXTRA_CXXFLAGS, defaulting to *_CFLAGS via lazy evaluation. this allows adding c++ specific cflags
SVN-Revision: 30760
12 years ago
Felix Fietkau bcf4757508 add support for hidden packages that get selected/built but do not show up in menuconfig
SVN-Revision: 27344
13 years ago
Felix Fietkau 459762ace2 add a new package metadata variable MDEPENDS for specifying local menuconfig dependencies that do not propagate to other packages
SVN-Revision: 26491
13 years ago
Jo-Philipp Wich 8b9ca16985 add support for flagging packages
SVN-Revision: 23172
14 years ago
Jo-Philipp Wich 064e7c8f00 Implement an ARCH_PACKAGES variable which defaults to BOARD but can be overridden on a per-subtarget basis. This is intended for targets such as adm5120 and malta which support both big and little endianess and will replace the target specific exceptions in package-defaults and Image Builder.
SVN-Revision: 23029
14 years ago
Felix Fietkau a9136c0892 speed up the build system by including include/shell.sh on shell commands only where necessary
SVN-Revision: 22720
14 years ago
Michael Büsch 7ed7784f59 Support parallel build of certain packages
SVN-Revision: 22696
14 years ago
Travis Kemen e09067b221 The attached patch replaces $(1) install by $(if $(1), $(1), install) in the definition, in order to be able to specify an install rule, which is not always called install (example: trunk/package/ncurses/Makefile has rules called install.libs and install.data).
Then its possible to do this in ncurses Makefile:

define Build/Install
       $(call Build/Install/Default, install.libs install.data)
endef

This patch does not affect anything else, as if no parameter is given,
it will use install as before.

-Raphael

SVN-Revision: 19996
14 years ago
Felix Fietkau 579d54038b build system: introduce a new feature called build variants. it allows building a package multiple times in one pass with different build dirs, based on the same build settings. replaces templating hacks like the one used in the hostapd package
SVN-Revision: 18357
15 years ago
Imre Kaloz 671280830d add special handling for the adm5120 target, which uses subtargets for different endianess -- later we should come up with something smarter
SVN-Revision: 17101
15 years ago
Florian Fainelli e5221c1405 revert 17050 this was not the right way to fix this
SVN-Revision: 17075
15 years ago
Imre Kaloz 9711e6ad55 use board names instead of arch in packages
SVN-Revision: 17063
15 years ago
Florian Fainelli 04fc02ba10 move the global ipv6 option to the very bottom of the options passed to configure scripts, so that we can still override it in package makefiles (#5592, #5586)
SVN-Revision: 17050
15 years ago
Florian Fainelli 11e1304ca0 globally define IPv6 support or not in OpenWrt, just like for largefiles, ipv6 disabled by default (#4857)
SVN-Revision: 16983
15 years ago
Florian Fainelli d413a9639e Fix configure script path when not at the root of $(PKG_BUILD_DIR), thanks Daniel Dickinson (#5255)
SVN-Revision: 16656
15 years ago
Ralph Hempel 6f29703625 add dist and distcheck target (to create new source balls)
SVN-Revision: 16230
15 years ago
Nicolas Thill c73f8dfbe0 remove 2 old interfering variables, probably missed from [15299]
SVN-Revision: 15340
15 years ago
Felix Fietkau 729e0fa4d1 move pkg config stuff to per-target exports to prevent interference with host builds
SVN-Revision: 15299
15 years ago
Felix Fietkau 431c9267b4 replace a few unnecessary $(shell) calls
SVN-Revision: 14739
15 years ago
Felix Fietkau f0bc868861 initialize the url field for packages
SVN-Revision: 14643
15 years ago
Felix Fietkau bc6fcb0067 eliminate redundancy by creating the quilt_used stampfile in the right place
SVN-Revision: 14620
15 years ago
Felix Fietkau 7502d4bd61 add support for build-only packages which do not appear in menuconfig
SVN-Revision: 14009
16 years ago
Felix Fietkau 238304231d make config.{guess,sub} writable before attempting to overwrite them (many packages have broken permissions in the tarball)
SVN-Revision: 13887
16 years ago
Felix Fietkau 3b937f85e8 add default Build/Install template, which is activated by setting PKG_INSTALL=1
SVN-Revision: 12512
16 years ago
Felix Fietkau 06e754b1f7 replace config.guess and config.sub properly, even if they are in a subdirectory
SVN-Revision: 12148
16 years ago
Felix Fietkau a2c17f1bc5 export PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR by default (#3376)
SVN-Revision: 12029
16 years ago
Felix Fietkau 713087f64c add a configurable prefix for ./configure
SVN-Revision: 9938
17 years ago
Felix Fietkau f0b363667b add STAGING_DIR_HOST to PKG_CONFIG_PATH
SVN-Revision: 9850
17 years ago
John Crispin 7558f0281f DESCRIPTION:= is obselete, so complain if it is used and use TITLE if no description is set
SVN-Revision: 9307
17 years ago
Felix Fietkau d1933f9761 move a stampfile to make it easier to override the patch template
SVN-Revision: 9062
17 years ago
Nicolas Thill c0033f360c fix typo (thanks to jonasg[1] on irc)
SVN-Revision: 8618
17 years ago
Nicolas Thill 5b4bfbd6d4 move TARGET_* flags from ./include/package-default.mk to ./rules.mk, remove EXTRA_* flags but still use them in configure and make
SVN-Revision: 8592
17 years ago
Felix Fietkau 8e42553971 dynamically enable/disable kernel config options for kmod packages based on build system config
SVN-Revision: 8026
17 years ago
Imre Kaloz 6fb68cb589 use newer config.guess and config.sub for packages then the shipped ones
SVN-Revision: 7532
17 years ago
Felix Fietkau cc690d782c Add quilt integration for packages
make package/<package>-prepare QUILT=1 will apply all patches using quilt
Autorebuild will be disabled, so that you can edit all patches in the build dir.
When you're done editing patches and everything works, you can call:
make package/<package>-refresh
That will copy the updated patches from quilt into package/<package>/patches,
and remove all old patches.
Before the patches are overwritten, the correct order of the patches is verified
('cat series' is compared against 'sort series').

SVN-Revision: 7471
17 years ago
Felix Fietkau fe42382d1c split CONFIGURE_PATH into CONFIGURE_PATH and CONFIGURE_CMD for better handling of subdirectories with configure
SVN-Revision: 6681
17 years ago
Felix Fietkau ac75c5015f fix CONFIGURE_PATH and add MAKE_PATH
SVN-Revision: 6680
17 years ago
Felix Fietkau 036a419fe1 use recursive variable expansion for CONFIGURE_*, MAKE_* variables in the package build so that TARGET_*FLAGS changes also apply
SVN-Revision: 6678
17 years ago
Felix Fietkau 7b1a36cab4 split package.mk and clean up build system code (based on patch by mbm), makes the code more readable and speeds up metadata scan
SVN-Revision: 6571
17 years ago