Skip to content

Commit

Permalink
Allow users to cross build config-pin
Browse files Browse the repository at this point in the history
fixes: beagleboard#196
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
  • Loading branch information
RobertCNelson committed Aug 4, 2020
1 parent 31806f8 commit 6ba194a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

DTC ?= dtc
CPP ?= cpp
CC ?=
DESTDIR ?=

DTCVERSION ?= $(shell $(DTC) --version | grep ^Version | sed 's/^.* //g')
Expand Down Expand Up @@ -116,7 +117,7 @@ export quiet Q KBUILD_VERBOSE

all_%:
$(Q)$(MAKE) ARCH=$* all_arch
gcc -o config-pin ./tools/pmunts_muntsos/config-pin.c
$(CC)gcc -o config-pin ./tools/pmunts_muntsos/config-pin.c

clean_%:
$(Q)$(MAKE) ARCH=$* clean_arch
Expand Down

0 comments on commit 6ba194a

Please sign in to comment.