projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enable loading of modules containing EXPORT_SYMBOL_GPL symbols (eg. crypto)
[openwrt.git]
/
package
/
openwrt
/
openwrt.mk
diff --git
a/package/openwrt/openwrt.mk
b/package/openwrt/openwrt.mk
index
4945e69
..
cc80bc4
100644
(file)
--- a/
package/openwrt/openwrt.mk
+++ b/
package/openwrt/openwrt.mk
@@
-4,6
+4,7
@@
#
#############################################################
#
#############################################################
+LINKSYS_TGZ_SITE=http://openwrt.openbsd-geek.de
LINKSYS_KERNEL_INCLUDE=$(BUILD_DIR)/linksys-kernel
# shared library stuff extracted from linksys firmware GPL sourcetree
LINKSYS_KERNEL_INCLUDE=$(BUILD_DIR)/linksys-kernel
# shared library stuff extracted from linksys firmware GPL sourcetree
@@
-33,6
+34,8
@@
linksys-shared: $(TARGET_DIR)/$(LINKSYS_SHARED_TARGET_BINARY)
linksys-shared-clean:
-$(MAKE) -C $(LINKSYS_SHARED_DIR) clean
linksys-shared-clean:
-$(MAKE) -C $(LINKSYS_SHARED_DIR) clean
+linksys-shared-dirclean:
+ rm -rf $(LINKSYS_SHARED_DIR)
# nvram tool extracted from linksys firmware GPL sourcetree
# WRT54GS_3_37_2_1109_US
# nvram tool extracted from linksys firmware GPL sourcetree
# WRT54GS_3_37_2_1109_US
@@
-58,6
+61,9
@@
linksys-nvram: $(TARGET_DIR)/$(LINKSYS_NVRAM_TARGET_BINARY)
linksys-nvram-clean:
-$(MAKE) -C $(LINKSYS_NVRAM_BUILD_DIR) clean
linksys-nvram-clean:
-$(MAKE) -C $(LINKSYS_NVRAM_BUILD_DIR) clean
+linksys-nvram-dirclean:
+ rm -rf $(LINKSYS_NVRAM_DIR)
+
# wlconf tool extracted from linksys firmware GPL sourcetree
# WRT54GS_3_37_2_1109_US
LINKSYS_WLCONF_TGZ=linksys-wlconf.tar.gz
# wlconf tool extracted from linksys firmware GPL sourcetree
# WRT54GS_3_37_2_1109_US
LINKSYS_WLCONF_TGZ=linksys-wlconf.tar.gz
@@
-87,34
+93,40
@@
linksys-wlconf: $(TARGET_DIR)/$(LINKSYS_WLCONF_TARGET_BINARY)
linksys-wlconf-clean:
-$(MAKE) -C $(LINKSYS_WLCONF_BUILD_DIR) clean
linksys-wlconf-clean:
-$(MAKE) -C $(LINKSYS_WLCONF_BUILD_DIR) clean
+linksys-wlconf-dirclean:
+ rm -rf $(LINKSYS_WLCONF_DIR)
# mtd tool
# mtd tool
-OPENWRT_MTD_SOURCE=
package/openwrt
/mtd.c
+OPENWRT_MTD_SOURCE=
.
/mtd.c
OPENWRT_MTD_TARGET_BINARY:=sbin/mtd
$(TARGET_DIR)/$(OPENWRT_MTD_TARGET_BINARY):
OPENWRT_MTD_TARGET_BINARY:=sbin/mtd
$(TARGET_DIR)/$(OPENWRT_MTD_TARGET_BINARY):
- $(TARGET_CC) -o $(TARGET_DIR)/$(OPENWRT_MTD_TARGET_BINARY) $(OPENWRT_MTD_SOURCE)
+ $(TARGET_CC) -o $@ $(OPENWRT_MTD_SOURCE)
+ $(STRIP) $@
+
openwrt-mtd: $(TARGET_DIR)/$(OPENWRT_MTD_TARGET_BINARY)
openwrt-mtd: $(TARGET_DIR)/$(OPENWRT_MTD_TARGET_BINARY)
-# trx tool
-OPENWRT_TRX_SOURCE=package/openwrt/trx.c
-OPENWRT_TRX_TARGET=$(STAGING_DIR)/bin/trx
+openwrt-mtd-clean:
+ rm $(TARGET_DIR)/$(OPENWRT_MTD_TARGET_BINARY)
+
+# jffs2root tool
+OPENWRT_JFFS2ROOT_SOURCE=./jffs2root.c
+OPENWRT_JFFS2ROOT_TARGET_BINARY:=sbin/jffs2root
-$(OPENWRT_TRX_TARGET):
- $(CC) -o $(OPENWRT_TRX_TARGET) $(OPENWRT_TRX_SOURCE)
+$(TARGET_DIR)/$(OPENWRT_JFFS2ROOT_TARGET_BINARY):
+ $(TARGET_CC) -o $@ $(OPENWRT_JFFS2ROOT_SOURCE)
+ $(STRIP) $@
-openwrt-
trx: $(OPENWRT_TRX_TARGET
)
+openwrt-
jffs2root: $(TARGET_DIR)/$(OPENWRT_JFFS2ROOT_TARGET_BINARY
)
-# addpattern tool
-OPENWRT_ADDPATTERN_SOURCE=package/openwrt/addpattern.c
-OPENWRT_ADDPATTERN_TARGET=$(STAGING_DIR)/bin/addpattern
+openwrt-jffs2root-clean:
+ rm $(TARGET_DIR)/$(OPENWRT_JFFS2ROOT_TARGET_BINARY)
-$(OPENWRT_ADDPATTERN_TARGET):
- $(CC) -o $(OPENWRT_ADDPATTERN_TARGET) $(OPENWRT_ADDPATTERN_SOURCE)
-openwrt-addpattern: $(OPENWRT_ADDPATTERN_TARGET)
+linksys: linksys-shared linksys-nvram linksys-wlconf
-openwrt: linksys
-shared linksys-nvram linksys-wlconf openwrt-mtd openwrt-trx openwrt-addpattern
+openwrt: linksys
openwrt-mtd openwrt-jffs2root
+openwrt-dirclean: linksys-shared-dirclean linksys-nvram-dirclean linksys-wlconf-dirclean
This page took
0.028596 seconds
and
4
git commands to generate.