6a4f2922f6
In order to support both normal images and initramfs, ensure that each target sets KERNELNAME properly so that the generic kernel building code can copy the corresponding files over $(KDIR) with the appropriate extension. Update the various paths to the kernel and wrapper images from $(LINUX_DIR)/arch/$(ARCH)/boot/$(foo) to $(KDIR)/$(foo). Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 37049
22 lines
477 B
Makefile
22 lines
477 B
Makefile
#
|
|
# Copyright (C) 2009-2013 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
ARCH:=arm
|
|
BOARD:=gemini
|
|
BOARDNAME:=Cortina Systems CS351x
|
|
FEATURES:=squashfs pci
|
|
CFLAGS:=-Os -pipe -march=armv4 -mtune=fa526 -fno-caller-saves
|
|
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
|
|
|
|
LINUX_VERSION:=3.9.4
|
|
|
|
KERNELNAME:="zImage"
|
|
|
|
include $(INCLUDE_DIR)/target.mk
|
|
|
|
$(eval $(call BuildTarget))
|