Hi, On Jun 7, 2010, at 6:57 PM, Max wrote:
> Hello folks. > hook_add inmake 1 '[ -f busybox ] || cp busybox_unstripped busybox' does > not make sense. > It does not work as busybox Config.in is executed during make process. > and 'chmod busybox' is called before it's copied from busybox_unstripped to > busybox' > > debug-busybox:[busybox-1.16.1]# make > You should not call uname during the build! > You should not call uname during the build! > chmod: cannot access `busybox': No such file or directory > make: *** [busybox] Error 1 > > > From Makefile: > busybox: busybox_unstripped > ifeq ($(SKIP_STRIP),y) > $(Q)cp $< $@ > else > $(Q)$(STRIP) -s --remove-section=.note --remove-section=.comment \ > busybox_unstripped -o $@ > # strip is confused by PIE executable and does not set exec bits > $(Q)chmod a+x $@ > endif > > I just had to put cp before chmod. Can you send a patch? René -- René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin http://exactcode.com | http://t2-project.org | http://rene.rebe.de
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [email protected] with a subject of: unsubscribe t2
