microblaze: generate uapi header and system call table files
[linux-2.6-microblaze.git] / arch / microblaze / Makefile
index 4f3ab57..ddb251a 100644 (file)
@@ -65,9 +65,7 @@ boot := arch/microblaze/boot
 # Are we making a simpleImage.<boardname> target? If so, crack out the boardname
 DTB:=$(subst simpleImage.,,$(filter simpleImage.%, $(MAKECMDGOALS)))
 
-ifneq ($(DTB),)
-       core-y  += $(boot)/dts/
-endif
+core-y += $(boot)/dts/
 
 # defines filename extension depending memory management type
 ifeq ($(CONFIG_MMU),)
@@ -81,6 +79,9 @@ all: linux.bin
 archclean:
        $(Q)$(MAKE) $(clean)=$(boot)
 
+archheaders:
+       $(Q)$(MAKE) $(build)=arch/microblaze/kernel/syscalls all
+
 linux.bin linux.bin.gz linux.bin.ub: vmlinux
        $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@