sunxi: don't copy DTS files to BIN_DIR

The DTS files aren't useful (other targets don't copy them either) and
clutter BIN_DIR with files unrelated to the chosen profile.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 46604
This commit is contained in:
Zoltan Herpai 2015-08-15 13:39:41 +00:00
parent 7aa7a4b06b
commit 1de658c27b

View file

@ -11,22 +11,6 @@ include $(INCLUDE_DIR)/host.mk
FAT32_BLOCK_SIZE=1024
FAT32_BLOCKS=$(shell echo $$(($(CONFIG_SUNXI_SD_BOOT_PARTSIZE)*1024*1024/$(FAT32_BLOCK_SIZE))))
BOARDS:= \
sun4i-a10-cubieboard \
sun4i-a10-olinuxino-lime \
sun4i-a10-pcduino \
sun5i-a13-olinuxino \
sun6i-a31-colombus \
sun6i-a31-m9 \
sun7i-a20-bananapi \
sun7i-a20-bananapro \
sun7i-a20-cubieboard2 \
sun7i-a20-cubietruck \
sun7i-a20-olinuxino-lime \
sun7i-a20-olinuxino-micro \
sun7i-a20-pcduino3 \
sun7i-a20-lamobo-r1
define Image/BuildKernel
mkimage -A arm -O linux -T kernel -C none \
-a 0x40008000 -e 0x40008000 \
@ -42,10 +26,6 @@ define Image/BuildKernel
$(BIN_DIR)/$(IMG_PREFIX)-uImage-initramfs \
)
endif
$(foreach board,$(BOARDS),
$(CP) $(DTS_DIR)/$(board).dtb $(BIN_DIR)/
)
endef
define Image/Build/SDCard
@ -53,7 +33,7 @@ define Image/Build/SDCard
mkdosfs $(KDIR)/boot.img -C $(FAT32_BLOCKS)
mcopy -i $(KDIR)/boot.img $(BIN_DIR)/uboot-sunxi-$(PROFILE)/$(IMG_PREFIX)-$(PROFILE)-boot.scr ::boot.scr
mcopy -i $(KDIR)/boot.img $(BIN_DIR)/$(2).dtb ::dtb
mcopy -i $(KDIR)/boot.img $(DTS_DIR)/$(2).dtb ::dtb
mcopy -i $(KDIR)/boot.img $(BIN_DIR)/$(IMG_PREFIX)-uImage ::uImage
./gen_sunxi_sdcard_img.sh \