Page MenuHomeFreeBSD

D13543.id36762.diff
No OneTemporary

D13543.id36762.diff

Index: sysutils/u-boot-tools/Makefile
===================================================================
--- sysutils/u-boot-tools/Makefile
+++ sysutils/u-boot-tools/Makefile
@@ -12,17 +12,19 @@
LICENSE= GPLv2
-USES= tar:bzip2 gmake python:2.7,build
+USES= tar:bzip2 gmake python:2.7,build ssl
CONFLICT= uboot-mkimage
+ALL_TARGET= tools-only
+MAKE_ARGS= ARCH=sandbox \
+ CC="${CC}" \
+ KBUILD_VERBOSE=1 \
+ NOSTDINC_FLAGS="" \
PLIST_FILES= bin/mkimage bin/mkenvimage bin/dumpimage bin/fit_info
do-configure:
- (cd ${WRKSRC}/ && ${MAKE_CMD} sandbox_defconfig)
-
-do-build:
- (cd ${WRKSRC}/ && ${MAKE_CMD} ARCH=sandbox tools-only)
+ (cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} sandbox_defconfig)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tools/dumpimage ${STAGEDIR}${PREFIX}/bin
Index: sysutils/u-boot-tools/files/patch-Makefile
===================================================================
--- sysutils/u-boot-tools/files/patch-Makefile
+++ /dev/null
@@ -1,20 +0,0 @@
---- Makefile.orig 2017-09-11 18:10:40 UTC
-+++ Makefile
-@@ -338,7 +338,7 @@ LD = $(CROSS_COMPILE)ld.bfd
- else
- LD = $(CROSS_COMPILE)ld
- endif
--CC = $(CROSS_COMPILE)gcc
-+CC = $(CROSS_COMPILE)cc
- CPP = $(CC) -E
- AR = $(CROSS_COMPILE)ar
- NM = $(CROSS_COMPILE)nm
-@@ -633,7 +633,7 @@ UBOOTINCLUDE := \
- -I$(srctree)/arch/$(ARCH)/include \
- -include $(srctree)/include/linux/kconfig.h
-
--NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include)
-+NOSTDINC_FLAGS += -isystem $(shell $(CC) -print-file-name=include)
- CHECKFLAGS += $(NOSTDINC_FLAGS)
-
- # FIX ME
Index: sysutils/u-boot-tools/files/patch-scripts__Makefile.autoconf
===================================================================
--- sysutils/u-boot-tools/files/patch-scripts__Makefile.autoconf
+++ /dev/null
@@ -1,11 +0,0 @@
---- scripts/Makefile.autoconf.orig 2017-09-11 18:10:40 UTC
-+++ scripts/Makefile.autoconf
-@@ -27,7 +27,7 @@ include scripts/Kbuild.include
- # Need to define CC and CPP again here in case the top Makefile did not
- # include config.mk. Some architectures expect CROSS_COMPILE to be defined
- # in arch/$(ARCH)/config.mk
--CC = $(CROSS_COMPILE)gcc
-+CC = $(CROSS_COMPILE)cc
- CPP = $(CC) -E
-
- include config.mk

File Metadata

Mime Type
text/plain
Expires
Sat, Apr 4, 7:09 PM (4 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30836832
Default Alt Text
D13543.id36762.diff (2 KB)

Event Timeline