On Sun, 2010-10-17 at 18:11 -0700, Philip Prindeville wrote: 
> so $(CFLAGS) is the TARGET_CFLAGS passed in for cross-compilation
> (including -I$(STAGING_DIR)/mumble), and $(CFLAGS_) is the flags
> that the PPP project requires, including -I../../../include ...
> so unfortunately the wrong order.

What about
TARGET_CFLAGS:= -I. -I../.. -I../../../include $(TARGET_CFLAGS)

Doesn't that work?
This way it would specify the relative paths twice on the commandline,
but to me it seems the best workaround w.r.t. maintainability, because
it does not require patching the sources.

-- 
Greetings Michael.

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to