[uClinux-dev] [PATCH] haserl's "clean" isn't cleaning enough

Greg Ungerer gerg at snapgear.com
Thu Nov 15 20:28:36 EST 2007


Hi,

glhs329 at gmail.com wrote:
> An earlier patch I submitted that adds support for user/haserl
> contains a minor error. The package uses a makefile that runs
> configure in order to generate Makefile. The bug is the clean target
> isn't removing Makefile, which is critical if you wish to rebuild for
> a different architecture. Here is a patch that fixes this problem.

Applied, thanks.

Regards
Greg



> diff -urN user/haserl/makefile.orig user/haserl/makefile
> --- user/haserl/makefile.orig   2007-11-15 10:01:33.000000000 -0500
> +++ user/haserl/makefile        2007-11-08 18:21:57.000000000 -0500
> @@ -10,6 +10,10 @@
>  romfs:
>         $(ROMFSINST) src/haserl /bin
> 
> +clean:
> +       $(MAKE) -f Makefile clean
> +       rm Makefile
> +
>  # Default rule retries target in 'Makefile'
>  %:
>         $(MAKE) -f Makefile $@
> _______________________________________________
> 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
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
> 

-- 
------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     gerg at snapgear.com
Secure Computing Corporation                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