mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 08:21:14 +00:00
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
29 lines
628 B
Makefile
29 lines
628 B
Makefile
#
|
|
# Copyright (C) 2007-2012 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
ARCH:=powerpc
|
|
BOARD:=ppc44x
|
|
BOARDNAME:=AMCC/IBM PPC44x
|
|
FEATURES:=squashfs broken
|
|
CFLAGS:=-Os -pipe -fno-caller-saves -mcpu=440
|
|
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
|
|
|
|
LINUX_VERSION:=3.8.13
|
|
|
|
include $(INCLUDE_DIR)/target.mk
|
|
|
|
DEFAULT_PACKAGES := $(filter-out ppp%,$(DEFAULT_PACKAGES))
|
|
|
|
define Target/Description
|
|
Build firmware images for AMCC/IBM PPC44x based boards.
|
|
endef
|
|
|
|
KERNELNAME:="uImage cuImage.taishan"
|
|
|
|
$(eval $(call BuildTarget))
|