1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

Use modules for wifi and usb

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21898 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
hcg
2010-06-25 08:08:05 +00:00
parent 042aac4ae2
commit b5b97a4d56
5 changed files with 17 additions and 57 deletions

View File

@@ -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))