Hi all,

I have a question about the new adk. Lets say I want to check if
FWRT_PACKAGE_SHOREWALL_DONT_STRIP was not selected, I would do it this
way:

ifneq ($(FWRT_PACKAGE_SHOREWALL_DONT_STRIP),y)
...
endif

Now I want to do this in do-install or maybe post-install then I get this error:
/bin/bash: -c: line 0: syntax error near unexpected token `y,y'
/bin/bash: -c: line 0: `ifneq (y,y)'
gmake[6]: *** [post-install] Error 2
gmake[5]: *** 
[/home/austriancoder/development/freewrt/build_mipsel/w-shorewall-3.2.8-1/fake-mipsel/root/.fake_done]
Error 2
gmake[4]: *** 
[/home/austriancoder/development/freewrt/build_mipsel/w-shorewall-3.2.8-1/.ipkgs_done]
Error 2
gmake[3]: *** [shorewall-compile] Error 2
gmake[2]: *** [package/compile] Error 2
gmake[1]: *** [world] Error 2
make: *** [all] Error 2

Here the part of the Makefile:
post-install:
       ifneq ($(FWRT_PACKAGE_SHOREWALL_DONT_STRIP),y)
               sh ./downstrip ${IDIR_SHOREWALL}/etc/shorewall
               sh ./downstrip ${IDIR_SHOREWALL}/usr/share/shorewall
       endif

Here the part of Config.in:

config FWRT_PACKAGE_SHOREWALL_DONT_STRIP
       prompt "  dont strip any of shorewall configuration and shared files"
       bool
       default n
       depends FWRT_PACKAGE_SHOREWALL
       help
         To save space, all shorewall files in /etc/shorewall and
/usr/share/shorewall
         are striped. This means that all comments, empty lines etc.
are removed.
         If you need the comments, you may want to select this option.

Thanks,
austriancoder
_______________________________________________
freewrt-developers mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-developers

Reply via email to