I'm trying to round out the configuration of a platform, so that simply 
selecting the correct sub-target also selects all of the necessary modules and 
packages to support the hardware.

Alas, to enable the h/w crypto acceleration, I need to turn on 
CONFIG_OPENSSL_ENGINE=y, but there's no easy way to do this from inside my 
target.mk file.

Anyone have an acceptable, elegant solution to this?

Thanks.


Index: target/linux/x86/geos/config-default
===================================================================
--- target/linux/x86/geos/config-default        (revision 25044)
+++ target/linux/x86/geos/config-default        (working copy)
@@ -26,3 +26,8 @@
 CONFIG_X86_TSC=y
 CONFIG_X86_USE_3DNOW=y
 CONFIG_X86_USE_PPRO_CHECKSUM=y
+CONFIG_OCF_OCF=m
+CONFIG_OCF_CRYPTODEV=m
+CONFIG_OCF_CRYPTOSOFT=m
+CONFIG_OCF_FIPS=y
+CONFIG_OCF_RANDOMHARVEST=y
Index: target/linux/x86/geos/target.mk
===================================================================
--- target/linux/x86/geos/target.mk     (revision 25044)
+++ target/linux/x86/geos/target.mk     (working copy)
@@ -1,6 +1,7 @@
 BOARDNAME:=Traverse Geos
 FEATURES:=squashfs pci usb gpio
 DEFAULT_PACKAGES += kmod-ata-via-sata kmod-crypto-hw-geode \
+            kmod-crypto-ocf \
             kmod-gpio-cs5535 kmod-gpio-nsc \
             kmod-wdt-geode kmod-hwmon-core kmod-hwmon-lm90 \
             kmod-8139cp kmod-solos-pci \
@@ -9,7 +10,9 @@
             kmod-usb-core kmod-usb2 kmod-usb-uhci \
             kmod-cfg80211 kmod-mac80211 \
             kmod-mppe kmod-pppoe kmod-pppoa kmod-pppol2tp \
-            kmod-ath kmod-ath5k kmod-ath9k
+            kmod-ath kmod-ath5k kmod-ath9k \
+            soloscli linux-atm br2684ctl bridge ppp ppp-mod-pppoa \
+            libopenssl ocf-crypto-headers zlib hwclock @OPENSSL_ENGINE
 
 CS5535_MASK:=0x0E000048
 
Index: target/linux/x86/Makefile
===================================================================
--- target/linux/x86/Makefile   (revision 25044)
+++ target/linux/x86/Makefile   (working copy)
@@ -12,7 +12,7 @@
 FEATURES:=squashfs jffs2 ext4 vdi vmdk pcmcia targz
 SUBTARGETS=generic olpc xen_domu ep80579 net5501 kvm_guest geos
 
-LINUX_VERSION:=2.6.32.27
+LINUX_VERSION:=2.6.37
 
 include $(INCLUDE_DIR)/target.mk
 
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to