fixed b43-fwcutter compile on osx 10.5
authoragb <agb@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 27 Dec 2007 11:31:21 +0000 (11:31 +0000)
committeragb <agb@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 27 Dec 2007 11:31:21 +0000 (11:31 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9954 3c298f89-4303-0410-b956-a3cf2f4a3e73

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