[OE-core] [PATCH] cryptodev kernel module recipe

Khem Raj raj.khem at gmail.com
Thu Oct 18 06:35:12 UTC 2012


On Oct 17, 2012, at 11:27 PM, Dutta Yashpal-B05456 <B05456 at freescale.com> wrote:

>> -----Original Message-----
>> From: Khem Raj [mailto:raj.khem at gmail.com]
>> Sent: Thursday, October 18, 2012 11:44 AM
>> To: Dutta Yashpal-B05456
>> Cc: openembedded-core at lists.openembedded.org
>> Subject: Re: [OE-core] [PATCH] cryptodev kernel module recipe
>> 
>> 
>> On Oct 18, 2012, at 2:57 AM, Yashpal Dutta <yashpal.dutta at freescale.com>
>> wrote:
>> 
>>> +-install:
>>> ++modules_install:
>>> + 	make -C $(KERNEL_DIR) SUBDIRS=`pwd` modules_install
>>> +-	@echo "Installing cryptodev.h in /usr/include/crypto ..."
>>> +-	@install -D crypto/cryptodev.h /usr/include/crypto/cryptodev.h
>>> ++	@echo "Installing cryptodev.h in $(PREFIX)/usr/include/crypto ..."
>>> ++	@install -D crypto/cryptodev.h
>> $(PREFIX)/usr/include/crypto/cryptodev.h
>>> +
>> 
>> why is it installing linux headers under /usr/include shouldn't they be
>> under usr/include/linux ?
> [Yash] That is how original cryptodev module makefile is installing the file for packages like openssl.
> Here is one instance where openssl is referring cryptodev.h:
> 
> crypto/engine/eng_cryptodev.c:#include <crypto/cryptodev.h>
> crypto/evp/openbsd_hw.c:#include <crypto/cryptodev.h>
> 

hmm ok. 



More information about the Openembedded-core mailing list