projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
brcm47xx/patches-2.6.35: Allow SSB EHCI/OHCI drivers to co-exist (thank you Steve...
[openwrt.git]
/
target
/
linux
/
orion
/
image
/
Makefile
diff --git
a/target/linux/orion/image/Makefile
b/target/linux/orion/image/Makefile
index
81de135
..
16ae439
100644
(file)
--- a/
target/linux/orion/image/Makefile
+++ b/
target/linux/orion/image/Makefile
@@
-79,13
+79,24
@@
define Image/Build/Linksys
endef
define Image/Build/Freecom
endef
define Image/Build/Freecom
+ # Orion Freecom Images
+ # backup unwanted files
+ rm -rf ${TMP_DIR}/$2_backup
+ mkdir ${TMP_DIR}/$2_backup
+ -mv $(TARGET_DIR)/{var,jffs,rom} ${TMP_DIR}/$2_backup
+ # add extra files
$(INSTALL_DIR) $(TARGET_DIR)/boot
# TODO: Add special CMDLINE shim for webupgrade image here
$(CP) $(KDIR)/dt2-uImage $(TARGET_DIR)/boot/uImage
$(INSTALL_DIR) $(TARGET_DIR)/boot
# TODO: Add special CMDLINE shim for webupgrade image here
$(CP) $(KDIR)/dt2-uImage $(TARGET_DIR)/boot/uImage
- rm -rf $(TARGET_DIR)/{var,jffs,rom}
$(INSTALL_DIR) $(TARGET_DIR)/var
$(INSTALL_DIR) $(TARGET_DIR)/var
+ # create image
$(TAR) cfj $(BIN_DIR)/openwrt-$(2)-$(1).img --numeric-owner --owner=0 --group=0 -C $(TARGET_DIR)/ .
$(STAGING_DIR_HOST)/bin/encode_crc $(BIN_DIR)/openwrt-$(2)-$(1).img $(BIN_DIR)/openwrt-$(2)-$(1)-webupgrade.img $(3)
$(TAR) cfj $(BIN_DIR)/openwrt-$(2)-$(1).img --numeric-owner --owner=0 --group=0 -C $(TARGET_DIR)/ .
$(STAGING_DIR_HOST)/bin/encode_crc $(BIN_DIR)/openwrt-$(2)-$(1).img $(BIN_DIR)/openwrt-$(2)-$(1)-webupgrade.img $(3)
+ # remove extra files
+ rm -rf $(TARGET_DIR)/{boot,var}
+ # recover unwanted files
+ -mv ${TMP_DIR}/$2_backup/* $(TARGET_DIR)/
+ rm -rf ${TMP_DIR}/$2_backup
endef
define Image/Build
endef
define Image/Build
This page took
0.02287 seconds
and
4
git commands to generate.