roundshot

n/a
git clone git://parazyd.org/roundshot.git
Log | Files | Refs | LICENSE

Makefile (486B)


      1 # roundshot
      2 # See LICENSE file for copyright and license details
      3 
      4 include config.mk
      5 
      6 all: u-boot build-uboot install
      7 
      8 u-boot:
      9 	git clone $(U_BOOT_URL) -b $(U_BOOT_VERSION) $@
     10 
     11 build-uboot:
     12 	@export PATH="$(TC_PATH)/bin:$(PATH)" && \
     13 		cd u-boot && \
     14 		make ARCH=arm CROSS_COMPILE=$(TC_NAME) $(ARM_DEFCONFIG) && \
     15 		make ARCH=arm CROSS_COMPILE=$(TC_NAME) -j9
     16 
     17 install:
     18 	@mkdir -p build
     19 	cp -f u-boot/u-boot-sunxi-with-spl.bin build
     20 
     21 clean:
     22 	rm -rf u-boot
     23 
     24 distclean: clean
     25 	rm -rf build