Lines 96-114
Link Here
|
96 |
ifneq (,$(findstring 2.4,$(LINUX_SRC))) |
96 |
ifneq (,$(findstring 2.4,$(LINUX_SRC))) |
97 |
cp -f os/linux/Makefile.4 $(RT28xx_DIR)/os/linux/Makefile |
97 |
cp -f os/linux/Makefile.4 $(RT28xx_DIR)/os/linux/Makefile |
98 |
make -C $(RT28xx_DIR)/os/linux/ |
98 |
make -C $(RT28xx_DIR)/os/linux/ |
99 |
ifeq ($(RT28xx_MODE),AP) |
99 |
#ifeq ($(RT28xx_MODE),AP) |
100 |
cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)ap.o /tftpboot |
100 |
# cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)ap.o /tftpboot |
101 |
else |
101 |
#else |
102 |
cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)sta.o /tftpboot |
102 |
# cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)sta.o /tftpboot |
103 |
endif |
103 |
#endif |
104 |
else |
104 |
else |
105 |
cp -f os/linux/Makefile.6 $(RT28xx_DIR)/os/linux/Makefile |
105 |
cp -f os/linux/Makefile.6 $(RT28xx_DIR)/os/linux/Makefile |
106 |
make -C $(LINUX_SRC) SUBDIRS=$(RT28xx_DIR)/os/linux modules |
106 |
make -C $(LINUX_SRC) SUBDIRS=$(RT28xx_DIR)/os/linux modules |
107 |
ifeq ($(RT28xx_MODE),AP) |
107 |
#ifeq ($(RT28xx_MODE),AP) |
108 |
cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)ap.ko /tftpboot |
108 |
# cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)ap.ko /tftpboot |
109 |
else |
109 |
#else |
110 |
cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)sta.ko /tftpboot |
110 |
# cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)sta.ko /tftpboot |
111 |
endif |
111 |
#endif |
112 |
endif |
112 |
endif |
113 |
|
113 |
|
114 |
clean: |
114 |
clean: |