Changeset 13869


Ignore:
Timestamp:
2009-01-05T09:43:39+01:00 (9 years ago)
Author:
juhosg
Message:

[package] kernel/crypto: fix crypto breakage (patch by Jose Vasconcellos)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/modules/crypto.mk

    r13850 r13869  
    4343 
    4444crypto_confvar=CONFIG_CRYPTO_$(word 1,$(subst =,$(space),$(1))) 
    45 crypto_file=$(if $($(call crypto_confvar,$(1))),$(LINUX_DIR)/crypto/$(word 2,$(subst =,$(space),$(1))).$(LINUX_KMOD_SUFFIX)) 
    46 crypto_name=$(if $($(call crypto_confvar,$(1))),$(word 2,$(subst =,$(space),$(1)))) 
     45crypto_file=$(if $(findstring y,$($(call crypto_confvar,$(1)))),,$(LINUX_DIR)/crypto/$(word 2,$(subst =,$(space),$(1))).$(LINUX_KMOD_SUFFIX)) 
     46crypto_name=$(if $(findstring y,$($(call crypto_confvar,$(1)))),,$(word 2,$(subst =,$(space),$(1)))) 
    4747 
    4848# XXX: added CONFIG_CRYPTO_HMAC to KCONFIG so that CONFIG_CRYPTO_HASH is 
     
    5353  KCONFIG:=CONFIG_CRYPTO=y $(foreach mod,$(CRYPTO_MODULES),$(call crypto_confvar,$(mod))) 
    5454  FILES:=$(foreach mod,$(CRYPTO_MODULES),$(call crypto_file,$(mod))) 
    55   AUTOLOAD:=$(call AutoLoad,01,$(foreach mod,$(CRYPTO_MODULES),$(call crypto_file,$(mod)))) 
     55  AUTOLOAD:=$(call AutoLoad,01,$(foreach mod,$(CRYPTO_MODULES),$(call crypto_name,$(mod)))) 
    5656endef 
    5757 
Note: See TracChangeset for help on using the changeset viewer.