fixed b43-fwcutter compile on osx 10.5
authorAndy Boyett <agb@openwrt.org>
Thu, 27 Dec 2007 11:31:21 +0000 (11:31 +0000)
committerAndy Boyett <agb@openwrt.org>
Thu, 27 Dec 2007 11:31:21 +0000 (11:31 +0000)
SVN-Revision: 9954

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