Markus Wigge dixit: >It helped to patch the kernel-Makefile this way: >--- >/var/home/technik/freewrt/build_mipsel/linux-2.4-brcm/linux-2.4.32/Makefile.orig > 2006-07-04 13:01:06.000000000 +0200 >+++ >/var/home/technik/freewrt/build_mipsel/linux-2.4-brcm/linux-2.4.32/Makefile >2006-07-04 13:13:44.000000000 +0200 >@@ -11,7 +11,8 @@ > CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \ > else if [ -x /bin/bash ]; then echo /bin/bash; \ > else echo sh; fi ; fi) >-TOPDIR := $(shell /bin/pwd) >+override TOPDIR := $(shell /bin/pwd) >+MAKE := $(MAKE) TOPDIR=$(TOPDIR) > > HPATH = $(TOPDIR)/include > FINDHPATH = $(HPATH)/asm $(HPATH)/linux $(HPATH)/scsi $(HPATH)/net >$(HPATH)/math-emu
Nice patch. wbx, can I commit that? >but I don't think this is the way we should go, so maybe it makes more >sense to rename "TOPDIR" to something like "FREEWRT_HOME" inside the >FreeWRT build system. No, this "TOPDIR" is GNU make magic and automatically set, ordinarily. At least that's how I understand it. //mirabile -- I believe no one can invent an algorithm. One just happens to hit upon it when God enlightens him. Or only God invents algorithms, we merely copy them. If you don't believe in God, just consider God as Nature if you won't deny existence. -- Coywolf Qi Hunt _______________________________________________ freewrt-developers mailing list [email protected] https://www.freewrt.org/lists/listinfo/freewrt-developers
