diff --git a/usbboot/src/Makefile.am b/usbboot/src/Makefile.am index ac6516b..b690c94 100644 --- a/usbboot/src/Makefile.am +++ b/usbboot/src/Makefile.am @@ -27,3 +27,7 @@ EXTRA_DIST = $(pkgdatadir) $(cfgdir) ../xburst_stage2/xburst_stage2.bin: $(MAKE) CROSS_COMPILE=$(CROSS_COMPILE) -C ../xburst_stage2 + +clean-local: + $(MAKE) CROSS_COMPILE=$(CROSS_COMPILE) -C ../xburst_stage1 clean + $(MAKE) CROSS_COMPILE=$(CROSS_COMPILE) -C ../xburst_stage2 clean diff --git a/xbboot/host-app/Makefile.am b/xbboot/host-app/Makefile.am index 37a93ec..f84dac8 100644 --- a/xbboot/host-app/Makefile.am +++ b/xbboot/host-app/Makefile.am @@ -19,3 +19,6 @@ EXTRA_DIST = $(pkgdatadir) ../target-stage1/stage1.bin: $(MAKE) CROSS_COMPILE=$(CROSS_COMPILE) -C ../target-stage1 + +clean-local: + $(MAKE) CROSS_COMPILE=$(CROSS_COMPILE) -C ../target-stage1 clean