[OE-core] [PATCH 1/4] linux-firmware: Use the included Makefile for install

Otavio Salvador otavio at ossystems.com.br
Sat Mar 23 22:12:19 UTC 2013


On Sat, Mar 23, 2013 at 6:21 PM, Khem Raj <raj.khem at gmail.com> wrote:
>
>
> On Saturday, March 23, 2013, Otavio Salvador <otavio at ossystems.com.br>
> wrote:
>> This uses the install procedure included in the Makefile which avoids
>> code dupplication.
>>
>> Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
>> ---
>>  .../linux-firmware/linux-firmware/makefile-fix.patch  | 19
>> +++++++++++++++++++
>>  .../linux-firmware/linux-firmware_git.bb              |  6 +++---
>>  2 files changed, 22 insertions(+), 3 deletions(-)
>>  create mode 100644
>> meta/recipes-kernel/linux-firmware/linux-firmware/makefile-fix.patch
>>
>> diff --git
>> a/meta/recipes-kernel/linux-firmware/linux-firmware/makefile-fix.patch
>> b/meta/recipes-kernel/linux-firmware/linux-firmware/makefile-fix.patch
>> new file mode 100644
>> index 0000000..8a23284
>> --- /dev/null
>> +++ b/meta/recipes-kernel/linux-firmware/linux-firmware/makefile-fix.patch
>> @@ -0,0 +1,19 @@
>> +build: Avoid use of bashism and Makefile deployment
>> +
>> +Upstream-Status: Submitted
>> +
>> +Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
>> +
>> +diff --git a/Makefile b/Makefile
>> +index 321a4e2..9bdeef0 100644
>> +--- a/Makefile
>> ++++ b/Makefile
>> +@@ -9,4 +9,7 @@ install:
>> +       mkdir -p $(DESTDIR)$(FIRMWAREDIR)
>> +       cp -r * $(DESTDIR)$(FIRMWAREDIR)
>> +       rm -f $(DESTDIR)/usbdux/*dux $(DESTDIR)/*/*.asm
>> +-      rm $(DESTDIR)$(FIRMWAREDIR)/{WHENCE,LICENSE.*,LICENCE.*}
>> ++      rm $(DESTDIR)$(FIRMWAREDIR)/Makefile
>> ++      rm $(DESTDIR)$(FIRMWAREDIR)/WHENCE
>> ++      rm $(DESTDIR)$(FIRMWAREDIR)/LICENSE.*
>> ++      rm $(DESTDIR)$(FIRMWAREDIR)/LICENCE.*
>
> Can you explain this change ?

>From the patch file; I sent it to upstream already

+build: Avoid use of bashism and Makefile deployment


--
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br




More information about the Openembedded-core mailing list