On 11.11.2011 20:51, Mike Brady wrote:
Can someone tell be or direct me to an example of how to put a linux version 
conditional into an OpenWrt package Makefile please?

What I want to do is say "if this is and version of Linux 2.4 then do stufft". 
I've tried something like

ifeq ($(CONFIG_LINUX_2_4),1)
        <do stuff>
endif

but no joy.


use
ifeq ($(KERNEL),2.4)
e.g. see here
https://dev.openwrt.org/browser/trunk/package/fuse/Makefile?rev=21300

be aware 2.4 is not supported anymore in trunk.. ede
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to