Changeset 17 for debwrt/trunk/Makefile


Ignore:
Timestamp:
May 16, 2010, 7:47:31 PM (9 years ago)
Author:
amain
Message:

Fixed config merge problem and imported all current OpenWrt supported targets and sub_targets.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • debwrt/trunk/Makefile

    r8 r17  
    3535        @echo Make DebWrt
    3636
     37update-targets: openwrt/prepare
     38        cat $(OPENWRT_BUILD_DIR)/tmp/.config-target.in \
     39                |  awk 'BEGIN{ print "# note: this file has been generated" } \
     40               /select HAS_SUB/ { print $0; next } \
     41               /select[ \t]+[[:lower:]]+/ { print; next } \
     42               /select/ {next} \
     43               // { print $0 }' \
     44        >${TOPDIR}/config/config-target.in
     45        cat $(OPENWRT_BUILD_DIR)/target/Config.in | grep -v 'source "tmp/.config-target.in"' >$(TOPDIR)/config/archs.in
     46
     47board:
     48        echo "Board " ${SUB_BOARD}
     49
    3750flash:
    3851        cd $(INSTALL_DIR) && $(SCRIPT_FLASH) "$(call qstrip,$(CONFIG_FLASH_IP))" "$(TARGET_IMAGE_NAME)" || echo
Note: See TracChangeset for help on using the changeset viewer.