Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118161
b: refs/heads/master
c: dcc2da1
h: refs/heads/master
i:
  118159: fdf1cc2
v: v3
  • Loading branch information
Sam Ravnborg committed Oct 29, 2008
1 parent 7178874 commit 4bf686c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 46dca86cb93db80992a45e4b55737ff2b2f61cd0
refs/heads/master: dcc2da1a9693807096e9ac5137b499a829c51268
5 changes: 5 additions & 0 deletions trunk/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -961,6 +961,7 @@ export CPPFLAGS_vmlinux.lds += -P -C -U$(ARCH)

# The asm symlink changes when $(ARCH) changes.
# Detect this and ask user to run make mrproper
# If asm is a stale symlink (point to dir that does not exist) remove it
define check-symlink
set -e; \
if [ -L include/asm ]; then \
Expand All @@ -970,6 +971,10 @@ define check-symlink
echo " set ARCH or save .config and run 'make mrproper' to fix it"; \
exit 1; \
fi; \
test -e $$asmlink || rm include/asm; \
elif [ -d include/asm ]; then \
echo "ERROR: $@ is a directory but a symlink was expected";\
exit 1; \
fi
endef

Expand Down

0 comments on commit 4bf686c

Please sign in to comment.