Re: [LEDE-DEV] Conditional dependencies in Makefiles

2017-08-30 Thread Ted Hess
intermediate config symbols (as we do with -custom) -- will give this a try. Regards, /ted -Original Message- From: Felix Fietkau Sent: Tuesday, August 29, 2017 3:04 PM To: Ted Hess ; lede-dev Subject: Re: [LEDE-DEV] Conditional dependencies in Makefiles Please don't introduce depende

Re: [LEDE-DEV] Conditional dependencies in Makefiles

2017-08-29 Thread Ted Hess
onfig evaluation? /ted -Original Message- From: Alexandru Ardelean Sent: Tuesday, August 29, 2017 2:50 PM To: LEDE Development List ; Ted Hess Subject: Re: [LEDE-DEV] Conditional dependencies in Makefiles What if you do outside of the function def. ifeq ($(CONFIG_SOFT_FLO

Re: [LEDE-DEV] Conditional dependencies in Makefiles

2017-08-29 Thread Felix Fietkau
On 2017-08-29 19:08, Ted Hess wrote: > Hi all - > > I have a package (ffmpeg) build problem which is trying to specify a different > DEPENDS for soft-float systems and one for hard-float. The package definition > is > as follows: > >> define Package/libffmpeg-full >> $(call Package/libffmpeg/Def

Re: [LEDE-DEV] Conditional dependencies in Makefiles

2017-08-29 Thread Alexandru Ardelean
What if you do outside of the function def. ifeq ($(CONFIG_SOFT_FLOAT),y) FLOAT_DEPENDS:= +PACKAGE_shine:shine else FLOAT_DEPENDS+= +PACKAGE_lame-lib:lame-lib +PACKAGE_libx264:libx264 endif and then DEPENDS+=$(FLOAT_DEPENDS) ? On Tue, Aug 29, 2017 at 9:34 PM, Sebastian Kemper w

Re: [LEDE-DEV] Conditional dependencies in Makefiles

2017-08-29 Thread Sebastian Kemper
On Tue, Aug 29, 2017 at 05:15:51PM +, Sebastian Kemper wrote: > Hi Ted, > > Maybe a stupid idea, but is there a tab in front of the depends? Does > removing it help? No, that doesn't help. I remember trying to do something like this with PKG_BUILD_DEPENDS and couldn't get it working either.

Re: [LEDE-DEV] Conditional dependencies in Makefiles

2017-08-29 Thread Sebastian Kemper
Hi Ted, Maybe a stupid idea, but is there a tab in front of the depends? Does removing it help? Seb Am 29. August 2017 19:08:11 MESZ schrieb Ted Hess : >Hi all - > >I have a package (ffmpeg) build problem which is trying to specify a >different >DEPENDS for soft-float systems and one for hard-f

[LEDE-DEV] Conditional dependencies in Makefiles

2017-08-29 Thread Ted Hess
Hi all - I have a package (ffmpeg) build problem which is trying to specify a different DEPENDS for soft-float systems and one for hard-float. The package definition is as follows: > define Package/libffmpeg-full > $(call Package/libffmpeg/Default) >  TITLE+= (full) >  DEPENDS+= @BUILD_PATENTED +