[Buildroot] Makefile.autotools.in does not work wellwith projects

Ulf Samuelsson ulf.samuelsson at atmel.com
Sat Jul 26 06:53:43 UTC 2008


Subject: Re: [Buildroot] Makefile.autotools.in does not work wellwith 
projects


> On Thu, Jul 24, 2008 at 04:43:09PM +0200, Hans-Christian Egtvedt wrote:
>> The Makefile.autotools.in uses a rule which touches a
>> stamp_target_installed file, this does not work well with projects.
>>
>> The Makefile should depend on a file on the target root file system,
>> file not there => install to target again.
>
> Indeed - install stamps are pure evil. They don't work with multiple
> projects and they mean you can't "rm -rf
> project_build_$(ARCH)/$(PROJECT)/root".
>
>

I do not think that you want to have install stamps in the root file system
because they will end up in the target (unless they are ignored when
the rootfs is created).

You could have install stamps in a 
"project_build_$(ARCH)/$(PROJECT)/.stamps"
directory. Of course you would have to remember to delete this directory
when you delete  "project_build_$(ARCH)/$(PROJECT)/root"

Best Regards
Ulf Samuelsson





More information about the buildroot mailing list