Re: [LEDE-DEV] Conditional dependencies in Makefiles

2017-08-30 Thread Ted Hess
on 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 dependencies

Re: [LEDE-DEV] Conditional dependencies in Makefiles

2017-08-29 Thread Ted Hess
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_FLOAT),y

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

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.

[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