[En-Nut-Discussion] missing mkdir in ethernut-v3.9.7/app/basemon/Makefile

Jean Marc LACROIX jeanmarc.lacroix at free.fr
Sun Jun 12 09:07:18 CEST 2005


Hi Harald,

It seems there is a missing mkdir in
ethernut-v3.9.7/app/basemon/Makefile with 'install' target
as follow....

cp basemon.hex ../../bin/atmega128/basemon.hex
cp: cannot create regular file `../../bin/atmega128/basemon.hex': No 
such file or directory

I have modified
/ethernut-v3.9.7/app/Makerules.arm-gcc

---- before patch -----
install: $(TARG) $(ITARG)
	$(CP) $(TARG) $(BINDIR)/$(TARG)
	$(CP) $(ITARG) $(BINDIR)/$(ITARG)

---- after patch -----
install: $(TARG) $(ITARG)
	@mkdir -p $(BINDIR)/
	$(CP) $(TARG) $(BINDIR)/$(TARG)
	$(CP) $(ITARG) $(BINDIR)/$(ITARG)

all is ok now
best regards

-- 
--------------------------------------
  -- Jean-Marc LACROIX                 --
   -- mailto : jeanmarc.lacroix at free.fr --
     ---------------------------------------



More information about the En-Nut-Discussion mailing list