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 756e83b087dc11285deef1d719e6b26cf8cc5c5a..c4cc91f5cfbd0360f72619be795bf7d6e3ac8d1c 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