[uClinux-dev] [PATCH] user/shadow/makefile -- uClinux-dist-20060803

Greg Ungerer gerg at snapgear.com
Mon Sep 18 03:11:26 EDT 2006


Hi Doug,

Doug Kehn wrote:
> The makefile defines the path to passwd, group,
> shadow, etc. via CFLAGS as /etc/config/....  In other
> [Mm]akefile /etc/config is specified only if
> CONFIG_USER_FLATFSD_FLATFSD is defined.  Should the
> same logic apply here?  If so, the attached patch adds

Yep, definitely should.


> ifdef CONFIG_USER_FLATFSD_FLATFSD
>  :
> endif
> 
> around the CFLAGS.  If not ... sorry.

I applied this for next time.

Thanks
greg



> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> 
> ------------------------------------------------------------------------
> 
> --- uClinux-dist/user/shadow/makefile.orig	2006-09-14 10:41:42.000000000 -0400
> +++ uClinux-dist/user/shadow/makefile	2006-09-14 12:26:53.000000000 -0400
> @@ -15,11 +15,13 @@
>  endif
>  
>  # Have to specify the correct paths to various files
> +ifdef CONFIG_USER_FLATFSD_FLATFSD
>  CFLAGS += -DPASSWD_FILE='"/etc/config/passwd"'
>  CFLAGS += -DGROUP_FILE='"/etc/config/group"'
>  CFLAGS += -DSHADOW_FILE='"/etc/config/shadow"'
>  CFLAGS += -DSGROUP_FILE='"/etc/config/gshadow"'
>  CFLAGS += -DLOGINDEFS='"/etc/config/login.defs"'
> +endif
>  
>  all: build/build
>  	$(MAKE) -C build
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev at uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev at uclinux.org

-- 
------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     gerg at snapgear.com
SnapGear -- a Secure Computing Company      PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com


More information about the uClinux-dev mailing list