File: rules

package info (click to toggle)
slof 20161019%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,808 kB
  • ctags: 4,738
  • sloc: ansic: 30,126; asm: 2,087; makefile: 1,135; pascal: 351; perl: 99; sh: 60
file content (18 lines) | stat: -rwxr-xr-x 584 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

%:
	dh $@ --parallel

override_dh_auto_clean:
	dh_clean
	$(MAKE) distclean
	$(MAKE) -C $(CURDIR)/debian/spapr-rtas clean

override_dh_auto_build-indep:
	dh_auto_build -- qemu CROSS="powerpc64-linux-gnu-"
	$(MAKE) -C $(CURDIR)/debian/spapr-rtas CROSS="powerpc64-linux-gnu-"

override_dh_auto_install-indep:
	mkdir -p $(CURDIR)/debian/qemu-slof/usr/share/slof
	install -m 644 $(CURDIR)/boot_rom.bin $(CURDIR)/debian/qemu-slof/usr/share/slof/slof.bin
	install -m 644 $(CURDIR)/debian/spapr-rtas/spapr-rtas.bin $(CURDIR)/debian/qemu-slof/usr/share/slof/spapr-rtas.bin