fixed b43-fwcutter compile on osx 10.5
[openwrt.git] / package / b43 / Makefile
index 756e83b..c4cc91f 100644 (file)
@@ -83,7 +83,8 @@ define Build/Compile
                $(MAKE_OPTS) \
                modules
 
-       $(MAKE) -C "$(PKG_BUILD_DIR)/$(PKG_FWCUTTER_NAME)-$(PKG_FWCUTTER_VERSION)"
+       $(MAKE) -C "$(PKG_BUILD_DIR)/$(PKG_FWCUTTER_NAME)-$(PKG_FWCUTTER_VERSION)" \
+               CFLAGS="-I$(STAGING_DIR_HOST)/include -include endian.h"
 endef
 
 define KernelPackage/b43/install
This page took 0.02275 seconds and 4 git commands to generate.