Cleans up preempt_pending helper functions
[akaros.git] / GNUmakefile
index 0ab8677..8549aa6 100644 (file)
@@ -21,7 +21,7 @@ busted:
 endif
 
 real-$(TARGET_ARCH):
-       @if [ "$(ARCH_LINK)" != "$@" ];\
+       @if [ "$(ARCH_LINK)" != "$(TARGET_ARCH)" ];\
        then\
          $(MAKE) realclean;\
          $(MAKE) realall -j $(MAKE_JOBS);\