Ignore:
Timestamp:
Jan 22, 2011, 5:56:53 PM (9 years ago)
Author:
amain
Message:

openwrt/deliver/headers-install: fix arch name mismatch between openwrt and linux

File:
1 edited

Legend:

Unmodified
Added
Removed
  • debwrt/trunk/openwrt/openwrt-deliver.mk

    r150 r153  
    8484        mkdir -p $(INSTALL_DIR_OPENWRT_HEADERS)
    8585        mkdir -p $(INSTALL_DIR_OPENWRT_HEADERS)/usr/src/linux-headers-${OPENWRT_LINUX_VERSION}
    86         cd $(OPENWRT_LINUX_DIR) && make headers_install ARCH=$(TARGET_ARCH) INSTALL_HDR_PATH=$(INSTALL_DIR_OPENWRT_HEADERS)/usr/src/linux-headers-${OPENWRT_LINUX_VERSION}
     86        cd $(OPENWRT_LINUX_DIR) && make headers_install ARCH=$(patsubst %el,%,$(TARGET_ARCH)) INSTALL_HDR_PATH=$(INSTALL_DIR_OPENWRT_HEADERS)/usr/src/linux-headers-${OPENWRT_LINUX_VERSION}
    8787        # some overrides which are not cleanly installed by make headers_install
    8888        cp $(OPENWRT_LINUX_DIR)/include/linux/switch.h $(INSTALL_DIR_OPENWRT_HEADERS)/usr/src/linux-headers-${OPENWRT_LINUX_VERSION}/include/linux/switch.h
Note: See TracChangeset for help on using the changeset viewer.