Alexander Pyhalov
2014-03-29 8bcaef9074fefe31c970b34dcde6e3583369b60f
Allow user to verride default maximum number of archives
2 files modified
4 ■■■ changed files
make-rules/prep.mk 1 ●●●● patch | view | raw | blame | history
make-rules/shared-macros.mk 3 ●●●●● patch | view | raw | blame | history
make-rules/prep.mk
@@ -117,7 +117,6 @@
# Calculate the number of defined archives.
# Always generate at least the basic prep rules.
# Work out if there are any other archives to be downloaded and patched.
NUM_EXTRA_ARCHIVES= 1 2 3 4 5 6 7 8 9
$(eval $(call archive-rule,))
ifneq ($(strip $(PATCH_EACH_ARCHIVE)),)
$(foreach suffix,$(NUM_EXTRA_ARCHIVES), \
make-rules/shared-macros.mk
@@ -744,6 +744,9 @@
# We need this to overwrite options of perl used to compile illumos-gate
PERL_STUDIO_OVERWRITE = cc="$(CC)" cccdlflags="$(CC_PIC)" ld="$(CC)" ccname="$(shell basename $(CC))" optimize="$(gcc_OPT)"
# Allow user to verride default maximum number of archives
NUM_EXTRA_ARCHIVES= 1 2 3 4 5 6 7 8 9 10
# Add any bit-specific settings
COMPONENT_BUILD_ENV += $(COMPONENT_BUILD_ENV.$(BITS))
COMPONENT_BUILD_ARGS += $(COMPONENT_BUILD_ARGS.$(BITS))