X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Fmpc85xx%2FMakefile;h=161c8cb8168fb25e4c98a6f280f57f6425ef99ab;hb=ad85464f11ee40ef1861d0a610ca4a3503835f9f;hp=ef67446f937dd70ced53d61cf8fe5a67773eea88;hpb=45c9f5e75ea5fe5e01f735bf7cb75dac7d654211;p=oweals%2Fopenwrt.git diff --git a/target/linux/mpc85xx/Makefile b/target/linux/mpc85xx/Makefile index ef67446f93..161c8cb816 100644 --- a/target/linux/mpc85xx/Makefile +++ b/target/linux/mpc85xx/Makefile @@ -9,16 +9,26 @@ include $(TOPDIR)/rules.mk ARCH:=powerpc BOARD:=mpc85xx BOARDNAME:=Freescale MPC85xx -CFLAGS:=-Os -pipe -funit-at-a-time -mcpu=8540 -FEATURES:=spe_fpu ramdisk broken +CPU_TYPE:=8540 +FEATURES:=squashfs MAINTAINER:=Imre Kaloz +SUBTARGETS:=generic p1020 -LINUX_VERSION:=2.6.36.4 - -include $(INCLUDE_DIR)/target.mk +KERNEL_PATCHVER:=4.4 define Target/Description Build images for the Freescale MPC85xx based boards. endef +include $(INCLUDE_DIR)/target.mk + +KERNEL_IMAGES := zImage +ifeq ($(SUBTARGET),generic) +KERNEL_IMAGES += cuImage.tl-wdr4900-v1 +endif + +DEFAULT_PACKAGES += \ + kmod-input-core kmod-input-gpio-keys kmod-button-hotplug \ + kmod-leds-gpio swconfig kmod-ath9k wpad-mini + $(eval $(call BuildTarget))