mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
brcm2708: define KERNELNAME accordingly
Define KERNELNAME to Image to get the build system to copy this image over $(KDIR) automatically for us. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 39768
This commit is contained in:
parent
a2068afd77
commit
2d32b2f771
@ -25,4 +25,6 @@ define Target/Description
|
|||||||
Currently produces SD Card image for Raspberry Pi.
|
Currently produces SD Card image for Raspberry Pi.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
KERNELNAME="Image"
|
||||||
|
|
||||||
$(eval $(call BuildTarget))
|
$(eval $(call BuildTarget))
|
||||||
|
@ -8,10 +8,6 @@ include $(TOPDIR)/rules.mk
|
|||||||
include $(INCLUDE_DIR)/image.mk
|
include $(INCLUDE_DIR)/image.mk
|
||||||
include $(INCLUDE_DIR)/host.mk
|
include $(INCLUDE_DIR)/host.mk
|
||||||
|
|
||||||
define Image/Prepare
|
|
||||||
cp $(LINUX_DIR)/arch/arm/boot/Image $(KDIR)/Image
|
|
||||||
endef
|
|
||||||
|
|
||||||
FAT32_BLOCK_SIZE=1024
|
FAT32_BLOCK_SIZE=1024
|
||||||
FAT32_BLOCKS=$(shell echo $$(($(CONFIG_BRCM2708_SD_BOOT_PARTSIZE)*1024*1024/$(FAT32_BLOCK_SIZE))))
|
FAT32_BLOCKS=$(shell echo $$(($(CONFIG_BRCM2708_SD_BOOT_PARTSIZE)*1024*1024/$(FAT32_BLOCK_SIZE))))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user