On Wed, Dec 21, 2016 at 6:49 PM, Robert Yang <liezhi.y...@windriver.com> wrote: > On 12/22/2016 10:47 AM, Robert Yang wrote: >> On 12/21/2016 09:27 PM, Andre McCurdy wrote: >>> On Tue, Dec 20, 2016 at 10:17 PM, Robert Yang <liezhi.y...@windriver.com> >>> wrote: >>>> >>>> Add 0001-Makefile-use-weak-assignment-for-LDFALGS.patch to fix issues >>>> like: >>>> ERROR: hdparm-9.50-r0 do_package: QA Issue: File '/sbin/hdparm.hdparm' >>>> from >>>> hdparm was already stripped, this will prevent future debugging! >>>> [already-stripped] >>>> ERROR: hdparm-9.50-r0 do_package: Fatal QA errors found, failing task. >>> >>> Passing LDFLAGS on the make command line might be a cleaner solution >>> than patching the Makefile. > > To be clear, passing LDFLAGS on the make command line doesn't work.
You need to remove "-e MAKEFLAGS= " from EXTRA_OEMAKE and add CC and LDFLAGS (and anything required by the install target which isn't passed on the command line already) but that's all worthy clean up too. -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core