summaryrefslogtreecommitdiff
path: root/target/linux/omap35xx/image/Makefile
diff options
context:
space:
mode:
authorhcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-06-25 08:08:05 +0000
committerhcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-06-25 08:08:05 +0000
commitb5b97a4d56b25bda5af00896f76a79144b910bae (patch)
treefe370b7701d6efe0bf66eb1376b844c84b7a415d /target/linux/omap35xx/image/Makefile
parent042aac4ae235657ff82c8a46749cc314a627acab (diff)
Use modules for wifi and usb
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21898 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/omap35xx/image/Makefile')
-rw-r--r--target/linux/omap35xx/image/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/target/linux/omap35xx/image/Makefile b/target/linux/omap35xx/image/Makefile
index aa23c0c838..adaf395b70 100644
--- a/target/linux/omap35xx/image/Makefile
+++ b/target/linux/omap35xx/image/Makefile
@@ -20,15 +20,16 @@ define Image/BuildKernel
rm linux.bin
endef
-define Image/Build/squashfs
- $(call prepare_generic_squashfs,$(BIN_DIR)/$(IMG_PREFIX)-$(KERNEL)-root.$(1))
-endef
-
define Image/Build
$(CP) $(KDIR)/root.$(1) $(BIN_DIR)/$(IMG_PREFIX)-$(KERNEL)-root.$(1)
PADDING="true" PATH="$(TARGET_PATH)" ./gen_image.sh $(BIN_DIR)/$(IMG_PREFIX)-$(1).image 4 $(KDIR)/root.bootscript 240 $(KDIR)/root.$(1)
$(call Image/Build/$(1),$(1))
endef
+ifdef CONFIG_TARGET_omap35xx_gumstix
+define Image/Prepare
+ $(CP) ../gumstix/base-files/lib/wifi/mac80211.sh $(TARGET_DIR)/lib/wifi
+endef
+endif
$(eval $(call BuildImage))