From b6d7bfc94f79463a9eb7f3e4635e2998f77afff2 Mon Sep 17 00:00:00 2001
From: Hamish Guthrie <hcg@openwrt.org>
Date: Tue, 17 Mar 2009 16:02:52 +0000
Subject: [PATCH] Final updates to default configuration of ps3 petitboot
 sub-target

SVN-Revision: 14918
---
 include/target.mk                    | 1 +
 target/linux/ps3/Makefile            | 2 ++
 target/linux/ps3/petitboot/target.mk | 3 ++-
 3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/include/target.mk b/include/target.mk
index 5d8baeaeb6..baca4b5e79 100644
--- a/include/target.mk
+++ b/include/target.mk
@@ -15,6 +15,7 @@ DEVICE_TYPE?=router
 DEFAULT_PACKAGES:=base-files libc libgcc busybox dropbear mtd uci opkg
 # For router targets
 DEFAULT_PACKAGES.router:=dnsmasq iptables ppp ppp-mod-pppoe kmod-ipt-nathelper firewall
+DEFAULT_PACKAGES.bootloader:=kexec-tools
 
 # Additional packages for Linux 2.6
 ifneq ($(KERNEL),2.4)
diff --git a/target/linux/ps3/Makefile b/target/linux/ps3/Makefile
index 2984019f93..4b2519befd 100644
--- a/target/linux/ps3/Makefile
+++ b/target/linux/ps3/Makefile
@@ -12,6 +12,8 @@ BOARDNAME:=Sony PS3 Game Console
 MAINTAINER:=Geoff Levand <geoffrey.levand@am.sony.com>
 SUBTARGETS=petitboot
 
+DEVICE_TYPE=bootloader
+
 LINUX_VERSION:=2.6.28.8
 
 KERNEL_CC:=
diff --git a/target/linux/ps3/petitboot/target.mk b/target/linux/ps3/petitboot/target.mk
index 5f16ba4e23..a3d84dde03 100644
--- a/target/linux/ps3/petitboot/target.mk
+++ b/target/linux/ps3/petitboot/target.mk
@@ -1,7 +1,8 @@
 BOARDNAME:=Petitboot
-DEVICE_TYPE:=bootloader
 FEATURES:=fpu
 
+DEFAULT_PACKAGES+= dnsmasq
+
 define Target/Description
 	Build Petitboot bootloader
 endef
-- 
GitLab