diff options
author | Jo-Philipp Wich <jo@mein.io> | 2016-04-21 16:39:59 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-04-21 16:39:59 +0200 |
commit | 37de17c379a7272dcfb5d4d2a411687207b5c78d (patch) | |
tree | ba47632a60cf013b5c206bf065e813acc16b2ed4 /package/kernel/linux/modules | |
parent | 484cb91ad597c1a1019355b773a588d6e7f45a8d (diff) | |
download | upstream-37de17c379a7272dcfb5d4d2a411687207b5c78d.tar.gz upstream-37de17c379a7272dcfb5d4d2a411687207b5c78d.tar.bz2 upstream-37de17c379a7272dcfb5d4d2a411687207b5c78d.zip |
linux: kmod-e100: use preconverted firmware files
Instead of converting the firmware files ourselves, use the files
generated during the normal kernel build process. This fixes packaging
kmod-e100 in the SDK environment.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'package/kernel/linux/modules')
-rw-r--r-- | package/kernel/linux/modules/netdevices.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index 417a6a6114..eaa37d1a7d 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -464,9 +464,9 @@ endef define KernelPackage/e100/install $(INSTALL_DIR) $(1)/lib/firmware/e100 - $(foreach file,d101m_ucode.bin d101s_ucode.bin d102e_ucode.bin, \ - $(TARGET_CROSS)objcopy -Iihex -Obinary $(LINUX_DIR)/firmware/e100/$(file).ihex $(1)/lib/firmware/e100/$(file); \ - ) + $(INSTALL_DATA) $(LINUX_DIR)/firmware/e100/d101m_ucode.bin $(1)/lib/firmware/e100/ + $(INSTALL_DATA) $(LINUX_DIR)/firmware/e100/d101s_ucode.bin $(1)/lib/firmware/e100/ + $(INSTALL_DATA) $(LINUX_DIR)/firmware/e100/d102e_ucode.bin $(1)/lib/firmware/e100/ endef $(eval $(call KernelPackage,e100)) |