diff options
author | John Crispin <blogic@openwrt.org> | 2015-07-17 12:47:50 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-07-17 12:47:50 +0000 |
commit | 0fd73c82ed5afe0a7e0214a15542f6d350da558f (patch) | |
tree | 939f09fd1928f4ec6891b0386189fdebf31148ee /target/linux/brcm2708/image | |
parent | 5f6ce511add3ac9b5af8dec339165cdbf1a65f9d (diff) | |
download | master-187ad058-0fd73c82ed5afe0a7e0214a15542f6d350da558f.tar.gz master-187ad058-0fd73c82ed5afe0a7e0214a15542f6d350da558f.tar.bz2 master-187ad058-0fd73c82ed5afe0a7e0214a15542f6d350da558f.zip |
brcm2708: improve profiles and image generation
- Add profiles for bcm2708 subtarget.
- Check subtarget for image generation.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46396 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm2708/image')
-rw-r--r-- | target/linux/brcm2708/image/Makefile | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/target/linux/brcm2708/image/Makefile b/target/linux/brcm2708/image/Makefile index 10ecfdaef0..00bee22555 100644 --- a/target/linux/brcm2708/image/Makefile +++ b/target/linux/brcm2708/image/Makefile @@ -67,11 +67,18 @@ define add_bcm2708 TARGET_DEVICES += $(2) endef -# Raspberry Pi Model B -$(eval $(call add_bcm2708,RaspberryPi,rpi-b,bcm2708-rpi-b)) -# Raspberry Pi Model B+ -$(eval $(call add_bcm2708,RaspberryPi,rpi-b-plus,bcm2708-rpi-b-plus)) -# Raspberry Pi 2 Model B -$(eval $(call add_bcm2708,RaspberryPi2,rpi-2-b,bcm2709-rpi-2-b)) +### BCM2708/BCM2835 ### +ifeq ($(SUBTARGET),bcm2708) + # Raspberry Pi Model B + $(eval $(call add_bcm2708,RaspberryPi_B,rpi-b,bcm2708-rpi-b)) + # Raspberry Pi Model B+ + $(eval $(call add_bcm2708,RaspberryPi_BPlus,rpi-b-plus,bcm2708-rpi-b-plus)) +endif + +### BCM2709/BCM2836 ### +ifeq ($(SUBTARGET),bcm2709) + # Raspberry Pi 2 Model B + $(eval $(call add_bcm2708,RaspberryPi_2,rpi-2-b,bcm2709-rpi-2-b)) +endif $(eval $(call BuildImage)) |