* [Buildroot] changing the mk file in a package
@ 2007-02-16 0:20 Daniel Ng
2007-02-16 7:15 ` Philippe Ney
2007-02-16 7:32 ` Alexander Rigbo
0 siblings, 2 replies; 4+ messages in thread
From: Daniel Ng @ 2007-02-16 0:20 UTC (permalink / raw)
To: buildroot
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20070215/4f2846fb/attachment.htm
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] changing the mk file in a package
2007-02-16 0:20 [Buildroot] changing the mk file in a package Daniel Ng
@ 2007-02-16 7:15 ` Philippe Ney
2007-02-16 7:32 ` Alexander Rigbo
1 sibling, 0 replies; 4+ messages in thread
From: Philippe Ney @ 2007-02-16 7:15 UTC (permalink / raw)
To: buildroot
> Hi,
>
> I'm adding a new package to buildroot. Following the standard docco I add a new
[...]
> If I do a full rebuild, I don't get the above problem. But the fully rebuild
> takes about 30 minutes! Is there a way to get a more sensible 'make' behaviour,
> so that I can avoid having to do these full rebuilds?
Hi,
Sure, juste make your target.
Say your new package as a target like
newpkg:
$(MAKE) -C $(NEWPKG_SRC)
Then, just run :
$ make newpkg
If your package doesn't depend on cramfs, you normally shouldn't have the
problem you pointed.
Philippe
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] changing the mk file in a package
2007-02-16 0:20 [Buildroot] changing the mk file in a package Daniel Ng
2007-02-16 7:15 ` Philippe Ney
@ 2007-02-16 7:32 ` Alexander Rigbo
1 sibling, 0 replies; 4+ messages in thread
From: Alexander Rigbo @ 2007-02-16 7:32 UTC (permalink / raw)
To: buildroot
Hi,
Sounds like this is some other error. I doubt that cramfs would fail just
because you changed a .mk.
My suggestion: disable the creation of the cramfs-image when you're changing
the .mk. Also, if you want your package completely rebuilt just do:
rm -rf build_<arch>/<package>-<version>
Best regards
Alexander Rigbo
On Friday 16 February 2007 01.20.46 Daniel Ng wrote:
> Hi,
>
> I'm adding a new package to buildroot. Following the standard docco I add a
> new package directory and the relevant config.in and xxx.mk file.
>
> I've noticed that if I make changes to xxx.mk I have to do a 'make clean'
> then a 'make' ie. a full rebuild. Otherwise if I just try to run 'make'
> after changing xxx.mk, I get the following error from fakeroot-
>
> # Use fakeroot so mkcramfs believes the previous fakery
> /home/dng/linuxppc/gcc-4.0.2_uclibc/usr/bin/fakeroot \
> -i /home/dng/linuxppc/gcc-4.0.2_uclibc/fakeroot.env \
> -s /home/dng/linuxppc/gcc-4.0.2_uclibc/fakeroot.env -- \
> /home/ppcroot/swdev/buildroot-dng/build_powerpc/cramfs-1.1/mkcramfs -q -
> b \
> /home/ppcroot/swdev/buildroot-
> dng/build_powerpc/root
> /home/ppcroot/swdev/buildroot-dng/rootfs.powerpc.cramfs Swapping filesystem
> endian-ness
> mkcramfs: mmap failed: /home/ppcroot/swdev/buildroot-
> dng/build_powerpc/root/usr/usr/local
> make: *** [cramfsroot] Error 8
>
> -but my new package has nothing to do with mmap!
>
> If I do a full rebuild, I don't get the above problem. But the fully
> rebuild takes about 30 minutes! Is there a way to get a more sensible
> 'make' behaviour, so that I can avoid having to do these full rebuilds?
>
> Cheers,
> Daniel
>
>
>
>
> Free Movies?100's of Free Feature Length Films - Meet Friends, Watch
> Movies & Win!
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Changing the mk file in a package
@ 2007-02-15 4:32 Daniel Ng
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Ng @ 2007-02-15 4:32 UTC (permalink / raw)
To: buildroot
Hi,
I'm adding a new package to buildroot. Following the standard docco I add a new
package directory and the relevant config.in and xxx.mk file.
I've noticed that if I make changes to xxx.mk I have to do a 'make clean' then
a 'make' ie. a full rebuild. Otherwise if I just try to run 'make' after
changing xxx.mk, I get the following error from fakeroot-
# Use fakeroot so mkcramfs believes the previous fakery
/home/dng/linuxppc/gcc-4.0.2_uclibc/usr/bin/fakeroot \
-i /home/dng/linuxppc/gcc-4.0.2_uclibc/fakeroot.env \
-s /home/dng/linuxppc/gcc-4.0.2_uclibc/fakeroot.env -- \
/home/ppcroot/swdev/buildroot-dng/build_powerpc/cramfs-1.1/mkcramfs -q -
b \
/home/ppcroot/swdev/buildroot-
dng/build_powerpc/root /home/ppcroot/swdev/buildroot-dng/rootfs.powerpc.cramfs
Swapping filesystem endian-ness
mkcramfs: mmap failed: /home/ppcroot/swdev/buildroot-
dng/build_powerpc/root/usr/usr/local
make: *** [cramfsroot] Error 8
-but my new package has nothing to do with mmap!
If I do a full rebuild, I don't get the above problem. But the fully rebuild
takes about 30 minutes! Is there a way to get a more sensible 'make' behaviour,
so that I can avoid having to do these full rebuilds?
Cheers,
Daniel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-02-16 7:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-16 0:20 [Buildroot] changing the mk file in a package Daniel Ng
2007-02-16 7:15 ` Philippe Ney
2007-02-16 7:32 ` Alexander Rigbo
-- strict thread matches above, loose matches on Subject: below --
2007-02-15 4:32 [Buildroot] Changing " Daniel Ng
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.