> Hi Raphael,
> 
> in connection to this patch I doublechecked and modified my latest
> ntfs-3g update (we obviously had the same idea ;) and found this

Hey Bud,

are you referring to this ticket?

https://dev.openwrt.org/ticket/6577


> > MAKE_ARGS += CFLAGS_O="$(TARGET_CFLAGS)"
> > 
> 
> is obviously ignored. To have it in the make call one can do it the
> broadcom-wl package way
> 
> MAKE := $(MAKE) ARCH="$(LINUX_KARCH)" CROSS_COMPILE="$(TARGET_CROSS)"
> 
> or as lots of other packages do
> 
> define Build/Compile
>       $(MAKE) $(MAKE_VARS)
> endef
> 
> As MAKE_VARS on the other hand is automagically added, this seems to
> be a bug.

Yeah in fact the right way to do it is MAKE_FLAGS:

        MAKE_FLAGS += CFLAGS_O="$(TARGET_CFLAGS)"

> Where did you find the PKG_INSTALL switch?

In quite a lot of packages:

$ grep -rn --exclude-dir=.svn "^[[:space:]]*PKG_INSTALL[[:space:]]*:*="
packages/ | wc -l
155


Other packages' Makefiles is my most reliable source of information :)


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

Reply via email to